1. 02 Apr, 2013 1 commit
  2. 12 Mar, 2013 1 commit
  3. 03 May, 2012 1 commit
  4. 30 Jan, 2011 1 commit
    • Tristan Van Berkom's avatar
      * gladeui/glade-xml-utils.h, gladeui/glade-widget-adaptor.[ch], gladeui/glade-widget.[ch]: · 1167ed50
      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.
      1167ed50
  5. 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
  6. 26 Jan, 2011 2 commits
  7. 08 Jan, 2011 1 commit
  8. 05 Jan, 2011 2 commits
  9. 04 Jan, 2011 1 commit
  10. 03 Jan, 2011 2 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
      * 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
  11. 02 Jan, 2011 2 commits
  12. 01 Jan, 2011 2 commits
  13. 30 Dec, 2010 1 commit
  14. 29 Dec, 2010 1 commit
  15. 09 Sep, 2010 1 commit
  16. 29 Mar, 2010 1 commit
    • Tristan Van Berkom's avatar
      * gladeui/glade-popup.c: Allow adding new actions to action groups from the... · f232b978
      Tristan Van Berkom authored
      	* gladeui/glade-popup.c: Allow adding new actions to action groups from the palette ("Add widget here").
      
      	* plugins/gtk+/glade-accels.[ch]: Moved individual accelerator [de]serialization here, special integration
      	  for action types, for actions only show one accelerator and dont load/save the "activate" signal name.
      
      	* plugins/gtk+/glade-gtk.c, plugins/gtk+/gtk+.xml.in: Added support for GtkActionGroup <--> GtkAction
      	  relationships and support for editing/loading/saving of accelerators which can be associated with
      	  actions inside an action group.
      f232b978
  17. 28 Mar, 2010 1 commit
    • Tristan Van Berkom's avatar
      * gladeui/glade-widget-adaptor.[ch]: Add a "scrollable" flag on the adaptor class vtable · b45ddd32
      Tristan Van Berkom authored
      	  introspected by checking if (widget_class->set_scroll_adjustments_signal) != 0.
      
      	* gladeui/glade-utils.[ch]: Added glade_util_check_and_warn_scrollable() to check and warn the
      	  user if they are trying to add a non-scrollable widget to a scrolled window.
      
      	* gladeui/glade-app.c, gladeui/glade-popup.c, gladeui/glade-placeholder.c, plugins/gtk+/glade-gtk.c:
      	Consult glade_util_check_and_warn_scrollable() before executing commands that introduce objects
      	to the project.
      b45ddd32
  18. 04 Dec, 2009 1 commit
  19. 29 Jun, 2009 1 commit
    • Tristan Van Berkom's avatar
      * configure.ac, gladeui/glade-app.c: Added --enable-mac-bundle configure option to · 8dfa0710
      Tristan Van Berkom authored
      special case runtime path lookups to bundling builds.
      
      * gladeui/glade-popup.[ch]: Added glade_popup_is_popup_event () to check the correct
      GdkEventButton state for a context menu (in a platform independant way).
      
      * gladeui/glade-base-editor.c, gladeui/glade-editor-property.c, gladeui/glade-palette-item.c,
      gladeui/glade-placeholder.c, gladeui/glade-widget.c, gladeui/glade-inspector.c: Use new
      popup function to detect whether to show a context menu or not (bug 587128).
      
      * gladeui/glade-base-editor.c: Fixed crashes with editable treeview column types (bug 586715).
      8dfa0710
  20. 21 Oct, 2008 1 commit
  21. 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
  22. 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
  23. 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
  24. 17 Sep, 2008 1 commit
    • Tristan Van Berkom's avatar
      Exposed doc_search() command for palette popup · 08bb853e
      Tristan Van Berkom authored
      
      	* gladeui/glade-editor.[ch]: Exposed doc_search() command for palette popup
      
      	* gladeui/glade-popup.[ch]: Added glade_popup_palette_pop(), with add
      	  widget as toplevel feature & doc search feature.
      
      	* gladeui/glade-palette-item.c: Handle right-click for popup
      
      	* gladeui/glade-inspector.c: Make inspector list widgets in natural order
      
      	* gladeui/glade-project.c: Fixed widget order list (bug 422823)
      
      	* gladeui/glade-gtk.c: Fixed widget order inside GtkTable
      	  (bug 422823 - patch by Pavel Kostyuchenko)
      
      
      svn path=/trunk/; revision=1919
      08bb853e
  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. 25 Jul, 2007 1 commit
  27. 23 Jul, 2007 1 commit
  28. 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
  29. 11 Jul, 2007 1 commit
  30. 27 Jun, 2007 1 commit
    • Juan Pablo Ugarte's avatar
      gladeui/glade-popup.[ch] - added packing actions to placeholders · 312c7bca
      Juan Pablo Ugarte authored
      * 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
      312c7bca
  31. 06 Jun, 2007 1 commit
    • Juan Pablo Ugarte's avatar
      added packing action list to GladePlaceholder · b702dbfa
      Juan Pablo Ugarte authored
      * gladeui/glade-placeholder.[ch]: added packing action list to GladePlaceholder
      
      * gladeui/glade-popup.c: added packing actions to placeholder popup
      
      * gladeui/glade-widget-adaptor.[ch]: added glade_widget_adaptor_pack_actions_new ()
      
      * gladeui/glade-widget.c: use new function glade_widget_adaptor_pack_actions_new () in
        glade_widget_set_packing_actions()
      
      * plugins/gtk+/glade-gtk.c: take into acount placeholders get paking actions
        glade_gtk_box_notebook_child_insert_action() and glade_gtk_table_child_insert_action() fixed.
      
      svn path=/trunk/; revision=1339
      b702dbfa
  32. 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
  33. 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
  34. 02 May, 2007 1 commit
    • Tristan Van Berkom's avatar
      Removed submenus for the ancestry since Vincent did that magic to the · 737f62c3
      Tristan Van Berkom authored
      
      	* gladeui/glade-popup.[ch], gladeui/glade-widget.c, gladeui/glade-project-view.c: 
      	  Removed submenus for the ancestry since Vincent did that magic to the project view, 
      	  all is cleaner now.
      
      	* gladeui/glade-widget-adaptor.c: Removed #include "glade-binding.h" and
      	  all the scripting crap that went with it.
      
      
      svn path=/trunk/; revision=1294
      737f62c3
  35. 23 Jan, 2007 1 commit