1. 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
  2. 28 Mar, 2010 3 commits
    • 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
    • Tristan Van Berkom's avatar
      2010-03-28 Tristan Van Berkom <tvb@gnome.org> · 3693cac9
      Tristan Van Berkom authored
      	* plugins/gtk+/glade-gtk.c, plugins/gtk+/gtk+.xml.in:
      	  - Sync attributes when they are set to be used directly and not by the model (fixes loaded state
      	    of explicitly set cell renderer properties).
      	  - Fix last patch to reset cellrenderer attributes from a GladeProperty::value-changed signal
      	    instead of the property mutator implementation (as the "columns" property is construct-only
      	    and the widget is rebuilt - property reference lists are unavailable at ->set_property time).
      3693cac9
    • Tristan Van Berkom's avatar
      * plugins/gtk+/glade-gtk.c: · f1bcd418
      Tristan Van Berkom authored
      	  - Check for type compatibility before setting cell renderer attributes
      	  - Clear cell renderer attributes before setting liststore column types and resync them after
      	    (Avoids cricital warnings where the underlying data types changed and dont match the properties
      	    of the renderers)
      	  - Fill in the gaps in model data while loading some columns with non serializable types
      	    (fixes severe bug: model data was loaded with missing columns of data).
      
      	* plugins/gtk+/glade-column-types.c, plugins/gtk+/glade-model-data.c:
      	  allow model data with explicitly G_TYPE_INVALID types.
      f1bcd418
  3. 27 Mar, 2010 1 commit
    • Tristan Van Berkom's avatar
      * gladeui/glade-marshallers.list, gladeui/glade-placeholder.c: · 799a017d
      Tristan Van Berkom authored
      	  Make GladePlaceholder a scrollable widget (hypothetically) to avoid runtime warnings.
      
      	* plugins/gtk+/gtk+.xml.in: Disabled "has-separator" of GtkMessageDialog as it ignores the separator
      	  and the setting is useless (not to mention setting it causes runtime warnings: fixes bug 587288).
      
      	* gladeui/glade-project.[ch]: Expose glade_project_get_target_version()
      
      	* plugins/gtk+/glade-gtk.c:
      	  - check project target gtk+ version to decide initial state
      	    of GtkEntry::buffer.
      	  - Substitute the old manual evaluation with GPC_VERSION_CHECK()
      	  - Avoid critical warnings when setting GtkColorButton properties to NULL
      	  - Avoid critical warnings when setting GtkComboBoxEntry::text-column < 0
      
      	* gladeui/glade-property-class.h: Created convenience macro GPC_VERSION_CHECK
      
      	* gladeui/glade-utils.c: Allow loading of libraries installed in optional non-system prefixes;
      	  (so that GtkSourceView catalog is buildable and usable from your jhbuild environment)
      	  assume a path that is: ${prefix}/lib/glade3/modules/../../ and search it after the initial
      	  module search path.
      799a017d
  4. 25 Mar, 2010 1 commit
    • Tristan Van Berkom's avatar
      * gladeui/Makefile.am, gladeui/glade-palette.c: · 2f6dc345
      Tristan Van Berkom authored
      	  - Removed glade-palette-box.[ch], glade-palette-expander.[ch] and glade-palette-item.[ch].
      	  - Integrated GtkToolPalette as the internal implementation of Glade's palette (bug 613956).
      
      	* plugins/gtk+/glade-gtk.c: Fix some remaining crashes from the GSEAL() stuff (GtkBoxChild
      	  invalid type dereferencing).
      2f6dc345
  5. 10 Mar, 2010 2 commits
  6. 09 Mar, 2010 2 commits
    • Tristan Van Berkom's avatar
      2010-03-09 Tristan Van Berkom <tvb@gnome.org> · 79984447
      Tristan Van Berkom authored
      	* plugins/gtk+/glade-gtk.c: Fixed GtkBox & GtkTable regressions introduced
      	  by GSEAL patches.
      79984447
    • Tristan Van Berkom's avatar
      2010-03-09 Tristan Van Berkom <tvb@gnome.org> · a226760c
      Tristan Van Berkom authored
      	* plugins/gtk+/glade-gtk.c, plugins/gtk+/glade-column-types.[ch],
      	  plugins/gtk+/glade-model-data.c: Allow litteral string values for
      	  column types in the tree store editor, Glade will serialize/deserialize
      	  the string litterally and if there is a valid type returned from
      	  g_type_from_name() (i.e. a valid introduced type by that name); then
      	  that GType will be used to setup the column types of runtime treestores
      	  in the project; otherwise it will use G_TYPE_POINTER for those columns.
      
      	  This closes bug 597095.
      
      2010-03-09  Marco Diego Aurélio Mesquita <marcodiegomesquita@gmail.com>
      
      	* gladeui/glade-project.c: Avoid collapsing commands when a project is freshly saved
      	  (this fixes a false "unmodified" state after changing the same property before and
      	  after project save).
      a226760c
  7. 14 Feb, 2010 1 commit
  8. 12 Feb, 2010 1 commit
  9. 04 Dec, 2009 1 commit
  10. 09 Nov, 2009 1 commit
  11. 22 Sep, 2009 1 commit
  12. 01 Jul, 2009 1 commit
  13. 27 Jun, 2009 2 commits
  14. 25 Jun, 2009 2 commits
    • Tristan Van Berkom's avatar
      Enhanced performance wrt GtkAction and GtkActivatable:use-action-appearance in the Glade runtime · 608a792e
      Tristan Van Berkom authored
      (improved usability).
      
        * plugins/gtk+/glade-gtk.c:
        - Added sync_use_appearance() to reset the use-appearance property when local	widget property
          updates demand that the appearance be resynchronized (this is actually a bug in GTK+ somewhere).
        - Avoid tampering with the virtual GtkBox:size property while loading a project.
      
        * plugins/gtk+/gtk+.xml.in: Attributed use-action-appearance property with "needs-sync"
        for better chances at a good visual result when copy/pasting etc.
      
        * plugins/gtk+/glade-activatable-editor.c: Reverse order in which the image is
        removed from GtkImageMenuItems (so that mucking with stock doesnt recreate one
        2 lines further), now image menu items with controlling actions dont get orphaned images.
      
        * gladeui/glade-widget-adaptor.c: Sync remaining properties at load time
        which were not specified in the glade file (now the use-action-appearance
        property shows up right even if default and not present in the Glade file).
      608a792e
    • Tristan Van Berkom's avatar
      Fixed translatable stock ids (bug 352446) · 53702088
      Tristan Van Berkom authored
      * plugins/gtk+/glade-gtk.c: glade_gtk_button_write_widget (), make stock
      button labels save as non-translatable automatically (bug 352446).
      53702088
  15. 20 Jun, 2009 2 commits
    • Tristan Van Berkom's avatar
      Fix usage of deprecated GTK+ symbols (bug 572756) · 30dbe499
      Tristan Van Berkom authored
      * src/glade-window.c, gladeui/glade-editor-property.c,
      plugins/gtk+/glade-accels.c, plugins/gtk+/glade-cell-renderer-button.c,
      plugins/gtk+/glade-gtk.c:
      Replace use of deprecated GTK+ functions (Sam Thursfield - bug 572756).
      30dbe499
    • Tristan Van Berkom's avatar
      Fix deprecated symbols (bug 572756) · b02be58e
      Tristan Van Berkom authored
      * gladeui/glade-clipboard-view.c, gladeui/glade-command.c, gladeui/glade-property-class.c,
      gladeui/glade-utils.c, plugins/gtk+/glade-gtk.c: Replaced symbols with new glib
      variants (Sam Thursfield - bug 572756)
      b02be58e
  16. 12 Jun, 2009 1 commit
    • Tristan Van Berkom's avatar
      * configure.in, NEWS: Rolling Glade 3.6.5 (added more output in configure.ac · b7ef9f28
      Tristan Van Berkom authored
      	config summery).
      
      	* gladeui/glade-project.[ch], gladeui/glade-command.c, gladeui/glade-inspector.c:
      	Really fixing widget naming policies again, this time I hope it sticks (bug 580745).
      
      	* plugins/gtk+/glade-gtk.c, plugins/gtk+/gtk+.xml.in: Fixed dissapearing
      	dialogs on ESC (bug 582559)
      
      	* plugins/python/Makefile.am: Fixed relocated link problems with python
      	plugin build (bug 582982, patch by Arun Raghavan).
      b7ef9f28
  17. 06 Jun, 2009 1 commit
  18. 25 Apr, 2009 1 commit
    • Juan Pablo Ugarte's avatar
      * plugins/gtk+/glade-gtk.c: · f86b49b3
      Juan Pablo Ugarte authored
        o fixed icon source state write bug on write_icon_sources()
        o fixed loading bug in glade_gtk_icon_factory_read_sources()
          we either use g_list_append() or steal/insert to add new icon sources
      f86b49b3
  19. 22 Apr, 2009 2 commits
  20. 15 Apr, 2009 1 commit
    • Tristan Van Berkom's avatar
      Added glade_gtk_cell_renderer_read_widget() and now · bd332912
      Tristan Van Berkom authored
      
      	* plugins/gtk+/glade-gtk.c, plugins/gtk+/gtk+.xml.in: 
      	Added glade_gtk_cell_renderer_read_widget() and now
      	glade_gtk_cell_layout_read_child() doesnt load attributes
      	if the object property has been explicitly specified in
      	the Glade file (fixes bug 566928).
      
      
      svn path=/trunk/; revision=2188
      bd332912
  21. 07 Apr, 2009 1 commit
  22. 06 Apr, 2009 1 commit
    • Tristan Van Berkom's avatar
      Rolling 3.6.1 · 790e55c9
      Tristan Van Berkom authored
      	
      	* NEWS, configure.ac: Rolling 3.6.1
      	
      	* gladeui/glade-command.c: Fix win32 crasher (bug 575206) again (seems
      	I missed it was klass->name that was null, fixed it so it would never
      	be null, and added g_assert() where the crash was.
      
      	* gladeui/glade-widget.c: Fix broken hash table maintenence in 
      	glade_widget_remove_property() (bug 575885).
      
      
      svn path=/trunk/; revision=2181
      790e55c9
  23. 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
  24. 09 Mar, 2009 1 commit
  25. 02 Mar, 2009 1 commit
    • Juan Pablo Ugarte's avatar
      fixed typos, bugs #571884 and #571867 · 2caf1957
      Juan Pablo Ugarte authored
      * plugins/gtk+/glade-label-editor.c, plugins/gtk+/glade-store-editor.c,
        plugins/gtk+/glade-icon-sources.c: fixed typos, bugs #571884 and #571867
      
      * plugins/gtk+/gtk+.xml.in: fixed typos, and mark missing translatable strings
        bugs #573661, #571861
      
      * gladeui/glade-property.c: do not write disabled props on
        glade_property_write() fixes bug #573513
      
      * plugins/gtk+/glade-gtk.c: added convenience function 
        glade_gtk_container_create_editable() to disable custom editables part of bug #573513.
      
      * gladeui/glade-signal-editor.c: fixed Bug #573453
        "Signal connect-after is not functional." using Ryu Jinno`s patch as reference.
      
      svn path=/trunk/; revision=2141
      2caf1957
  26. 05 Feb, 2009 1 commit
    • Tristan Van Berkom's avatar
      Added "commit" signal to allow custom editors to do command group/macros · 5af63e58
      Tristan Van Berkom authored
      
      	* gladeui/glade-editor-property.c: Added "commit" signal to allow custom editors to do
      	command group/macros serialized around property changes.
      
      	* plugins/gtk+/glade-activatable-editor.[ch], plugins/gtk+/Makefile.am, po/POTFILES.in:
      	New activatable editor to handle activatable properties in smart ways.
      
      	* plugins/gtk+/glade-gtk.c: Made various properties insensitive when activatable
      	properties are in effect.
      
      	* plugins/gtk+/glade-tool-button-editor.c: Made tables insensitive when activatable
      	properties are in effect.
      
      	* plugins/gtk+/glade-button-editor.c: Allow use of use-stock choice while activatable
      	properties are in effect.
      
      
      
      svn path=/trunk/; revision=2103
      5af63e58
  27. 27 Jan, 2009 2 commits
    • Tristan Van Berkom's avatar
      Updated and virtualized properties from gtk+ 2.16 · 21efc282
      Tristan Van Berkom authored
      
      	* plugins/gtk+/gtk+.xml.in, plugins/gtk+/glade-gtk.c: Updated and virtualized properties from gtk+ 2.16
      
      
      svn path=/trunk/; revision=2101
      21efc282
    • Tristan Van Berkom's avatar
      Bumping version for Anjuta dependancy · f8dc325b
      Tristan Van Berkom authored
      2009-01-27  Tristan Van Berkom <tvb@gnome.org>
      
      	* configure.ac: Bumping version for Anjuta dependancy
      
      	* plugins/gtk+/gtk+.xml.in: Added some metadata about GtkAction
      	
      2009-01-23  Tristan Van Berkom <tvb@gnome.org>
      
      	* plugins/gtk+/glade-entry-editor.c, plugins/gtk+/glade-gtk.c, plugins/gtk+/gtk+.xml.in: 
      	updated for new GtkEntry property name changes.
      
      
      svn path=/trunk/; revision=2100
      f8dc325b
  28. 15 Jan, 2009 1 commit
  29. 05 Jan, 2009 1 commit
  30. 25 Nov, 2008 2 commits