1. 30 Oct, 2018 1 commit
  2. 02 Aug, 2018 1 commit
  3. 01 Jun, 2018 1 commit
  4. 21 Nov, 2013 1 commit
  5. 19 Jul, 2013 1 commit
  6. 13 Apr, 2013 1 commit
  7. 08 Apr, 2013 1 commit
    • Tristan Van Berkom's avatar
      Support load and save of files with a <template> element. · b2829ef1
      Tristan Van Berkom authored
      GladeWidget now has a "parent-name" property which specifies
      the class from which a template derives. Loading and Saving
      code now takes <template> tags into account.
      
      A GladeWidget is instanciated slightly differently for a <template>
      (the parent-name class is used for instantiation).
      b2829ef1
  8. 06 Apr, 2013 1 commit
  9. 31 Jan, 2013 1 commit
  10. 18 Jul, 2012 1 commit
  11. 28 Sep, 2011 1 commit
  12. 21 Sep, 2011 1 commit
  13. 19 Sep, 2011 1 commit
  14. 05 Apr, 2011 1 commit
    • Juan Pablo Ugarte's avatar
      * gladeui/glade-widget-adaptor.[ch]: · e0b4eb9c
      Juan Pablo Ugarte authored
         o Added support for reading internal children declaration in the catalog
         o Added GWA base class get_internal_child implementation using gtk_buildable_get_internal_child()
         o Create internal children as specified in catalog in glade_widget_adaptor_post_create()
           before calling deep_post_create() and post_create() methods
         o new API glade_widget_adaptor_has_internal_children()
           glade_widget_adaptor_get_internal_children()
      
       * gladeui/glade-widget.[ch]:
         o Made GladeWidget::reason property readable
         o Added new API glade_widget_find_child()
      
       * plugins/gtk+/glade-gtk-action-widgets.[ch]:
         o reworked code from GtkDialog support to read and write widget actions special tags
           found in GtkDialog and GtkInfoBar widgets
      
       * plugins/gtk+/glade-gtk-info-bar.c: support code for reading and writing GtkInfoBar special tags
      
       * plugins/gtk+/glade-gtk.c:
         o Removed GtkBox, GtkDialog, GtkComboBox and GtkTreeView unused get_internal_child functions
         o Removed creation of internal children of GtkDialog, GtkColorSelectionDialog,
           GtkFontSelectionDialog, GtkComboBox and GtkTreeView.
         o Implemented GtkDialog action-widgets tag support using common code.
      
       * plugins/gtk+/gtk+.xml.in:
         o Added support for GtkInfoBar widget.
         o Defined internal children of GtkDialog, GtkColorSelectionDialog,
           GtkFontSelectionDialog, GtkComboBox, GtkInfoBar and GtkTreeView.
      
       * gladeui/glade-xml-utils.h: Added GLADE_TAG_INTERNAL_CHILDREN and GLADE_TAG_ANARCHIST tags
      
       * plugins/glade-catalog.dtd: added new syntax to catalog description
      e0b4eb9c
  15. 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
  16. 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
  17. 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
  18. 02 Jan, 2011 1 commit
  19. 01 Jan, 2011 1 commit
  20. 30 Dec, 2010 2 commits
  21. 29 Dec, 2010 1 commit
  22. 12 Oct, 2010 1 commit
    • Tristan Van Berkom's avatar
      2010-10-12 Marco Diego Aurélio Mesquita <marcodiegomesquita@gmail.com> · 0b6f713f
      Tristan Van Berkom authored
      	Implemented preview feature for Glade.
      
      	* gladeui/Makefile.am, gladeui/glade-previewer.c: Added program to preview
      	  glade files.
      
      	* gladeui/glade-project.[ch]: Implemented glade_project_preview() to spawn a
      	  child preview process, reap it when it dies and close all previews when
      	  project closes.
      
      	* src/glade-window.c: Added toolbar button to spawn the preview.
      
      	* gladeui/glade-xml-utils.[ch]: Added glade_xml_dump_from_context().
      
      	* plugins/gtk+/glade-gtk.c, plugins/gtk+/gtk+.xml.in: Added actions to preview a widget.
      
      	* gladeui/glade-app.[ch]: Added glade_app_get_bin_dir() for resolving of previewer path.
      0b6f713f
  23. 28 Mar, 2010 1 commit
    • Tristan Van Berkom's avatar
      * gladeui/glade-xml-utils.h: Added "swapped" attribute definition · 5def911c
      Tristan Van Berkom authored
      	* gladeui/glade-signal.c: Added "swapped" attribute and read/write from xml, swapped attribute is
      	always saved, if its missing on load and user_data (object) is set, we assume a swapped default.
      
      	* gladeui/glade-signal-editor.c: Allow toggling "swapped" flag of a signal if user data is set.
      
      	* gladeui/glade-widget.c: Account for new signal "swapped" flag when modifying local signals.
      5def911c
  24. 20 Jun, 2009 1 commit
  25. 11 Dec, 2008 1 commit
    • Tristan Van Berkom's avatar
      Relicensed LGPL. · aa044add
      Tristan Van Berkom authored
      
      	* gladeui/glade-name-context.[ch], gladeui/glade-editable.[ch]: Relicensed LGPL.
      
      	* plugins/gtk+/glade-image-editor.c, plugins/gtk+/glade-image-item-editor.c,
      	plugins/gtk+/glade-button-editor.c, plugins/gtk+/glade-label-editor.c,
      	plugins/gtk+/glade-cell-renderer-editor.c, plugins/gtk+/glade-tool-button-editor.c,
      	gladeui/glade-editor-table.c, gladeui/glade-base-editor.c: 
      	Now editable portions of properties dont expand in tables, leaving more freedom 
      	for labels to expand in tight spots, no more item_labels in radio buttons (they dont expand).
      
      	* gladeui/glade-widget-adaptor.c: Fixed regression, now disabled classes are not
      	reinstalled in subclasses.
      
      
      svn path=/trunk/; revision=2065
      aa044add
  26. 09 Dec, 2008 1 commit
    • Tristan Van Berkom's avatar
      Bumping gtk+ required version to 2.14 · 0c973376
      Tristan Van Berkom authored
      
      	* configure.ac: Bumping gtk+ required version to 2.14
      
      	* gladeui/glade-xml-utils.c, gladeui/glade-widget-adaptor.[ch],
      	gladeui/glade-property-class.[ch], gladeui/glade-project.c: Added support
      	for "builder-since" versioning (since builder supported this property/widget).
      
      	* plugins/gtk+/gtk+.xml.in: Marked appropriate properties and objects "builder-since"
      	and brought up to date new properties and signals introduced in 2.14.
      
      	* gladeui/glade-base-editor.c: Plugged resource leak in finalize().
      
      
      svn path=/trunk/; revision=2060
      0c973376
  27. 24 Nov, 2008 1 commit
  28. 15 Nov, 2008 1 commit
    • Tristan Van Berkom's avatar
      Added new backend ->depends() vfunc to determine toplevel dependancies · 18127438
      Tristan Van Berkom authored
      
      	* gladeui/glade-widget-adaptor.[ch], gladeui/glade-xml-utils.h: Added
      	new backend ->depends() vfunc to determine toplevel dependancies (for
      	glade file output ordering).
      
      	* gladeui/glade-project.[ch]: 
      	  - Sort dependancies using glade_widget_adaptor_depends()
      
      	* plugins/gtk+/gtk+.xml.in, plugins/gtk+/glade-gtk.c: 
      	  - Added ->depends() func for GtkWidget and GtkSizeGroup
      
      
      svn path=/trunk/; revision=2032
      18127438
  29. 05 Nov, 2008 1 commit
    • Tristan Van Berkom's avatar
      Added parameter-spec parsing, need to updated docs still. · 14feeffc
      Tristan Van Berkom authored
      
      	* gladeui/glade-xml-utils.c, gladeui/glade-property-class.c: Added 
      	parameter-spec parsing, need to updated docs still.
      
      	* plugins/gtk+/glade-gtk.c, plugins/gtk+/gtk+.xml.in, plugins/gtk+/glade-attributes.c,
      	plugins/gtk+/glade-icon-sources.c, plugins/gtk+/glade-accels.c, plugins/gtk+/glade-model-data.c,
      	plugins/gtk+/glade-column-types.c:
      	- Removed all custom parameter spec implementations in the plugin and replaced them
      	  with automatically generated ones parsed by the xml.
      	- Fixed hierarchy bugs, some classes were not saving.
      
      
      svn path=/trunk/; revision=2016
      14feeffc
  30. 27 Oct, 2008 1 commit
    • Tristan Van Berkom's avatar
      - Reimplemented GtkImage from ground up. - Reimplemented stock on · 72e543f0
      Tristan Van Berkom authored
      
      	* plugins/gtk+/gtk+.xml.in, plugins/gtk+/glade-gtk.c: 
      	- Reimplemented GtkImage from ground up.
      	- Reimplemented stock on GtkButton.
      	- Made toolbutton editables show up in the toolbar editor
      
      	* gladeui/glade-base-editor.[ch]: Added glade_base_editor_add_editable()
      
      	* plugins/gtk+/glade-button-editor.c, plugins/gtk+/glade-tool-bar-editor.c:
      	Implement new Editable vfunc set_show_name()
      
      	* gladeui/glade-editor-table.c, gladeui/glade-editable.c, gladeui/glade-editor.c:
      	Added new vfunc set_show_name()
      
      	* plugins/gtk+/Makefile.am, plugins/gtk+/glade-image-editor.[ch]: New editor
      	widget for GtkImage
      
      	* gladeui/glade-property-class.[ch]: string props can now be "stock" or "stock-icon"
      
      	* gladeui/glade-widget-adaptor.c: No more stock enum eprops
      
      	* gladeui/glade-editor-property.c: Handle string types with "stock" or "stock-icon"
      
      
      svn path=/trunk/; revision=2004
      72e543f0
  31. 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
  32. 23 Oct, 2008 2 commits
    • Tristan Van Berkom's avatar
      Fixed a warning. · 45ad67db
      Tristan Van Berkom authored
      
      	* src/glade-window.c: Fixed a warning.
      
      also fixed some errors in previous commit.
      
      
      svn path=/trunk/; revision=1991
      45ad67db
    • Tristan Van Berkom's avatar
      - Added GladeEditable interface used as pages by GladeEditor - Added · d38ad3ce
      Tristan Van Berkom authored
      
      	* gladeui/Makefile.am, gladeui/glade-editable.[ch], gladeui/glade-editor-table.[ch]:
      	- Added GladeEditable interface used as pages by GladeEditor
      	- Added GladeEditorTable widget to implmenemt the editable as the traditional table
      	  with sorted properties
      
      	* gladeui/glade-editor.[ch]: Removed lots of code, now uses GladeEditables returned
      	  by thier adaptors.
      
      	* gladeui/glade-editor-property.c: Removed obsolete doc-search signal.
      
      	* gladeui/glade-widget-adaptor.[ch]: Added GladeCreateEditableFunc to allow backends
      	  to define layouts of pages in the editor.
      
      
      svn path=/trunk/; revision=1990
      d38ad3ce
  33. 16 Oct, 2008 1 commit
    • Tristan Van Berkom's avatar
      Encapsulated name tracking mechanism · 4f1e473e
      Tristan Van Berkom authored
      
      	* gladeui/Makefile.am, gladeui/glade-name-context.[ch]: Encapsulated name tracking mechanism
      
      	* gladeui/glade-project.c, gladeui/glade-command.c: Now added a naming policy to the project
      	with prefs and load/save support + a glade command to set it - also revamped the prefs dialog,
      	it also pops up automatically for new projects.
      
      	* gladeui/glade-editor.c, gladeui/glade-editor-property.c, gladeui/glade-property-class.c,
      	gladeui/glade-property.c, gladeui/glade-widget.c: All effected since now 
      	glade_property_class_make_gvalue_from_string () needs a GladeWidget argument to do
      	hierachic context sensitive searches... that and naming is much cleaner now.
      	
      	* src/glade-window.c: remember to pass ownership of the project to the app.
      
      	* plugins/gtk+/glade-gtk.c, plugins/gtk+/glade-column-types.c, plugins/gtk+/glade-model-data.c:
      	BEWARE: Dangerous and still a work in progress.
      
      
      svn path=/trunk/; revision=1972
      4f1e473e
  34. 01 Oct, 2008 1 commit
    • Tristan Van Berkom's avatar
      Implemented new "context" i18n metadata. · 4f74b453
      Tristan Van Berkom authored
      
      	* gladeui/glade-property.[ch], gladeui/glade-command.[ch], 
      	gladeui/glade-editor-property.c: Implemented new "context" i18n
      	metadata.
      
      	* gladeui/glade-widget.c: Fixed to hide non-window widgets in glade_widget_hide()
      
      
      svn path=/trunk/; revision=1967
      4f74b453
  35. 21 Sep, 2008 2 commits
    • Tristan Van Berkom's avatar
      New "construct-object-function" used to construct object instances by way · aef7ac64
      Tristan Van Berkom authored
      
      	* gladeui/glade-widget.c, gladeui/glade-widget-adaptor.[ch],
      	gladeui/glade-xml-utils.c: New "construct-object-function" used to construct
      	object instances by way of the plugin (glade_widget_adaptor_construct_object ()).
      
      
      svn path=/trunk/; revision=1949
      aef7ac64
    • Tristan Van Berkom's avatar
      Set sizegroup_add action sensitive/insensitive depending on project format · 1baaef3b
      Tristan Van Berkom authored
      
      	* plugins/gtk+/glade-gtk.c: Set sizegroup_add action sensitive/insensitive
      	  depending on project format
      
      	* plugins/gtk+/gtk+.xml.in: Set libglade-unsupported && create-type on alot of properties
      
      	* gladeui/glade-editor-property.c: Set eprop insensitive also if its in an unsupported
      	  format
      
      	* gladeui/glade-xml-utils.h, gladeui/glade-property-class.c: Added "create-type"
      
      	* gladeui/glade-property.[ch]: Now property states can be flagged and
      	  also include format_disabled state.
      
      
      svn path=/trunk/; revision=1948
      1baaef3b
  36. 20 Sep, 2008 2 commits
    • Tristan Van Berkom's avatar
      Added "supports" catalog element to supply supported formats, added · a8a21709
      Tristan Van Berkom authored
      
      	* gladeui/glade-xml-utils.h, gladeui/glade-catalog.[ch], 
      	gladeui/glade-widget-adaptor.[ch], gladeui/glade-property-class.[ch],
      	gladeui/glade-project.c, glade-palette-item.c: Added "supports" catalog element
      	to supply supported formats, added libglade-only and libglade-unsupported properties
      	for widget classes and property classes, those metadata will show up in the editor
      	like versioning info, in the verify logs as well, and the palette will adjust
      	sensitivity according to the new properties.
      
      	* plugins/gtk+/gtk+.xml.in, plugins/gnome/gnome.xml.in: Added supports
      	elements and marked widgets/properties as libglade-only/libglade-unsupported in
      	the gtk+ catalog.
      
      
      svn path=/trunk/; revision=1945
      a8a21709
    • 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