1. 20 Nov, 2008 2 commits
    • Tristan Van Berkom's avatar
      Added GladeEPropCellAttribute · 151e42b3
      Tristan Van Berkom authored
      
      	* plugins/gtk+/glade-cell-renderer-editor.c: Added GladeEPropCellAttribute
      
      	* plugins/gtk+/glade-gtk.c, plugins/gtk+/gtk+.xml.in: Integrated new eprop
      	  for cell renderer attributes, avoid setting attributes for columns that
      	  exceed model bounds (except on load).
      
      
      svn path=/trunk/; revision=2038
      151e42b3
    • Tristan Van Berkom's avatar
      Added all remaining metadatas for cell renderers (all cell renderers and · c9e4cf00
      Tristan Van Berkom authored
      
      	* plugins/gtk+/gtk+.xml.in: Added all remaining metadatas for cell renderers
      	  (all cell renderers and attributes now implemented).
      
      	* plugins/gtk+/glade-column-types.c: Fixed to populate enums/flags only
      	after all catalogs parsed, now they are listed in alphabetical order too.
      
      
      svn path=/trunk/; revision=2037
      c9e4cf00
  2. 19 Nov, 2008 3 commits
  3. 16 Nov, 2008 1 commit
  4. 15 Nov, 2008 5 commits
    • 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
    • Tomasz Dominikowski's avatar
      Updated Polish translation · fa51f128
      Tomasz Dominikowski authored
      2008-11-15  Tomasz Dominikowski  <tdominikowski@aviary.pl>
      
      	* pl.po: Updated Polish translation
      
      svn path=/trunk/; revision=2031
      fa51f128
    • Tristan Van Berkom's avatar
      added glade_utils_hijack_key_press () · 8d9a6b1b
      Tristan Van Berkom authored
      
      	* gladeui/glade-utils.c: added glade_utils_hijack_key_press ()
      
      	* src/glade-window.c: Moved hijack_key_press to glade_utils
      
      	* gladeui/glade-editor.[ch]:
      	  - Added "widget" property
      	  - added glade_editor_dialog_for_widget()
      
      	* plugins/gtk+/gtk+.xml.in, plugins/gtk+/glade-gtk.c: Added "Edit Separately" action
      
      
      
      svn path=/trunk/; revision=2030
      8d9a6b1b
    • Tristan Van Berkom's avatar
      Update glade-app accel group. · 4020dd82
      Tristan Van Berkom authored
      
      	* src/glade-window.c: Update glade-app accel group.
      
      	* gladeui/glade-project.[ch], gladeui/glade-app.c: Remove accel group notion from projects
      
      	* gladeui/glade-base-editor.c:
      	  - Use global accel group (with keypress editor hijack in place)
      	  - No longer modal
      	  - added "container" property on the editor
      	  - dedicated dialogs self destruct if their container changes
      
      
      svn path=/trunk/; revision=2029
      4020dd82
    • Tristan Van Berkom's avatar
      Fixed recursion in the eprops when updating values (due to exterior · 61746a38
      Tristan Van Berkom authored
      
      	* gladeui/glade-editor-property.[ch]: Fixed recursion in the eprops when
      	updating values (due to exterior callers calling ->load() when the project
      	changes for thier custom editors), this fixes glitches when editing multiline
      	text entries.
      
      
      svn path=/trunk/; revision=2028
      61746a38
  5. 13 Nov, 2008 3 commits
  6. 12 Nov, 2008 1 commit
    • Tristan Van Berkom's avatar
      Fixed loading of images and only set image data when in the correct edit · 0a649c0e
      Tristan Van Berkom authored
      
      	* plugins/gtk+/glade-gtk.c: Fixed loading of images and only set image
      	data when in the correct edit mode.
      
      	* plugins/gtk+/glade-convert.c: Fixed toolbutton conversions to search
      	icon factories from the beginning of the object list and not the current
      	list position.
      
      	* gladeui/glade-project.c: When changing resource paths, reload all pixbuf
      	properties automagically (this wont work for custom pixbufs like icon factory
      	has).
      
      
      svn path=/trunk/; revision=2024
      0a649c0e
  7. 08 Nov, 2008 3 commits
    • Tristan Van Berkom's avatar
      Now save project resource directory in glade file comments if user · a5c32c73
      Tristan Van Berkom authored
      
      	* gladeui/glade-project.c: Now save project resource directory in glade file
      	comments if user specified a relative or absolute path in the prefs dialog,
      	otherwise resources are loaded from the project's directory.
      
      
      svn path=/trunk/; revision=2023
      a5c32c73
    • Kjartan Maraas's avatar
      Add bug number · da504be2
      Kjartan Maraas authored
      svn path=/trunk/; revision=2022
      da504be2
    • Kjartan Maraas's avatar
      Try to avoid using deprecated glib api. · 69ef04b0
      Kjartan Maraas authored
      2008-11-08  Kjartan Maraas  <kmaraas@gnome.org>
      
      	* gladeui/glade-utils.c: (glade_utils_get_pspec_from_funcname),
      	(glade_util_ui_message), (glade_util_gtk_combo_find):
      	* src/glade-window.c: (confirm_close_project):
      	Try to avoid using deprecated glib api.
      
      svn path=/trunk/; revision=2021
      69ef04b0
  8. 07 Nov, 2008 3 commits
    • Tristan Van Berkom's avatar
      Set the toplevel window accel-groups property when converting. · 07e09d72
      Tristan Van Berkom authored
      
      	* plugins/gtk+/glade-convert.c: Set the toplevel window accel-groups property when
      	converting.
      
      
      svn path=/trunk/; revision=2020
      07e09d72
    • 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
    • Tristan Van Berkom's avatar
      Faked the accel-group property and added accel-groups object list to · bde43f1a
      Tristan Van Berkom authored
      
      	* plugins/gtk+/gtk+.xml.in: Faked the accel-group property and added
      	accel-groups object list to GtkWindow... work in progress.
      
      	* plugins/gtk+/glade-image-item-editor.c: Adjusted for accel-group property
      	which is only avaiable for stock items.
      
      	* plugins/gtk+/glade-gtk.c: Fixed sensitivity for accel-group/stock at load time.
      
      	* gladeui/glade-editor-property.c: Labels dont go insensitive anymore, I think that
      	was a general usability problem, the inputs still go insensitive and there are always 
      	useful tooltips, the insensitivity message still gets across.
      
      	* gladeui/glade-editor-table.c: Fixed breaking weak refs from dispose.
      
      
      svn path=/trunk/; revision=2018
      bde43f1a
  9. 05 Nov, 2008 2 commits
    • Tristan Van Berkom's avatar
      update changelog with bug number. · a3a6a843
      Tristan Van Berkom authored
      
      svn path=/trunk/; revision=2017
      a3a6a843
    • 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
  10. 01 Nov, 2008 1 commit
  11. 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
  12. 29 Oct, 2008 2 commits
  13. 28 Oct, 2008 5 commits
    • Tristan Van Berkom's avatar
      Rewrote GtkLabel implementation from top to bottom with custom editor (now · 68a6386f
      Tristan Van Berkom authored
      
      	* plugins/gtk+/glade-label-editor.[ch], plugins/gtk+/Makefile.am,
      	plugins/gtk+/gtk+.xml.in, plugins/gtk+/glade-gtk.c: Rewrote GtkLabel implementation from 
      	top to bottom with custom editor (now all those conflicting properties are dummy proofed) 
      	
      
      
      svn path=/trunk/; revision=2010
      68a6386f
    • Tristan Van Berkom's avatar
      Added liststore/treestore editor widget (only to better format the · ca1507bd
      Tristan Van Berkom authored
      	
      	* plugins/gtk+/glade-store-editor.[ch], plugins/gtk+/Makefile.am,
      	plugins/gtk+/gtk+.xml.in, plugins/gtk+/glade-gtk.c:
      	Added liststore/treestore editor widget (only to better format the "columns"
      	and "data" properties so that it takes the whole width with the treeview.
      
      
      svn path=/trunk/; revision=2009
      ca1507bd
    • Tristan Van Berkom's avatar
      Added icon factory editor widget (only to better format the "sources" · 6766371f
      Tristan Van Berkom authored
      
      	* plugins/gtk+/glade-icon-factory-editor.[ch], plugins/gtk+/Makefile.am,
      	plugins/gtk+/gtk+.xml.in, plugins/gtk+/glade-gtk.c:
      	Added icon factory editor widget (only to better format the "sources" property
      	so that it takes the whole width with the treeview.
      
      
      svn path=/trunk/; revision=2008
      6766371f
    • Tristan Van Berkom's avatar
      Fixed bugs around load/save of button/imagemenuitem label (stock driven) · 936511a4
      Tristan Van Berkom authored
      
      	* gladeui/glade-gtk.c: Fixed bugs around load/save of button/imagemenuitem
      	label (stock driven) properties.
      
      	* plugins/gtk+/glade-image-item-editor.c: Fixed a null dereference, glade_command_create()
      	sometimes ends up changeing the selection, so the editable may be reloaded in the
      	midst of its flow.
      
      	* gladeui/glade-property.c, gladeui/glade-widget-adaptor.c: Now check for pclass->save
      	and pclass->enabled *before* calling glade_property_write(), this allows plugins to
      	mark props as save="False" and save those properties with custom values, still allowing
      	them to use the GladeProperty api.
      
      
      svn path=/trunk/; revision=2007
      936511a4
    • 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
  14. 27 Oct, 2008 2 commits
    • Tristan Van Berkom's avatar
      Override type of GtkImage::icon-size to use real GTK_TYPE_ICON_SIZE for · c20614b4
      Tristan Van Berkom authored
      
      	* plugins/gtk+/glade-image-editor.[ch], plugins/gtk+/gtk+.xml.in, plugins/gtk+/glade-gtk.c,
      	gladeui/glade-property-class.c: Override type of GtkImage::icon-size to use real
      	GTK_TYPE_ICON_SIZE for editing purposes (needed to fix the core a bit for this), also
      	improved image editor to keep sizes contextual to image edit mode.
      
      
      svn path=/trunk/; revision=2005
      c20614b4
    • 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
  15. 26 Oct, 2008 2 commits
    • Tristan Van Berkom's avatar
      Added GtkToolButtonEditor editable implementation. · 70d528b5
      Tristan Van Berkom authored
      
      	* plugins/gtk+/Makefile.am, plugins/gtk+/glade-tool-button-editor.[ch]:
      	Added GtkToolButtonEditor editable implementation.
      
      	* plugins/gtk+/gtk+.xml.in, plugins/gtk+/glade-gtk.c: Reimplemented toolbuttons
      	from ground up.
      
      	* gladeui/glade-editor-property.c: object dialog now doesnt do "new" for unmentioned
      	abstract or uninstantiatable types, also enhanced dialog title.
      
      	* gladeui/glade-project.c: Moved "parse-finished" emission to /after/ resolving
      	object properties (doh !).
      
      
      svn path=/trunk/; revision=2003
      70d528b5
    • Tristan Van Berkom's avatar
      Fixed a crasher in project conversions. · b327ccf0
      Tristan Van Berkom authored
      
      	* gladeui/glade-command.c: Fixed a crasher in project conversions.
      
      
      svn path=/trunk/; revision=2002
      b327ccf0
  16. 25 Oct, 2008 3 commits
    • Tristan Van Berkom's avatar
      Properly convert toolbutton:icon both ways. · 1ce0de4d
      Tristan Van Berkom authored
      
      	* gladeui/glade-convert.c: Properly convert toolbutton:icon both ways.
      
      	* plugins/gtk+/glade-gtk.c: Undid a little toolbutton support so that
      	stock-id remains untouched and is accessible in builder format, TODO
      	rework toolbars and menus (will be simpler) with GladeEditable.
      
      
      svn path=/trunk/; revision=2001
      1ce0de4d
    • 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
    • Tristan Van Berkom's avatar
      Fixed a warning. · 867115d5
      Tristan Van Berkom authored
      
      	* plugins/gtk+/glade-cell-renderer-button.c: Fixed a warning.
      
      	* plugins/gtk+/glade-column-types.c, plugins/gtk+/glade-model-data.c,
      	plugins/gtk+/glade-icon-sources.c: Made sure add/remove works when
      	deleting unedited icon sources, all add buttons result in focus and
      	start-editing of an important cell in the underlying treeview.
      
      	* gladeui/glade-utils.c: Fixed generic enum types to use enum_class->minimum
      	as the default value.
      
      
      svn path=/trunk/; revision=1999
      867115d5