1. 15 Nov, 2008 2 commits
    • 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
  2. 13 Nov, 2008 3 commits
  3. 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
  4. 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
  5. 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
  6. 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
  7. 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
  8. 29 Oct, 2008 1 commit
  9. 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
  10. 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
  11. 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
  12. 25 Oct, 2008 6 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
    • Tristan Van Berkom's avatar
      mark some props save-always for overridden defaults in children (this one · 7e67585e
      Tristan Van Berkom authored
      
      	* plugins/gtk+/gtk+.xml.in: mark some props save-always for overridden
      	defaults in children (this one is bug 555726)
      
      
      svn path=/trunk/; revision=1998
      7e67585e
    • Tristan Van Berkom's avatar
      updating changelog to reflect bug report. · 208b9b53
      Tristan Van Berkom authored
      
      svn path=/trunk/; revision=1997
      208b9b53
    • Tristan Van Berkom's avatar
      Fixed glade_property_class_make_adjustment() for floating and double · 77a9f9ea
      Tristan Van Berkom authored
      
      	* gladeui/glade-property-class.c: Fixed glade_property_class_make_adjustment()
      	for floating and double values (page inc and size were not properly set).
      
      	* gladeui/glade-app.c: Fixed a warning
      
      	* gladeui/glade-editor-table.c: Was loading invisible properties, oops.
      	
      	* doc/properties.sgml: Documented custom-layout property.
      
      
      svn path=/trunk/; revision=1996
      77a9f9ea
  13. 24 Oct, 2008 2 commits
    • Tristan Van Berkom's avatar
      string_from_enum, now returns the nick and not the name (generally all · 101b8add
      Tristan Van Berkom authored
      
      	* gladeui/glade-property-class.c: string_from_enum, now returns the nick and not the
      	name (generally all around nicer menus when no displayable values and also smaller
      	nicer glade files). Displayable values are now consequently indexed by nick and not name.
      
      	* gladeui/glade-displayable-values.[ch]: Added reverse lookup glade_get_value_from_displayable()
      
      	* gladeui/glade-utils.[ch]: When doing glade_utils_enum/flag_value_from_string(), allow
      	displayable values (also added glade_utils_enum/flag_string_from_value_displayable()).
      
      	* plugins/gtk+/glade-icon-sources.c: Use all around displayable values for items
      	in the treeview.
      
      
      svn path=/trunk/; revision=1993
      101b8add
    • Tristan Van Berkom's avatar
      Added new #GladeEditable implementation for GtkButton general page. · 23d26f57
      Tristan Van Berkom authored
      
      	* plugins/gtk+/Makefile.am, plugins/gtk+/glade-button-editor.[ch]:
      	Added new #GladeEditable implementation for GtkButton general page.
      
      	* plugins/gtk+/glade-gtk.c, plugins/gtk+/gtk+.xml.in: Completely reworked GtkButton, 
      	much cleaner and less code now.
      
      
      
      svn path=/trunk/; revision=1992
      23d26f57
  14. 23 Oct, 2008 3 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
    • Tristan Van Berkom's avatar
      Rewrote displayable values so no need for redundancies anymore (bug · d8cb7c32
      Tristan Van Berkom authored
      
      	* gladeui/Makefile.am, gladeui/glade-displayable-values.[ch]: Rewrote displayable
      	values so no need for redundancies anymore (bug 556452). Also now displayable values
      	are more accessible for the plugin.
      
      	* plugins/gtk+/gtk+.xml.in, plugins/gnome/*.xml.in: Removed redundant displayable value
      	declarations (alot of them !).
      
      
      svn path=/trunk/; revision=1989
      d8cb7c32
  15. 22 Oct, 2008 2 commits
  16. 21 Oct, 2008 1 commit
    • 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