1. 14 May, 2010 3 commits
  2. 30 Mar, 2010 1 commit
  3. 29 Mar, 2010 1 commit
    • Tristan Van Berkom's avatar
      * gladeui/glade-editor-property.[ch]: · 845366bc
      Tristan Van Berkom authored
      	  - Give object dialogs a bigger default size and hide the column headers
      
      	* gladeui/glade-signal-editor.c:
      	  - Now show an icon and tooltip in rows for signals that are only
      	    supported in the future, refresh them when support changes.
      
      	* gladeui/glade-widget-adaptor.h, gladeui/glade-property-class.h: Added some version checking macros.
      
      	* gladeui/glade-signal.[ch]: Add support warning meta data to signals
      
      	* gladeui/glade-project.c:
      	  - Simplify code with new version checking macros
      	  - Do the verify on signals for widgets as well as project warnings
      	    (update the signals a verify time).
      
      	* gladeui/glade-widget.c: GladeWidget takes a new "support-changed" to broadcast support changes
      	  on the widget.
      
      	* gladeui/glade-signal-editor.c:
      845366bc
  4. 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
  5. 24 Mar, 2010 1 commit
    • Tristan Van Berkom's avatar
      2010-03-24 Tristan Van Berkom <tvb@gnome.org> · d491e8dd
      Tristan Van Berkom authored
      	* gladeui/glade-signal.[ch]: Broke api of glade_signal_write(), this api should never
      	  be called outside of the Glade core so its a soft api break.
      
      	* gladeui/glade-widget.c: Call glade_signal_write() with the current project format, fixes bug 600031.
      d491e8dd
  6. 09 Mar, 2010 1 commit
  7. 11 Feb, 2010 1 commit
  8. 07 Feb, 2010 1 commit
  9. 04 Dec, 2009 1 commit
  10. 14 Sep, 2009 2 commits
  11. 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
  12. 18 Jun, 2009 1 commit
  13. 27 May, 2009 1 commit
  14. 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
  15. 23 Mar, 2009 1 commit
  16. 15 Jan, 2009 1 commit
  17. 05 Jan, 2009 2 commits
  18. 24 Nov, 2008 1 commit
  19. 23 Nov, 2008 2 commits
    • Tristan Van Berkom's avatar
      Now add/remove parentless widget props from the project in · a10762dc
      Tristan Van Berkom authored
      
      	* gladeui/glade-command.c: Now add/remove parentless widget props from the project in 
      	  command_add/remove.
      
      	* gladeui/glade-widget.c: 
      	  - glade_widget_dup_properties/glade_widget_copy_properties take 2 new args, whether copy
      	    parentless widget properties or not, and whether to copy them exactly or not.
      	  - added glade_widget_get_parentless_reffed_widgets() to return a list of reffed parentless
      	    widgets.
      
      
      svn path=/trunk/; revision=2045
      a10762dc
    • Tristan Van Berkom's avatar
      glade_widget_build_object() now calls glade_widget_set_object() internally · 82c2cad3
      Tristan Van Berkom authored
      
      	* gladeui/glade-widget.c: glade_widget_build_object() now calls glade_widget_set_object() 
      	internally and then uses glade_widget_adaptor_set_property() for non construct properties.
      
      	* plugins/gtk+/glade-gtk.c, plugins/gtk+/gtk+.xml.in: 
      	  - Made GtkTreeView:model property query user at create time.
      	  - Fixed to never sync properties when in attribute mode, to sync attributes
      	    after adding cells to cell layouts, and to not set attributes to orphan cells
      	    (net result: copy/paste of treeviews now result in a nice runtime replica).
      	  - Did some reordering in glade-gtk.c
      
      
      svn path=/trunk/; revision=2044
      82c2cad3
  20. 07 Nov, 2008 1 commit
    • Tristan Van Berkom's avatar
      moved signal and children serialization from · 3277f95c
      Tristan Van Berkom authored
      	
      	* gladeui/glade-widget.c, gladeui/glade-widget-adaptor.c: moved signal and
      	children serialization from glade_widget_adaptor_object_write_widget() to
      	glade_widget_write() (bug #559531)
      
      
      svn path=/trunk/; revision=2019
      3277f95c
  21. 31 Oct, 2008 2 commits
    • Tristan Van Berkom's avatar
      making menu conversions seemless · 8dadf185
      Tristan Van Berkom authored
      
      	* plugins/gtk+/glade-image-item-editor.[ch], plugins/gtk+/glade-gtk.c:
      	making menu conversions seemless
      
      	* gladeui/glade-widget.c: Remove widgets from layout on hide,
      	hide widgets when adding parentless prop refs.
      
      
      svn path=/trunk/; revision=2014
      8dadf185
    • Tristan Van Berkom's avatar
      Added glade_widget_[un]lock() and glade_command_[un]lock_widget(). · 1e70cf40
      Tristan Van Berkom authored
      
      	* gladeui/glade-widget.[ch], gladeui/glade-command.[ch]: Added
      	glade_widget_[un]lock() and glade_command_[un]lock_widget().
      
      	* plugins/gtk+/glade-gtk.c, plugins/gtk+/gtk+.xml.in, plugins/gtk+/glade-convert.c,
      	plugins/gtk+/glade-image-item-editor.c: Dual format menu editing support
      	depending on my gtk+ patch on bug 527672, TODO: still need to add accel-groups
      	to GtkWindow on the glade side of things.
      
      
      svn path=/trunk/; revision=2013
      1e70cf40
  22. 28 Oct, 2008 1 commit
    • Tristan Van Berkom's avatar
      Reimplemented GtkMenuItem and subclasses from top to bottom · e86dd963
      Tristan Van Berkom authored
      
      	* plugins/gtk+/gtk+.xml.in, plugins/gtk+/glade-gtk.c: 
      	Reimplemented GtkMenuItem and subclasses from top to bottom
      
      	* plugins/gtk+/glade-image-item-editor.[ch], plugins/gtk+/Makefile.am:
      	New GtkImageMenuItem editor (that embeds the child image editor when needed)
      
      	* gladeui/glade-command.[ch]: Added glade_command_[un]protect_widget()
      
      	* gladeui/glade-widget.[ch]: Added glade_widget_[un]protect()
      	protected widgets come with a message and cannot be manually deleted
      	from the project.
      
      	* plugins/gtk+/glade-image-editor.c, plugins/gtk+/glade-button-editor.c,
      	plugins/gtk+/glade-tool-button-editor.c, gladeui/glade-editor-table.c:
      	Fixed to:
      	- not reffer to child editables in finalize
      	- always removed external signals and weak references from finalize
      
      	* gladeui/glade-base-editor.c: Fixed to allow properties expand/fill
      	in both label and entry.
      
      
      svn path=/trunk/; revision=2006
      e86dd963
  23. 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
  24. 21 Oct, 2008 2 commits
    • Tristan Van Berkom's avatar
      Use glade-cell-renderer-button for color attributes. · c5619eb4
      Tristan Van Berkom authored
      
      	* plugins/gtk+/glade-attributes.c: Use glade-cell-renderer-button for color attributes.
      
      	* plugins/gtk+/glade-cell-renderer-button.c: no more button-text property
      
      	* plugins/gtk+/glade-text-button.c: Now use a GTK_STOCK_EDIT icon in the cell renderer button
      
      
      svn path=/trunk/; revision=1986
      c5619eb4
    • Tristan Van Berkom's avatar
      Implement property lookups with a hash table, fixed mem leaks · 96a3fe3b
      Tristan Van Berkom authored
      
      	* gladeui/glade-widget.c: Implement property lookups with a hash table, fixed mem leaks
      
      	* gladeui/glade-property.c: Read properties from the passed node directly, fixed mem leaks
      
      	* gladeui/glade-widget-adaptor.c: Read properties in the order they are listed in the file, 
      	not by the order of the properties in the object (helps load performance).
      
      	* gladeui/glade-project.c: Fixed mem leaks, release widget property references before
      	destroying all the glade widgets.
      
      
      svn path=/trunk/; revision=1985
      96a3fe3b
  25. 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
  26. 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
  27. 28 Sep, 2008 1 commit
    • Tristan Van Berkom's avatar
      Added load/save/edit support for GtkTreeStore/GtkListStore basic columns · 7613e0d4
      Tristan Van Berkom authored
      
      	* plugins/gtk+/glade-gtk.c, plugins/gtk+/glade-column-types.[ch],	
      	  plugins/gtk+/Makefile.am, plugins/gtk+/gtk+.xml.in: Added load/save/edit
      	  support for GtkTreeStore/GtkListStore basic columns and data definitions
      	  (store data still not translatable...) - Juan Pablo Ugarte
      
      	* gladeui/glade-utils.c: Added convenience funcs glade_utils_string_from_value()
      	  and glade_utils_value_from_string(), these actually use glade-property-class api.
      
      
      svn path=/trunk/; revision=1961
      7613e0d4
  28. 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
  29. 21 Sep, 2008 1 commit
  30. 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
  31. 19 Sep, 2008 1 commit
    • Tristan Van Berkom's avatar
      Now we have a conversion routine that is run in the plugin to convert some · 351a89ed
      Tristan Van Berkom authored
      
      	Now we have a conversion routine that is run in the plugin to
      	convert some data for one format to another (builder on the way...)
      	In this patch we use it to handle GtkAdjustment property conversions.
      	(NOTE: Completely undoable)
      	
      	* gladeui/glade-editor-property.c: Made adjustment eprop fallback on
      	  object dialog in builder cases.
      
      	* gladeui/glade-command.[ch]: Added glade_command_set_project_format()
      
      	* gladeui/gldae-catalog.c, gladeui/glade-xml-utils.h: Added GladeProjectConvertFunc
      
      	* plugins/gtk+/Makefile.am, plugins/gtk+/glade-convert.c,
      	plugins/gtk+/gtk+.xml.in: New file to handle conversion routines, 
      	added some objects.
      
      
      svn path=/trunk/; revision=1935
      351a89ed
  32. 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
  33. 16 Sep, 2008 1 commit