summaryrefslogtreecommitdiff
path: root/gladeui
Commit message (Collapse)AuthorAgeFilesLines
* Rolling 3.3.2GLADE_3_3_2Tristan Van Berkom2007-07-231-2/+0
| | | | | | | * NEWS, configure.ac: Rolling 3.3.2 svn path=/trunk/; revision=1505
* - Fixed order in which we setup packing actions when adding/replacingTristan Van Berkom2007-07-231-5/+27
| | | | | | | | | | | * gladeui/glade-widget.[ch]: - Fixed order in which we setup packing actions when adding/replacing widgets in * plugins/gtk+/glade-gtk.c, plugins/gtk+/gtk+.xml.in: - Added a "Remove Slot" packing action to delete placeholders from GtkBox (bug 387963) svn path=/trunk/; revision=1504
* Added parent options in placeholder context menus.Tristan Van Berkom2007-07-231-30/+25
| | | | | | | * gladeui/glade-popup.c: Added parent options in placeholder context menus. svn path=/trunk/; revision=1501
* Adding convenience funcs that help with debugging property values inTristan Van Berkom2007-07-232-0/+82
| | | | | | | | | | | | | * gladeui/glade-widget.[ch]: Adding convenience funcs that help with debugging property values in plugins: glade_widget_property_string(), glade_widget_pack_property_string(). * plugins/gtk+/glade-gtk.c, plugins/gtk+/gtk+.xml.in: Reset label/markup/use-underline properties at realize time, this fixes load time glitches with markup and mnemonics (bug 396446). svn path=/trunk/; revision=1500
* remove shadow effectVincent Geddes2007-07-211-1/+3
| | | | | | * remove shadow effect svn path=/trunk/; revision=1499
* - Use cairo instead of GdkGC to draw frame. - Draw slightly darker borderVincent Geddes2007-07-201-28/+34
| | | | | | | | * gladeui/glade-design-layout: - Use cairo instead of GdkGC to draw frame. - Draw slightly darker border to ensure border is visible on some themes. svn path=/trunk/; revision=1497
* fixed memory leaks of description strings in usage ofTristan Van Berkom2007-07-188-29/+112
| | | | | | | | | | | | | | | | | | | * gladeui/glade-command.[ch]: fixed memory leaks of description strings in usage of glade_command_push_group() * gladeui/glade-widget.[ch]: Added convenience apis to set sensitivity on GladeWidgetActions. * gladeui/glade-widget-adaptor.[ch], gladeui/glade-xml-utils.c: Added deep_post_create() vfunc, in this one you must always chain up to the parent. * plugins/gtk+/glade-gtk.c, plugins/gtk+/gtk+.xml.in: Added "Add/Remove" parent feature (bug 343786), implemented types: Alignment, Viewport, Event Box, Frame, Aspect Frame, Scrolled Window, Expander, Table, Horizontal Box, Vertical Box, Horizontal Panes, Vertical Panes svn path=/trunk/; revision=1492
* translate action name in gwa_action_update_from_node()Juan Pablo Ugarte2007-07-181-14/+26
| | | | | | * gladeui/glade-widget-adaptor.c: translate action name in gwa_action_update_from_node() svn path=/trunk/; revision=1490
* Do not override GtkWidget::event(). Ensures that child widgets onlyVincent Geddes2007-07-181-86/+59
| | | | | | | * gladeui/glade-design-layout.c: Do not override GtkWidget::event(). Ensures that child widgets only receive events when necessary. svn path=/trunk/; revision=1489
* Make header file look pretty.Vincent Geddes2007-07-181-5/+5
| | | | | | * gladeui/glade-design-layout.h: Make header file look pretty. svn path=/trunk/; revision=1488
* Dont connect event handlers to child objects of fixed containers that aregdl-integration-branchpointTristan Van Berkom2007-07-171-1/+5
| | | | | | | | * gladeui/glade-fixed.c: Dont connect event handlers to child objects of fixed containers that are not widgets. svn path=/trunk/; revision=1484
* simplified displayable value message inJuan Pablo Ugarte2007-07-171-39/+3
| | | | | | | * gladeui/glade-property-class.c: simplified displayable value message in gpc_get_displayable_values_from_node() closes #448915 svn path=/trunk/; revision=1483
* Removed glade_app_widget_event() and the "widget-event" signalTristan Van Berkom2007-07-175-84/+37
| | | | | | | | | | | | | | | | * gladeui/glade-app.[ch]: Removed glade_app_widget_event() and the "widget-event" signal * gladeui/glade-design-layout.c: Expose glade_design_layout_widget_event() to be used internally by GladeWidget (no longer listening to "widget-event" signal on glade-app). * gladeui/glade-widget.c: glade_widget_event_private() Find the parenting GladeDesignLayout and dispatch the event through glade_design_layout_widget_event() (this fixes multiple projects recieving the same events, bug 456013). svn path=/trunk/; revision=1481
* untranslate the "half translated" warning message inTristan Van Berkom2007-07-171-1/+1
| | | | | | | | * gladeui/glade-widget-adaptor.c: untranslate the "half translated" warning message in gwa_displayable_values_check(). svn path=/trunk/; revision=1480
* Update to use G_DEFINE_TYPE macros. Removed the manual peeks to get theBINDINGS_BRANCHPOINTVincent Geddes2007-07-124-106/+66
| | | | | | | | | | * gladeui/glade-widget.c gladeui/glade-design-layout.c gladeui/glade-placeholder.c gladeui/glade-placeholder.h: Update to use G_DEFINE_TYPE macros. Removed the manual peeks to get the parent class. svn path=/trunk/; revision=1465
* added gwa_displayable_values_check() and use it to check for displayableJuan Pablo Ugarte2007-07-122-20/+30
| | | | | | | | | | | | | | | | | | | | * gladeui/glade-widget-adaptor.c: added gwa_displayable_values_check() and use it to check for displayable values in enums and flags properties in glade_widget_adaptor_from_catalog() this way we can check every properties not only the ones that are explicited in the catalog. * gladeui/glade-property-class.c: removed displayable values check from glade_property_class_update_from_node() * plugins/gtk+/gtk+.xml.in: added displayable values for GtkToolbar::icon-size GtkLabel::wrap-mode GtkIconView::selection-mode, orientation GtkRange::lower-stepper-sensitivity, upper-stepper-sensitivity GtkRuler::metric GtkList::selection-mode GtkCList::shadow-type, selection-mode, sort-type svn path=/trunk/; revision=1462
* s/GLADE_CREATE_REASON/GLADE_TYPE_CREATE_REASON/.Vincent Geddes2007-07-111-1/+1
| | | | | | * gladeui/glade-widget-adaptor.h: s/GLADE_CREATE_REASON/GLADE_TYPE_CREATE_REASON/. svn path=/trunk/; revision=1452
* Ref project when adding it to the app.Vincent Geddes2007-07-111-0/+2
| | | | | | | * gladeui/glade-app.c (glade_app_add_project): Ref project when adding it to the app. svn path=/trunk/; revision=1449
* Removed bindings framework since now all binding work will be doneJuan Pablo Ugarte2007-07-118-359/+9
| | | | | | in the branch until we have a proper framework and a full implementation (python) svn path=/trunk/; revision=1447
* fix bug with regards to setting the project as unmodified when undoing theVincent Geddes2007-07-101-16/+32
| | | | | | | | * gladeui/glade-project: fix bug with regards to setting the project as unmodified when undoing the command that caused the first unsaved command. svn path=/trunk/; revision=1444
* Initialize threading system (#406039).Vincent Geddes2007-07-091-2/+2
| | | | | | | | | * configure.ac, src/main.c: Initialize threading system (#406039). * gladeui/glade-project.c: Remove user name and host from comment in glade file (#453174). svn path=/trunk/; revision=1441
* skip properties that are not readable in glade_property_load_impl() (fixesJuan Pablo Ugarte2007-07-061-1/+2
| | | | | | | | | | * gladeui/glade-property.c: skip properties that are not readable in glade_property_load_impl() (fixes #453107 and #453111) * plugins/gtk+/gtk+.xml.in: added default value to GtkLinkButton::uri property fixes #453110 svn path=/trunk/; revision=1435
* Fix some mishandled dgettext operations (#453105).Vincent Geddes2007-07-041-29/+69
| | | | | | | | * gladeui/glade-property-class.c (glade_property_class_update_from_node), (gpc_get_displayable_values_from_node): Fix some mishandled dgettext operations (#453105). svn path=/trunk/; revision=1434
* New method glade_app_new().Vincent Geddes2007-07-042-0/+9
| | | | | | | | | | * gladeui/glade-app.h, gladeui/glade-app.c: New method glade_app_new(). * src/glade-project-window.h, src/glade-project-window.c: Renamed to glade-window.h and glade-window.c respectively. GladeWindow now subclasses GtkWindow instead of GladeApp (#449928). svn path=/trunk/; revision=1433
* set glade_widget_adaptor_child_verify_property() value parameter asJuan Pablo Ugarte2007-07-033-9/+28
| | | | | | | | | | * gladeui/glade-widget-adaptor.[ch]: set glade_widget_adaptor_child_verify_property() value parameter as constant. * gladeui/glade-property.c: added packing property verify check in glade_property_set_value_impl(). svn path=/trunk/; revision=1431
* Upgrade to g_slice_new().Vincent Geddes2007-07-031-5/+7
| | | | | | | | | * gladeui/glade-binding.c: Upgrade to g_slice_new(). * bindings/python/glade-python.c: Run garbage collector before finalizing interpreter. Use Py_InitializeEx() instead of Py_Initialize() (#453104). svn path=/trunk/; revision=1430
* Properly handle dgettext() operations (#453105, Christian Persch).Vincent Geddes2007-07-022-11/+25
| | | | | | | | | | * gladeui/glade-catalog.c, gladeui/glade-widget-adaptor.c: Properly handle dgettext() operations (#453105, Christian Persch). * gladeui/glade-binding.c (glade_binding_load_all): Close GDir when finished reading. svn path=/trunk/; revision=1425
* Properly handle dgettext() operations (#453105, Christian Persch).Vincent Geddes2007-07-022-8/+17
| | | | | | | * gladeui/glade-catalog.c: Properly handle dgettext() operations (#453105, Christian Persch). svn path=/trunk/; revision=1424
* Revert last change. Do not free catalogs in finalize as a result ofVincent Geddes2007-07-021-1/+2
| | | | | | | * gladeui/glade-app.c: Revert last change. Do not free catalogs in finalize as a result of #453105. svn path=/trunk/; revision=1423
* Add glade_catalog_destroy_all(). Use g_slice_new() for mem allocation.Vincent Geddes2007-07-014-143/+173
| | | | | | | | | * gladeui/glade-catalog.h, gladeui/glade-catalog.c: Add glade_catalog_destroy_all(). Use g_slice_new() for mem allocation. * gladeui/glade-app.c: Free catalogs in finalize. svn path=/trunk/; revision=1421
* s/has-unsaved-changes/modified/Vincent Geddes2007-06-291-2/+2
| | | | | | * gladeui/glade-project.c: s/has-unsaved-changes/modified/ svn path=/trunk/; revision=1417
* Rename glade_project_get_has_unsaved_changes() toVincent Geddes2007-06-292-59/+102
| | | | | | | | | | | * gladeui/glade-project.c, gladeui/glade-project.h: Rename glade_project_get_has_unsaved_changes() to glade_project_get_modified(). Set "modified" to FALSE if we undo the command that caused the first unsaved modification in a project (#392324). * src/glade-project-window.c: Update for API changes in GladeProject. svn path=/trunk/; revision=1416
* Moved gladeui/fixed_bg.xpm to plugins/gtk+/fixed-bg.xpm. The graphic isVincent Geddes2007-06-292-19/+1
| | | | | | | | * gladeui/fixed_bg.xpm, gladeui/Makefile.am, plugins/gtk+/Makefile.am: Moved gladeui/fixed_bg.xpm to plugins/gtk+/fixed-bg.xpm. The graphic is only used by the GTK+ plugin. svn path=/trunk/; revision=1414
* HIGify query dialog.Vincent Geddes2007-06-281-4/+23
| | | | | | * gladeui/glade-editor.h: HIGify query dialog. svn path=/trunk/; revision=1411
* Set log domains "GladeUI-GTK" and "GladeUI-GNOME" respectively.Vincent Geddes2007-06-282-13/+15
| | | | | | | * plugins/gtk+/Makefile.am, plugins/gnome/Makefile.am: Set log domains "GladeUI-GTK" and "GladeUI-GNOME" respectively. svn path=/trunk/; revision=1410
* Simplify GladeItemAppearance enumVincent Geddes2007-06-281-1/+1
| | | | | | * Simplify GladeItemAppearance enum svn path=/trunk/; revision=1409
* Move GladeItemAppearance enum from glade-palette-item.h to glade-palette.hVincent Geddes2007-06-284-12/+7
| | | | | | | | | | * gladeui/glade-palette.h, gladeui/glade-palette-item.h: Move GladeItemAppearance enum from glade-palette-item.h to glade-palette.h (so it is visible in the docs). * src/glade-project-window.c (check_reload_project): Set alternatibe button order on message dialog. svn path=/trunk/; revision=1408
* gladeui/glade-popup.[ch] - added packing actions to placeholdersJuan Pablo Ugarte2007-06-279-27/+56
| | | | | | | | | | | | | | | | | | | | | | | * gladeui/glade-popup.[ch] - added packing actions to placeholders * gladeui/glade-widget-action.[ch]: added "important" flag to GWActionClass * gladeui/glade-widget-adaptor.[ch]: - parse important tag in gwa_action_update_from_node() - added new "important" parameter to glade_widget_adaptor_pack_action_add() and glade_widget_adaptor_action_add() * gladeui/glade-xml-utils.h: addded GLADE_TAG_IMPORTANT tag * plugins/gtk+/gtk+.xml.in: marked launch_editor actions as important * gladeui/glade-inspector.c: make inspector popup include only normal actions. * src/glade-project-window.c: added important actions to the toolbar. svn path=/trunk/; revision=1403
* print a message for missing displayable values inJuan Pablo Ugarte2007-06-261-28/+82
| | | | | | | | | | | | | * gladeui/glade-property-class.c: print a message for missing displayable values in glade_property_class_update_from_node() and gpc_get_displayable_values_from_node() * plugins/gtk+/glade-gtk.c: removed inline displayable values in glade_gtk_image_type_get_type() and glade_gtk_button_type_get_type() * plugins/gtk+/gtk+.xml.in: added missing displayable values in GtkToolButton::glade-type, GtkButton::glade-type, GtkImage::glade-type and GtkArrow::arrow-type svn path=/trunk/; revision=1398
* Cygwin build fixes. Only apply "-mwindows" ld flag if we are in unstableVincent Geddes2007-06-261-2/+6
| | | | | | | | | * src/Makefile.am configure.ac gladeui/Makefile.am: Cygwin build fixes. Only apply "-mwindows" ld flag if we are in unstable development. svn path=/trunk/; revision=1397
* Set log domain for libgladeui to "GladeUI".Vincent Geddes2007-06-241-0/+1
| | | | | | * gladeui/Makefile.am: Set log domain for libgladeui to "GladeUI". svn path=/trunk/; revision=1391
* Fix "missing prototype" errors reported by gcc due to increased warningVincent Geddes2007-06-2114-30/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * plugins/gnome/glade-gnome.h, plugins/gtk+/glade-gtk.c plugins/gtk+/glade-gtk.h plugins/gtk+/Makefile.am, plugins/gnome/glade-gnome.c, plugins/gnome/Makefile.am, src/glade-project-window.c, gladeui/glade-editor-property.c, gladeui/glade-parameter.c, gladeui/glade-widget.c, gladeui/glade-command.c, gladeui/glade-palette.c, gladeui/glade-utils.c, gladeui/glade-accumulators.c, gladeui/glade-palette.h, gladeui/glade-binding.h, gladeui/glade-app.c, gladeui/glade-property.c, gladeui/glade-builtins.c, gladeui/glade-project.c, gladeui/Makefile.am: Fix "missing prototype" errors reported by gcc due to increased warning level (-Wmissing-prototypes). Added glade-gnome.h with function prototypes as well. svn path=/trunk/; revision=1384
* Use gnome-common macro for WARN_CFLAGS. Bug #399134.Christian Persch2007-06-211-3/+3
| | | | | | | | | | | | | | 2007-06-21 Christian Persch <chpe@gnome.org> * bindings/python/Makefile.am: * configure.ac: * gladeui/Makefile.am: * plugins/gnome/Makefile.am: * plugins/gtk+/Makefile.am: * src/Makefile.am: Use gnome-common macro for WARN_CFLAGS. Bug #399134. svn path=/trunk/; revision=1382
* Misc cleanups.Vincent Geddes2007-06-213-19/+10
| | | | | | * gladeui/glade-app.[ch], gladeui/glade-widget-adaptor.c: Misc cleanups. svn path=/trunk/; revision=1381
* Remember notebook page when reconstructing (Fixes bug 394382)Tristan Van Berkom2007-06-212-0/+3
| | | | | | | | * plugins/gtk+/glade-gtk.c: Remember notebook page when reconstructing (Fixes bug 394382) svn path=/trunk/; revision=1378
* Set up documentation for GladeInspector.Vincent Geddes2007-06-202-7/+27
| | | | | | | | | | | | * doc/gladeui-docs.sgml, doc/gladeui.types, doc/gladeui-sections.txt, doc/tmpl/glade-inspector.sgml: Set up documentation for GladeInspector. * po/POTFILES.in: Add glade-inspector.c * gladeui/glade-inspector.[ch]: Add convenience function `glade_inspector_new_with_project()'. svn path=/trunk/; revision=1374
* added extra check in project_remove_widget_cb() iter could be NULL!Juan Pablo Ugarte2007-06-201-4/+5
| | | | | | | * gladeui/glade-inspector.c: added extra check in project_remove_widget_cb() iter could be NULL! svn path=/trunk/; revision=1371
* New Inspector implementation. - The Inspector no longer records sessionVincent Geddes2007-06-208-1053/+873
| | | | | | | | | | | | | | | | | * gladeui/glade-inspector.[ch]: New Inspector implementation. - The Inspector no longer records session data. - GtkTreeModel of inspector is now synchronised with project data in an incremental fashion, instead of being totally rebuilt on changes. * gladeui/glade-project-view.[ch]: Removed. * gladeui/glade-app.[ch]: Remove glade_app_add_project_view(). Inspectors are now managed by the frontend. * src/glade-project-window: A unique GladeInspector is associated with each open project. These inspectors are stored in a GtkNotebook. svn path=/trunk/; revision=1370
* fixing compile warning.Tristan Van Berkom2007-06-201-6/+4
| | | | svn path=/trunk/; revision=1369
* - Added Drag/Resize button in the toolbarTristan Van Berkom2007-06-2011-39/+153
| | | | | | | | | | | | | | | | | | * src/glade-project-window.c: - Added Drag/Resize button in the toolbar * gladeui/glade-design-layout.c: More reliable pointer handling * gladeui/glade-app.c: New pointer-mode property * gladeui/glade-fixed.c, gladeui/glade-placeholder.c, gladeui/glade-palette.c: Use pointer-mode to set pointer interaction mode * gladeui/glade-builtins.c: Added trailing end marker on the stock list enum paramspec. svn path=/trunk/; revision=1368