1. 28 Jan, 2011 1 commit
    • Tristan Van Berkom's avatar
      * gladeui/glade-xml-utils.h, gladeui/glade-widget-adaptor.[ch], gladeui/glade-widget.[ch]: · 379eb295
      Tristan Van Berkom authored
      	  Added <add-child-verify-function> semantics to query the plugin if it's ok to add
      	  a said "child" to an adaptors widget "parent" and warn the user about it in context.
      
      	* gladeui/glade-project.c: Check glade_widget_add_verify() when pasting widgets
      
      	* gladeui/glade-command.c: Check glade_widget_add_verify() from glade_command_create()
      
      	* gladeui/glade-popup.c: Allow "Add widget here" action to appear for any project object
      	  and rely on glade_command_create() to warn the user via glade_widget_add_verify() if
      	  adding the widget fails.
      
      	* plugins/gtk+/glade-gtk.c, plugins/gtk+/gtk+.xml.in: Added <add-child-verify-function> support to
      	GtkContainer, GtkMenuShell, GtkMenuItem, GtkToolBar, GtkToolItem, GtkToolPalette, GtkToolItemGroup,
      	GtkActionGroup, GtkTextTagTable adaptors.
      379eb295
  2. 23 Jan, 2011 1 commit
    • Juan Pablo Ugarte's avatar
      2011-01-13 Juan Pablo Ugarte <juanpablougarte@gmail.com> · 93195df1
      Juan Pablo Ugarte authored
        * gladeui/glade-widget-adaptor.c: added GtkWidget::event signal clash override
          for every registered class to marshal events to the corresponding GladeDesignLayout
      
        * gladeui/glade-design-layout.[ch]:
          o added new function derived from glade_design_layout_widget_event(),
            glade_design_layout_do_event() to marshall events from the override class handler
          o removed placeholder from glade_design_layout_find_inside_container()
      
        * gladeui/glade-widget.[ch]: moved IS_GLADE_WIDGET_EVENT macro to header.
      93195df1
  3. 07 Jan, 2011 1 commit
  4. 05 Jan, 2011 1 commit
    • Tristan Van Berkom's avatar
      * gladeui/glade-widget-action.[ch], gladeui/glade-widget-adaptor.c, gladeui/glade-widget.[ch], · 0b47674c
      Tristan Van Berkom authored
      	gladeui/glade-popup.c, plugins/gtk+/glade-gtk.c, src/glade-window.c:
      	- Privatized members of GladeWidgetAction
      	- Created glade_widget_action_class_new() and some accessors for better code in
      	  the adaptor
      	- GWActionClass is now on the slice allocator
      	- Added glade_widget_action_set/get_visible()
      	- Removed glade_widget_remove[_pack]_action()
      	- Plugin makes actions invisible instead of removing them
      	- Everything updated for new sealed api
      0b47674c
  5. 04 Jan, 2011 1 commit
  6. 01 Jan, 2011 2 commits
  7. 30 Dec, 2010 2 commits
  8. 20 Dec, 2010 1 commit
  9. 17 Dec, 2010 1 commit
    • Tristan Van Berkom's avatar
      * gladeui/glade-app.[ch]: Added glade_app_queue_selection_changed() · 45d30477
      Tristan Van Berkom authored
      	* gladeui/glade-command.c: queue selection changes when widgets are added, this
      	  avoids synchrounously poking the model when the selection changes various times
      	  in a command sequence such as changing a menu item's type.
      
      	* gladeui/glade-base-editor.c: Dont call glade_command_create/delete() directly
      	  in change-type, keep delegating this work to build-child/delete-child signals.
      
      	* gladeui/glade-widget.[ch]: Added glade_widget_is_ancestor()
      
      	* gladeui/glade-utils.c: Change glade_util_find_iter_by_widget() to use
      	  glade_widget_is_ancestor() and speed up searches a little this way.
      45d30477
  10. 16 Dec, 2010 1 commit
  11. 15 Dec, 2010 1 commit
    • Tristan Van Berkom's avatar
      * gladeui/glade-widget.[ch], gladeui/glade-project.c, plugins/gtk+/glade-gtk.c: Cleanup · 6b3a5ec9
      Tristan Van Berkom authored
      	  object ref count cycles, now GladeProject just releases all widgets from the project
      	  and keeps a reference to the GladeWidget instead of the GObject, GladeWidget is now
      	  GInitiallyUnowned and GladeProject assumes ownership when objects are added to the
      	  project (glade-gtk.c in this patch avoids needlessly adding a widget to the project
      	  that will be implicitly added, now glade-gtk.c does not directly manually add any
      	  widgets to the project).
      6b3a5ec9
  12. 06 Jul, 2010 1 commit
  13. 14 May, 2010 1 commit
  14. 29 Mar, 2010 1 commit
    • Tristan Van Berkom's avatar
      * gladeui/glade-editor-property.[ch]: · 845366bc
      Tristan Van Berkom authored
      	  - Give object dialogs a bigger default size and hide the column headers
      
      	* gladeui/glade-signal-editor.c:
      	  - Now show an icon and tooltip in rows for signals that are only
      	    supported in the future, refresh them when support changes.
      
      	* gladeui/glade-widget-adaptor.h, gladeui/glade-property-class.h: Added some version checking macros.
      
      	* gladeui/glade-signal.[ch]: Add support warning meta data to signals
      
      	* gladeui/glade-project.c:
      	  - Simplify code with new version checking macros
      	  - Do the verify on signals for widgets as well as project warnings
      	    (update the signals a verify time).
      
      	* gladeui/glade-widget.c: GladeWidget takes a new "support-changed" to broadcast support changes
      	  on the widget.
      
      	* gladeui/glade-signal-editor.c:
      845366bc
  15. 25 Mar, 2009 1 commit
    • Tristan Van Berkom's avatar
      Fixed Mal-ordering of atk properties, signals and accelerators in Libglade · 9a971932
      Tristan Van Berkom authored
      
      	Fixed Mal-ordering of atk properties, signals and accelerators in
      	Libglade format output.
      	
      	* gladeui/glade-widget.[ch]: Now export glade_widget_write_signals(),
      	only write signals from the core when in builder format.
      
      	* plugins/gtk+/glade-gtk.c: glade_gtk_widget_write_widget(), write
      	properties out as "properties -> atk -> signals -> accelerators when
      	in libglade format, leave signals to core when in builder format.
      
      
      svn path=/trunk/; revision=2178
      9a971932
  16. 05 Jan, 2009 1 commit
  17. 23 Nov, 2008 1 commit
    • Tristan Van Berkom's avatar
      Now add/remove parentless widget props from the project in · a10762dc
      Tristan Van Berkom authored
      
      	* gladeui/glade-command.c: Now add/remove parentless widget props from the project in 
      	  command_add/remove.
      
      	* gladeui/glade-widget.c: 
      	  - glade_widget_dup_properties/glade_widget_copy_properties take 2 new args, whether copy
      	    parentless widget properties or not, and whether to copy them exactly or not.
      	  - added glade_widget_get_parentless_reffed_widgets() to return a list of reffed parentless
      	    widgets.
      
      
      svn path=/trunk/; revision=2045
      a10762dc
  18. 31 Oct, 2008 1 commit
    • Tristan Van Berkom's avatar
      Added glade_widget_[un]lock() and glade_command_[un]lock_widget(). · 1e70cf40
      Tristan Van Berkom authored
      
      	* gladeui/glade-widget.[ch], gladeui/glade-command.[ch]: Added
      	glade_widget_[un]lock() and glade_command_[un]lock_widget().
      
      	* plugins/gtk+/glade-gtk.c, plugins/gtk+/gtk+.xml.in, plugins/gtk+/glade-convert.c,
      	plugins/gtk+/glade-image-item-editor.c: Dual format menu editing support
      	depending on my gtk+ patch on bug 527672, TODO: still need to add accel-groups
      	to GtkWindow on the glade side of things.
      
      
      svn path=/trunk/; revision=2013
      1e70cf40
  19. 28 Oct, 2008 2 commits
    • Tristan Van Berkom's avatar
      Rewrote GtkLabel implementation from top to bottom with custom editor (now · 68a6386f
      Tristan Van Berkom authored
      
      	* plugins/gtk+/glade-label-editor.[ch], plugins/gtk+/Makefile.am,
      	plugins/gtk+/gtk+.xml.in, plugins/gtk+/glade-gtk.c: Rewrote GtkLabel implementation from 
      	top to bottom with custom editor (now all those conflicting properties are dummy proofed) 
      	
      
      
      svn path=/trunk/; revision=2010
      68a6386f
    • Tristan Van Berkom's avatar
      Reimplemented GtkMenuItem and subclasses from top to bottom · e86dd963
      Tristan Van Berkom authored
      
      	* plugins/gtk+/gtk+.xml.in, plugins/gtk+/glade-gtk.c: 
      	Reimplemented GtkMenuItem and subclasses from top to bottom
      
      	* plugins/gtk+/glade-image-item-editor.[ch], plugins/gtk+/Makefile.am:
      	New GtkImageMenuItem editor (that embeds the child image editor when needed)
      
      	* gladeui/glade-command.[ch]: Added glade_command_[un]protect_widget()
      
      	* gladeui/glade-widget.[ch]: Added glade_widget_[un]protect()
      	protected widgets come with a message and cannot be manually deleted
      	from the project.
      
      	* plugins/gtk+/glade-image-editor.c, plugins/gtk+/glade-button-editor.c,
      	plugins/gtk+/glade-tool-button-editor.c, gladeui/glade-editor-table.c:
      	Fixed to:
      	- not reffer to child editables in finalize
      	- always removed external signals and weak references from finalize
      
      	* gladeui/glade-base-editor.c: Fixed to allow properties expand/fill
      	in both label and entry.
      
      
      svn path=/trunk/; revision=2006
      e86dd963
  20. 25 Oct, 2008 1 commit
    • Tristan Van Berkom's avatar
      Ignore parent-changes on internal widgets (that causes problems when · d8370a0b
      Tristan Van Berkom authored
      
      	* plugins/gtk+/glade-gtk.c: Ignore parent-changes on internal widgets (that
      	causes problems when internal widgets get destroyed at project close time).
      
      	* plugins/gtk+/glade-button-editor.c: Fixed custom/standard commands,
      	now standard mode sets up a default label etc also.
      
      	* gladeui/glade-project.c, gladeui/glade-property.c, gladeui/glade-widget.c,
      	gladeui/glade-property-class.[ch], gladeui/glade-xml-utils.h:
      	Removed hack for GtkToolButton:icon --> iconfactory (will do in glade-convert.c
      	properly).
      
      
      svn path=/trunk/; revision=2000
      d8370a0b
  21. 21 Oct, 2008 1 commit
    • Tristan Van Berkom's avatar
      Implement property lookups with a hash table, fixed mem leaks · 96a3fe3b
      Tristan Van Berkom authored
      
      	* gladeui/glade-widget.c: Implement property lookups with a hash table, fixed mem leaks
      
      	* gladeui/glade-property.c: Read properties from the passed node directly, fixed mem leaks
      
      	* gladeui/glade-widget-adaptor.c: Read properties in the order they are listed in the file, 
      	not by the order of the properties in the object (helps load performance).
      
      	* gladeui/glade-project.c: Fixed mem leaks, release widget property references before
      	destroying all the glade widgets.
      
      
      svn path=/trunk/; revision=1985
      96a3fe3b
  22. 22 Sep, 2008 1 commit
    • Tristan Van Berkom's avatar
      Fixed adjustments when values are null in libglade mode · 3e54b226
      Tristan Van Berkom authored
      
      	* gladeui/glade-editor-property.c: Fixed adjustments when values are null in
      	libglade mode
      
      	* plugins/gtk+/gtk+.xml.in: Reorganized groups, added some more metadatas
      
      	* plugins/gtk+/glade-convert.c: 
      	  - Convert "text" property of TextView to a textbuffer and text property 
      	    in builder format.
      	  - Convert "tooltip" <--> "tooltip-text"
      	
      	* gladeui/glade-popup.c, gladeui/glade-inspector.c: enhanced menu for 
      	inspector empty spots (paste toplevels)
      
      	* gladeui/glade-editor-property.c: Adjustments in libglade had bugs, hardcoded
      	default values here and made sure object is NULL on default.
      
      	* gladeui/glade-widget.[ch]: Removed glade_widget_project_notify()
      
      	* gladeui/glade-command.c: 
      	  - glade_command_remove() implicitly makes commands to unset any properties 
      	    reffering to the object being removed from the project.
      	  - project conversions now cleanup unsupported widgets/properties
      
      	* gladeui/glade-palette.c, gladeui/glade-app.c: Moved toplevel widget creation
      	code from gladeapp to gladepalette.
      
      
      svn path=/trunk/; revision=1955
      3e54b226
  23. 20 Sep, 2008 1 commit
    • Tristan Van Berkom's avatar
      Updated. · d1fb1d2b
      Tristan Van Berkom authored
      
      	* TODO: Updated.
      
      	* plugins/gtk+/gtk+.xml.in: 
      	  - Added sizegroup support stuff
      
      	* plugins/gtk+/glade-gtk.c: 
      	  - Added GtkWidgetClass support for add to size group
      	    action with dynamic submenu
      	  - added sizegroup virtual "widgets" property
      	  - added custom load/save support for "widgets" property
      
      	* gladeui/glade-popup.c: Added support for dynamic action submenus
      
      	* gladeui/glade-widget-adaptor.[ch], gladeui/glade-xml-utils.h: Added
      	  GladeActionSubmenuFunc backend support for creation of dynamic
      	  action submenus.
      
      	* gladeui/glade-widget.[ch] removed deadcode glade_widget_create_action_menu()
      
      	* gladeui/glade-project.c: Added readonly "format" property
      
      
      svn path=/trunk/; revision=1940
      d1fb1d2b
  24. 18 Sep, 2008 1 commit
    • Tristan Van Berkom's avatar
      - Show glade widgets in the workspace on selection changes in the project · 745b2193
      Tristan Van Berkom authored
      
      	* src/glade-window.c: 
      	  - Show glade widgets in the workspace on selection changes in the project 
      	    and not on item-activated.
      	  - Rename "Dock Editor" -> "Dock Properties" as per bug 487613.
      	
      	* gladeui/glade-design-layout.c: Fixed expose event to chain to parent class
      	  after drawing an orange box (non window widgets are usualy GTK_NO_WINDOW).
      
      	* gladeui/glade-widget.c: Made glade_widget_show() show the toplevel of any
      	  GtkWidget object, also now shows toplevel non window glade widgets in the
      	  workspace, if the widget is referenced by a property that as a result parents
      	  the widget (i.e. bears a "parentless-widget" property reference), then the
      	  referencing widget is shown instead.
      
      	* gladeui/glade-popup.c: Added devhelp icon to documentation menu item, added
      	  docs icon to normal menu.
      
      
      svn path=/trunk/; revision=1928
      745b2193
  25. 16 Sep, 2008 1 commit
    • Pavel Kostyuchenko's avatar
      Creating toplevel widget through unified glade-palette interface. Removed · 7a250eda
      Pavel Kostyuchenko authored
      2008-09-16  Pavel Kostyuchenko <ShprotX@gmail.com>
      
              * gladeui/glade-app.c:
                Creating toplevel widget through unified glade-palette interface.
                Removed error message when pasting non-toplevel widgets without
                a parent.
      
              * gladeui/glade-command.h: A new function for getting depth of command recursion
      
              * gladeui/glade-command.c:
                A new function for getting depth of command recursion.
                A return value of glade_command_set_property_execute function is valid
                and is respected by glade_command_set_properties_list.
                indicate success/failure of their execution.
                Glade-command can be unified to null.
                Setting property command is always executed as a group, so if there is
                any recursive command, they will be added to that group.
                Removed parentless widget message level lowered from critical to
                message.
                Widget is treated as toplevel only if it has no parent.
                Removed an assertion from glade_command_create that doesn't allow
                creation of non-GtkWindow parentless widgets
      
              * gladeui/glade-editor-property.c:
                Object selection dialog will be optionally filled by parentless
                non-GtkWindow widgets only
                Unparenting root widgets before setting another property to them
      
              * gladeui/glade-inspector.c:
                Popup for clicking even on empty part of widget list
      
              * gladeui/glade-palette.h:
                A unified function for creating root widgets
      
              * gladeui/glade-palette.c:
                A unified function for creating root widgets
                A new button for creating root widgets
      
              * gladeui/glade-placeholder.[ch]:
                glade_placeholder_get_project has been made public for using in
                glade-popup
      
              * gladeui/glade-popup.c:
                A new function glade_popup_simple_pop for creating a context menu on
                an empty space of glade-inspector
                New context menu items for adding widgets
      
              * gladeui/glade-popup.h:
                A new function glade_popup_simple_pop for creating a context menu on
                an empty space of glade-inspector
      
              * gladeui/glade-project.c:
                Unifying command even if there's redo items.
                Unifying atomic commands only.
                Unifying to null
      
              * gladeui/glade-property-class.[ch]:
                A new field for making properties that points to parentless widgets
      
              * gladeui/glade-property.h:
                Added a return value to glade_property_set* functions to indicate
                success/failure that is used in glade-command
      
              * gladeui/glade-property.c:
                Ignoring parentless_widget properties while duplicating properties.
                Additional check while adding/removing property reference
                Added a return value to glade_property_set* functions to indicate
                success/failure that is used in glade-command.
                Determining that property is changed using glade-proproperty method
                instead of direct comparing GValue.
                Loading properties through glade-widget-adaptor interface instead of
                getting them directly.
                remove_object method now unsets referencing property instead of
                setting it.
                Removed dummy duplicated setting of property while unsetting
                referencing property.
      
              * gladeui/glade-property.h:
                Added a return value to glade_property_set* functions to indicate
                success/failure that is used in glade-command.
      
              * gladeui/glade-widget.c:
                Removed setting widget properties to template/default values while
                building a new object, because they will be set later in constructor.
                Reloading properties after duplicating a widget.
                A new function for removing parent reference, that was made by setting
                parentless_widget property to the widget.
                Saving and loading parentless_widget properties while rebuilding,
                because they cannot be duplicated.
                Corrected destroying of an old widget while rebuilding. Seems like
                it's not fully correct still.
      
              * gladeui/glade-widget.h:
                A new function for removing parent reference, that was made by setting
                parentless_widget property to the widget.
      
              * gladeui/glade-xml-utils.h:
                A new tag "parentless-widget" as a property attribute
      
              * plugins/gtk+/glade-gtk.c, plugins/gtk+/gtk+.xml.in:
                Removed an old hack for "image" property of GtkMessageDialog.
                A new implementation of "image" property using parentless_widget
                kind of property.
                Added an ability of working with parentless widgets using
                "remove parent" and "add parent" items of context menu
      
      
      svn path=/trunk/; revision=1908
      7a250eda
  26. 12 Apr, 2008 1 commit
    • Tristan Van Berkom's avatar
      Fixed invisible labels in the menu editor. · d1f3913c
      Tristan Van Berkom authored
      
      	* gladeui/glade-editor-property.c: Fixed invisible labels in
      	the menu editor.
      
      	* gladeui/glade-widget.c, gladeui/glade-widget.h, gladeui/glade-xml-utils.c,
      	gladeui/glade-utils.c, gladeui/glade-xml-utils.h, gladeui/glade-utils.h,
      	gladeui/glade-property.c, gladeui/glade-property-class.c,
      	gladeui/glade-property-class.h, gladeui/glade-project.c, gladeui/glade-project.h:
      	implemented "factory-stock-id" in the catalog, this allows you to take a resource
      	image file property formerly hacked as a custom property in libglade, and glade
      	will generate a hidden icon factory in builder files so that it will be loaded
      	through the stock system instead, "factory-stock-id" depicts the name of the
      	stock property of the property-class in question.
      
      
      svn path=/trunk/; revision=1796
      d1f3913c
  27. 10 Apr, 2008 1 commit
    • Tristan Van Berkom's avatar
      Loaded and watched the new support_warning on GladeWidget · 2606b29f
      Tristan Van Berkom authored
      
      	* gladeui/glade-editor.c, gladeui/glade-editor.h:
      	Loaded and watched the new support_warning on GladeWidget
      
      	* gladeui/glade-editor-property.c, gladeui/glade-editor-property.h:
      	Loaded and watched the new support_warning on GladeProperty
      	
      	* gladeui/glade-widget.c, gladeui/glade-widget.h: Keep a support-warning
      	property around as metadata updated by GladeProject.
      
      	* gladeui/glade-property.c, gladeui/glade-property.h:
      	Added new support_warning and state properties.
      
      	* gladeui/glade-project.c, gladeui/glade-project.h:
      	Now GladeProject generates strings to show in the normal
      	UI along with longer style reports, always updates widgets
      	warning message metadata when they come into the project 
      	or when the format or target versions change.
      
      	* gladeui/glade-signal.c: Removed a bogus return.
      
      
      svn path=/trunk/; revision=1788
      2606b29f
  28. 09 Apr, 2008 1 commit
    • Tristan Van Berkom's avatar
      Filled in all since, deprecated and builder-unsupported properties. · 1dd08365
      Tristan Van Berkom authored
      
      	* plugins/gtk+/gtk+.xml.in: Filled in all since, deprecated and
      	  builder-unsupported properties.
      
      	* gladeui/glade-widget.c, gladeui/glade-widget.h, gladeui/glade-widget-adaptor.c,
      	gladeui/glade-command.c, gladeui/glade-widget-adaptor.h,
      	gladeui/glade-utils.h, gladeui/glade-catalog.c, 
      	gladeui/glade-catalog.h, gladeui/glade-app.c, gladeui/glade-app.h, 
      	gladeui/glade-property-class.c, gladeui/glade-property-class.h, 
      	gladeui/glade-project.c, gladeui/glade-project.h:
      	Added versioning support, you can always chose the target version of
      	your project starting with gtk+ 2.8 - a project preferences dialog has
      	been added where you can switch your format, switch your target version
      	and test for incompatabilities. incompatability error dialogs are also
      	launched on save as. Target versions are saved to the glade file; 
      	TODO: patch GtkBuilder to test the required gtk+ version from
      	<requires lib="gtk+" version="2.8"> and at least warn, also let
      	third party widget developers test thier own versions using builder.
      
      	* gladeui/glade-xml-utils.h, gladeui/glade-xml-utils.c: routines
      	for parsing version numbers.
      
      
      	* gladeui/glade-utils.c: glade_util_ui_message() takes a widget to
      	embed arg now.
      
      
      svn path=/trunk/; revision=1780
      1dd08365
  29. 06 Apr, 2008 1 commit
    • Tristan Van Berkom's avatar
      Added basic builder support, format can be chosen via a radiomenuitem in · 3b86d7f0
      Tristan Van Berkom authored
      
      	* gladeui/glade-widget.[ch], gladeui/glade-widget-adaptor.c
      	  gladeui/glade-xml-utils.[ch], gladeui/glade-project.c,
      	  gladeui/glade-property.c, gladeui/glade-signal.c, 
      	  plugins/gtk+/glade-gtk.c, src/glade-window.c:
      	  Added basic builder support, format can be chosen via a
      	  radiomenuitem in the "Edit" menu, currently supports different
      	  names for the interface and widget tags, and saves special
      	  child widgets accordingly (i.e. notebook tabs and frame labels).
      
      
      svn path=/trunk/; revision=1771
      3b86d7f0
  30. 05 Apr, 2008 2 commits
  31. 03 Apr, 2008 1 commit
    • Tristan Van Berkom's avatar
      merging builder branch into trunk · 64bb8141
      Tristan Van Berkom authored
      
      A    plugins/gtk+/glade-keysyms.c
      M    plugins/gtk+/glade-gtk.c
      M    plugins/gtk+/gtk+.xml.in
      A    plugins/gtk+/glade-accels.c
      M    plugins/gtk+/Makefile.am
      A    plugins/gtk+/glade-accels.h
      M    ChangeLog
      M    gladeui/glade-editor.c
      M    gladeui/glade-editor-property.c
      M    gladeui/glade-editor-property.h
      M    gladeui/glade-widget.c
      M    gladeui/glade-widget.h
      M    gladeui/glade-widget-adaptor.c
      M    gladeui/glade-command.c
      M    gladeui/glade-widget-adaptor.h
      M    gladeui/glade-parser.c
      M    gladeui/glade-xml-utils.c
      M    gladeui/glade-base-editor.c
      M    gladeui/glade-utils.c
      D    gladeui/glade-parser.h
      M    gladeui/glade-signal-editor.c
      M    gladeui/glade-xml-utils.h
      D    gladeui/glade-keysyms.c
      M    gladeui/glade-property.c
      M    gladeui/glade-property-class.c
      M    gladeui/glade-property.h
      M    gladeui/glade-builtins.c
      M    gladeui/glade-property-class.h
      M    gladeui/glade-builtins.h
      M    gladeui/glade-project.c
      M    gladeui/glade-signal.c
      M    gladeui/Makefile.am
      M    gladeui/glade-signal.h
      
      svn path=/trunk/; revision=1764
      64bb8141
  32. 23 Jul, 2007 1 commit
    • Tristan Van Berkom's avatar
      Adding convenience funcs that help with debugging property values in · 174a98bd
      Tristan Van Berkom authored
      
      	* 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
      174a98bd
  33. 18 Jul, 2007 1 commit
    • Tristan Van Berkom's avatar
      fixed memory leaks of description strings in usage of · a19c419e
      Tristan Van Berkom authored
      
      	* 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
      a19c419e
  34. 31 May, 2007 1 commit
    • Juan Pablo Ugarte's avatar
      added packing actions to glade_popup_action_populate_menu() · c00489f8
      Juan Pablo Ugarte authored
      * gladeui/glade-popup.c: added packing actions to glade_popup_action_populate_menu()
      
      * gladeui/glade-widget-action.c: fixed a couple of typos in glade_widget_action_constructor()
      
      * gladeui/glade-widget-adaptor.[ch]:
      
        - Added packing actions, just like properties the action tag should be inside an actions or
          packing-actions tag, also you can put an action tag inside other action tag :p
      
        - added GladeChildActionActivatedFunc child_action_activate to GladeWidgetAdaptorClass
      
        - added packing_actions list to GladeWidgetAdaptor
      
        - added new functions:
          glade_widget_adaptor_pack_action_add(), glade_widget_adaptor_pack_action_remove()
          and glade_widget_adaptor_child_action_activate()
      
      * gladeui/glade-widget.[ch]:
      
        - added packing_actions list to GladeWidget
      
        - set packing actions in glade_widget_set_parent()
      
        - added glade_widget_get_pack_action() and glade_widget_remove_pack_action()
      
      * gladeui/glade-xml-utils.h:
      
        - new tags GLADE_TAG_CHILD_ACTION_ACTIVATE_FUNCTION, GLADE_TAG_ACTIONS 
          and GLADE_TAG_PACKING_ACTIONS.
      
        - removed unused tag GLADE_TAG_ACTION_GROUP
      
      * plugins/gtk+/gtk+.xml.in: Added a couple of child packing actions (fixes #438881)
      
        - GtkBox:  insert_before and insert_after
      
        - GtkTable: insert_row/after, insert_row/before, insert_column/after and insert_column/before
      
      * plugins/gtk+/glade-gtk.c: added child-action-activate-function functions
        glade_gtk_box_child_action_activate () and glade_gtk_table_child_action_activate()
      
      svn path=/trunk/; revision=1330
      c00489f8
  35. 23 May, 2007 1 commit
    • Juan Pablo Ugarte's avatar
      added gladeui/glade-widget-action.[ch] · b9d02962
      Juan Pablo Ugarte authored
      * gladeui/Makefile.am: added gladeui/glade-widget-action.[ch]
      
      * gladeui/glade-popup.[ch]:
        - added glade_popup_action_populate_menu()
      
        - adapted popup code to reflect action changes.
      
      * gladeui/glade-widget-action.[ch]: GladeWidgetAction GObject sources.
      
      * gladeui/glade-widget-adaptor.[ch]:
      
        - action-activated signal removed
      
        - added GladeActionActivateFunc
      
        - added glade_widget_adaptor_action_add() and glade_widget_adaptor_action_remove()
      
        - glade_widget_adaptor_action_activate() reworked. 
      
        - load symbol and other catalog stuff in gwa_derived_class_init()
      
        - added the posibility to override GObject constructor from the catalog.
          This is a good place to add/remove actions, use GWA_GET_OCLASS() to chain up.
      
      * gladeui/glade-widget.[ch]:
        - removed action-activated signal
      
        - added glade_widget_get_action (), glade_widget_remove_action() and
          glade_widget_create_action_menu()
      
      * gladeui/glade-xml-utils.h: added GLADE_TAG_ACTION_ACTIVATE_FUNCTION and 
        GLADE_TAG_CONSTRUCTOR_FUNCTION tags
      
      * plugins/gtk+/glade-gtk.c:
        - added glade_gtk_menu_shell_action_activate() glade_gtk_menu_item_action_activate()
          and glade_gtk_toolbar_action_activate()
      
        - removed glade_gtk_menu_post_create() and glade_gtk_menu_launch_editor_action()
      
      * plugins/gtk+/gtk+.xml.in:
        - glade_gtk_menu_post_create() removed
      
        - added action-activate-function for MenuShell MenuItem and Toolbar.
      
      
      svn path=/trunk/; revision=1325
      b9d02962
  36. 09 May, 2007 1 commit
    • Tristan Van Berkom's avatar
      Removed notion of custom widget editors. · da60beee
      Tristan Van Berkom authored
      
      	* gladeui/glade-widget-adaptor.[ch], gladeui/glade-widget.[ch], gladeui/glade-editor.c,
      	  gladeui/glade-xml-utils.h:
      	  Removed notion of custom widget editors.
      
      	* plugins/gtk+/gtk+.xml.in, plugins/gtk+/glade-gtk.c: removed custom editor hooks,
      	  implemented menu editor via actions only (toolbar editor temporarily disabled).
      
      
      svn path=/trunk/; revision=1307
      da60beee