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. 25 Jan, 2011 1 commit
  3. 23 Jan, 2011 2 commits
    • 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
    • Juan Pablo Ugarte's avatar
      ebd9b9a5
  4. 22 Jan, 2011 1 commit
    • Tristan Van Berkom's avatar
      * gladeui/glade-command.[ch]: Removed glade_command_set_naming_policy(). · 05191e1c
      Tristan Van Berkom authored
      	* gladeui/glade-project.[ch]: Removed naming policy, object ids are always unique.
      
      	* gladeui/glade-editor-property.c, glade-property-class.[ch], gladeui/glade-property.c,
      	gladeui/glade-signal-editor.c, gladeui/glade-utils.[ch], gladeui/glade-widget.c,
      	gladeui/glade-xml-utils.h, plugins/gtk+/glade-gtk.c, plugins/gtk+/glade-icon-sources.c,
      	plugins/gtk+/glade-model-data.c: Removed 'widget' argument from
      	glade_property_class_make_gvalue_from_string() and from glade_utils_value_from_string() since
      	you never need a common ancestor to search a widget by name anymore.
      05191e1c
  5. 16 Jan, 2011 3 commits
  6. 12 Jan, 2011 1 commit
  7. 10 Jan, 2011 1 commit
  8. 08 Jan, 2011 2 commits
  9. 07 Jan, 2011 1 commit
  10. 06 Jan, 2011 1 commit
  11. 05 Jan, 2011 4 commits
  12. 03 Jan, 2011 1 commit
    • Tristan Van Berkom's avatar
      * Another major refactor, tasks accomplished: · 51f4b3f3
      Tristan Van Berkom authored
      	  - Removed GladeApp selection handling, only on the project now
      	  - Removed "Copy" as a command, copying widgets no longer dirty documents (bug 546873)
      	  - Removed GladeApp "active_project" concept, every interaction is associated with
      	    a GladeProject
      	  - Simplified GladeClipboard, the clipboard now only has a list of widgets and
      	    not a "selection", everything is removed from the clipboard when new widgets are
      	    added there.
      	  - GladePalette now has a "project" property and does not need to be refreshed
      	    by an external entity.
      
      	19 files changed, 652 insertions(+), 1135 deletions(-)
      51f4b3f3
  13. 02 Jan, 2011 3 commits
  14. 01 Jan, 2011 5 commits
  15. 30 Dec, 2010 2 commits
  16. 29 Dec, 2010 1 commit
  17. 26 Dec, 2010 1 commit
  18. 23 Dec, 2010 2 commits
  19. 22 Dec, 2010 1 commit
  20. 21 Dec, 2010 1 commit
    • Tristan Van Berkom's avatar
      Added loading objects dialog with progress and cancel. · 0ce0e633
      Tristan Van Berkom authored
      	* src/main.c: Display window before loading command line specified projects.
      
      	* gladeui/glade-project.[ch]: Added dialog that pops up when about to load
      	  a large project with glade_project_push_project() to push the progress and
      	  glade_project_load_cancelled() to check and abort while loading the project.
      
      	* gladeui/glade-widget.c, gladeui/glade-widget-adaptor.c: Push progress and
      	  abort loading when project indicates the user cancelled the load.
      0ce0e633
  21. 20 Dec, 2010 4 commits
  22. 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