1. 25 Nov, 2008 4 commits
    • Tristan Van Berkom's avatar
      Added editor support for Icon View. · 21605e92
      Tristan Van Berkom authored
      
      	* plugins/gtk+/glade-gtk.c, plugins/gtk+/gtk+.xml.in: Added editor support for Icon View.
      
      	* plugins/gtk+/glade-cell-renderer-editor.c: Export a new function to get the model from
      	the renderer regardless of the layout type.
      
      	* plugins/gtk+/glade-treeview-editor.c: Now supports editing any view that can have a model,
      	and pops up the store editor automatically on the right of the normal widget editor.
      
      
      svn path=/trunk/; revision=2051
      21605e92
    • Tristan Van Berkom's avatar
      fixed a remaining crasher... · 0b940e4d
      Tristan Van Berkom authored
      
      svn path=/trunk/; revision=2050
      0b940e4d
    • Tristan Van Berkom's avatar
      Fixed check for wrapperless objects returned by adaptor_get_children(). · be4f8798
      Tristan Van Berkom authored
      
      	* gladeui/glade-command.c: Fixed check for wrapperless objects returned by adaptor_get_children().
      
      
      svn path=/trunk/; revision=2049
      be4f8798
    • Tristan Van Berkom's avatar
      Hijack the cntl-n accelerator too now. · f8371bbb
      Tristan Van Berkom authored
      
      	* gladeui/glade-utils.c: Hijack the cntl-n accelerator too now.
      
      	* plugins/gtk+/glade-column-types.c, plugins/gtk+/glade-model-data.c, plugins/gtk+/glade-store-editor.c:
      	Enhanced model editing, now there is completion in type names, and column types are defined inline
      	with no add or delete keys, model data can be edited and navigated without using the pointer either.
      
      
      svn path=/trunk/; revision=2048
      f8371bbb
  2. 24 Nov, 2008 2 commits
  3. 23 Nov, 2008 3 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
    • Jorge Gonzalez Gonzalez's avatar
      Updated Spanish translation · 93bf0105
      Jorge Gonzalez Gonzalez authored
      svn path=/trunk/; revision=2043
      93bf0105
  4. 22 Nov, 2008 4 commits
    • Tristan Van Berkom's avatar
      added niceness · 61e3f47c
      Tristan Van Berkom authored
      svn path=/trunk/; revision=2042
      61e3f47c
    • Tristan Van Berkom's avatar
      New editor to group the treeview and model together in the base editor · 6d8d9fad
      Tristan Van Berkom authored
      
      	* plugins/gtk+/Makefile.am, plugins/gtk+/glade-treeview-editor.[ch]: New editor to group
      	  the treeview and model together in the base editor treeview editor
      
      	* gladeui/glade-editor-table.c: 
      	  - Load propertes up a realize time (some sizes need negotiation when loaded editables
      	    are going into dialogs that are not yet on screen).
      
      
      svn path=/trunk/; revision=2041
      6d8d9fad
    • Tristan Van Berkom's avatar
      Fixed a warning hiding a never built label · 735576a9
      Tristan Van Berkom authored
      
      	* gladeui/glade-editor-table.c: Fixed a warning hiding a never built label
      
      	* plugins/gtk+/gtk+.xml.in, plugins/gtk+/glade-gtk.c: 
      	  - First itteration on the treeview editor, removed annoying actions for column/cell
      	    hierarchy and do it all in the editor, added position packing property to treeview
      	    column for this (treeview column still implemented generically as a cell layout).
      
      
      svn path=/trunk/; revision=2040
      735576a9
    • Tristan Van Berkom's avatar
      - Removed apis to add popups, now they are autogenerated - Added · d4a36f7c
      Tristan Van Berkom authored
      
      	* gladeui/glade-base-editor.c: 
      	  - Removed apis to add popups, now they are autogenerated
      	  - Added glade_base_editor_append_types(), glade_base_editor_new() now
      	    only adds types supported by the container object, use _append_types() to
      	    define hierarcic type relations for children.
      
      	* plugins/gtk+/gtk+.xml.in, plugins/gtk+/glade-gtk.c: Now the toolbar editor
      	  can add menus and edit menus inside the gtkmenutoolbutton (fixed bug 429438).
      
      
      svn path=/trunk/; revision=2039
      d4a36f7c
  5. 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
  6. 19 Nov, 2008 3 commits
  7. 16 Nov, 2008 1 commit
  8. 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
  9. 13 Nov, 2008 3 commits
  10. 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
  11. 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
  12. 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
  13. 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
  14. 01 Nov, 2008 1 commit
  15. 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
  16. 29 Oct, 2008 1 commit