1. 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
  2. 24 Oct, 2008 4 commits
  3. 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
  4. 22 Oct, 2008 2 commits
  5. 21 Oct, 2008 5 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
    • Tristan Van Berkom's avatar
      Implemented something based on Pavel's patch, wordwrapping in the editor · 5018c669
      Tristan Van Berkom authored
      
      	* gladeui/glade-editor.c, gladeui/glade-editor-property.c: Implemented something
      	based on Pavel's patch, wordwrapping in the editor works better now.
      
      	* gladeui/glade-project.c: Fixed regression, now the inspector updates on widget
      	name changes.
      
      
      svn path=/trunk/; revision=1984
      5018c669
    • Tristan Van Berkom's avatar
      Abolished "View->Context Help" and added a context menu to editor · cdb0d7b3
      Tristan Van Berkom authored
      
      	* src/glade-window.c, gladeui/glade-editor.c, gladeui/glade-editor-property.[ch],
      	gladeui/glade-popup.[ch]: Abolished "View->Context Help" and added a context menu
      	to editor properties.
      
      
      svn path=/trunk/; revision=1983
      cdb0d7b3
    • Tristan Van Berkom's avatar
      Now can optionally make the entry non editable. · 5baf9db1
      Tristan Van Berkom authored
      
      	* plugins/gtk+/glade-cell-renderer-button.[ch], plugins/gtk+/glade-text-button.[ch]:
      	Now can optionally make the entry non editable.
      
      	* plugins/gtk+/glade-model-data.c: Added pixbuf editing support.
      
      	* doc/widgetclasses.sgml, doc/properties.sgml: Clarified docs.
      
      	* gladeui/glade-editor-property.[ch]: Removed resource editor, edit pixbuf with
      	string editor.
      
      	* gladeui/glade-widget-adaptor.c, gladeui/glade-property-class.c,
      	gladeui/glade-project.[ch]: Completely removed concept of resources, glade
      	no longer copies along pixbufs, pixbuf properties can include full paths
      	or relative paths, in the glade runtime; any pixbufs are only ever loaded
      	from the glade project directory (only the basename is used).
      
      
      svn path=/trunk/; revision=1982
      5baf9db1
  6. 20 Oct, 2008 1 commit
  7. 18 Oct, 2008 1 commit
    • Tristan Van Berkom's avatar
      Now support editing enum types · 7c0ea19f
      Tristan Van Berkom authored
      
      	* plugins/gtk+/glade-model-data.c: Now support editing enum types
      
      	* plugins/gtk+/glade-column-types.c: Generate a list of enum and flag column types to select from.
      
      
      svn path=/trunk/; revision=1979
      7c0ea19f
  8. 17 Oct, 2008 3 commits
  9. 16 Oct, 2008 4 commits
    • Tristan Van Berkom's avatar
      fixed ui a bit · e098b685
      Tristan Van Berkom authored
      svn path=/trunk/; revision=1975
      e098b685
    • Tristan Van Berkom's avatar
      Cleaned up code, now data will dynamically reorder itself upon column · c3a2cd32
      Tristan Van Berkom authored
      
      	* plugins/gtk+/glade-gtk.c, plugins/gtk+/glade-column-types.c, plugins/gtk+/glade-model-data.c:
      	Cleaned up code, now data will dynamically reorder itself upon column changes, data is mostly
      	all editable save for some glitches, and all columns have unique names to which the data is
      	directly related.
      
      
      svn path=/trunk/; revision=1974
      c3a2cd32
    • Juan Pablo Ugarte's avatar
      applied proposed patch for bug #547431 '"Scale" ambiguous for translation' · 40af51e3
      Juan Pablo Ugarte authored
      * plugins/gtk+/glade-attributes.c: applied proposed patch for bug #547431
        '"Scale" ambiguous for translation' <Theppitak Karoonboonyanan>
      
      svn path=/trunk/; revision=1973
      40af51e3
    • 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
  10. 12 Oct, 2008 2 commits
  11. 11 Oct, 2008 1 commit
  12. 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
  13. 29 Sep, 2008 3 commits
    • Alexander Shopov's avatar
      Updated Bulgarian translation by Alexander Shopov <ash@contact.bg> · 54ddfac5
      Alexander Shopov authored
      2008-09-29  Alexander Shopov  <ash@contact.bg>
      
      	* bg.po: Updated Bulgarian translation by
      	Alexander Shopov <ash@contact.bg>
      
      svn path=/trunk/; revision=1965
      54ddfac5
    • Tristan Van Berkom's avatar
      Exported glade_column_list_copy/free() · 6c5e4e2a
      Tristan Van Berkom authored
      
      	* plugins/gtk+/glade-column-types.[ch]: Exported glade_column_list_copy/free()
      
      	* plugins/gtk+/glade-model-data.[ch], plugins/gtk+/Makefile.am: Added model data
      	  pspec, editor not compĺete yet...
      	
      	* plugins/gtk+/glade-gtk.c, plugins/gtk+/gtk+.xml.in: Implemented new pspec as
      	  list/treestore's "data" property with load/save support.
      
      	* plugins/gtk+/glade-convert.c: Made combos convert correctly with new modeldata
      	  pspec.
      
      	* gladeui/glade-utils.[ch]: Added glade_utils_liststore_from_enum_type()
      
      
      svn path=/trunk/; revision=1963
      6c5e4e2a
    • Juan Pablo Ugarte's avatar
      added missing files. close bug #554258 "glade-column-types.h missing" · ee72eaea
      Juan Pablo Ugarte authored
      * plugins/gtk+/glade-column-types.[ch]: added missing files.
        close bug #554258 "glade-column-types.h missing"
      
      svn path=/trunk/; revision=1962
      ee72eaea
  14. 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
  15. 25 Sep, 2008 1 commit
  16. 22 Sep, 2008 2 commits
    • Juan Pablo Ugarte's avatar
      fixed bug #543314 "Crash when adding an Input DIalog" added · 2a9084c3
      Juan Pablo Ugarte authored
      * plugins/gtk+/glade-gtk.c: fixed bug #543314 
        "Crash when adding an Input DIalog"
        added glade_gtk_dialog_stop_offending_signals()
        to stop "hierarchy-changed" and "screen-changed"
        default handlers in GtkInputDialog and GtkFileChooserWidget
      
      svn path=/trunk/; revision=1956
      2a9084c3
    • 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