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. 22 Jan, 2011 2 commits
  3. 16 Jan, 2011 2 commits
  4. 12 Jan, 2011 1 commit
  5. 09 Jan, 2011 1 commit
  6. 08 Jan, 2011 1 commit
  7. 06 Jan, 2011 2 commits
  8. 05 Jan, 2011 4 commits
  9. 04 Jan, 2011 2 commits
  10. 03 Jan, 2011 4 commits
    • Tristan Van Berkom's avatar
      * gladeui/glade-app.[ch], gladeui/glade-command.c, gladeui/glade-editor.[ch], · cee72078
      Tristan Van Berkom authored
      	gladeui/glade-popup.c, gladeui/glade-project.c, gladeui/glade-signal-editor.c,
      	gladeui/glade-widget-adaptor.c, src/glade-window.c, src/main.c:
      	- Removed glade_app_get_editor(), Now the editor is not overly-refreshed by the
      	  core and editors can be created at will, the core doesnt need to hold on to one.
      	- Also, "gtk-doc-search" signal has been moved from the GladeEditor to the GladeApp.
      cee72078
    • Tristan Van Berkom's avatar
      * gladeui/glade-project.c, gladeui/glade-id-allocator.c: Dont index unallocated · b1605958
      Tristan Van Berkom authored
      	  memory when releasing a widget name that was never allocated (this can happen
      	  for loaded widgets with a number), fixes crash when setting naming policy for
      	  glom_developer.glade.
      b1605958
    • 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
    • Tristan Van Berkom's avatar
      * gladeui/glade-app.[ch]: · d4835f02
      Tristan Van Berkom authored
      	  - Removed "update-ui" signal, This signal was encouraging bad behaviour and too much
      	    action on every project change.
      	  - Removed glade_app_create_undo/redo_button().
      
      	* gladeui/glade-project.c: Stop calling glade_app_update_ui ().
      
      	* gladeui/glade-window.c:
      	  - Listen to GladeProject::changed instead of update-ui and only update the
      	    undo/redo actions when the active project changes.
      	  - Remove the preview toolbutton
      	  - Add tooltips to important actions
      
      	* plugins/gtk+/gtk+.xml.in: Mark the "preview" action as "important" so it shows
      	  up in the app toolbar automatically.
      d4835f02
  11. 02 Jan, 2011 4 commits
  12. 01 Jan, 2011 4 commits
  13. 31 Dec, 2010 1 commit
  14. 30 Dec, 2010 1 commit
  15. 29 Dec, 2010 1 commit
  16. 27 Dec, 2010 1 commit
  17. 22 Dec, 2010 2 commits
  18. 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
  19. 20 Dec, 2010 4 commits
  20. 17 Dec, 2010 1 commit