1. 03 Apr, 2008 1 commit
    • Tristan Van Berkom's avatar
      merging builder branch into trunk · 64bb8141
      Tristan Van Berkom authored
      
      A    plugins/gtk+/glade-keysyms.c
      M    plugins/gtk+/glade-gtk.c
      M    plugins/gtk+/gtk+.xml.in
      A    plugins/gtk+/glade-accels.c
      M    plugins/gtk+/Makefile.am
      A    plugins/gtk+/glade-accels.h
      M    ChangeLog
      M    gladeui/glade-editor.c
      M    gladeui/glade-editor-property.c
      M    gladeui/glade-editor-property.h
      M    gladeui/glade-widget.c
      M    gladeui/glade-widget.h
      M    gladeui/glade-widget-adaptor.c
      M    gladeui/glade-command.c
      M    gladeui/glade-widget-adaptor.h
      M    gladeui/glade-parser.c
      M    gladeui/glade-xml-utils.c
      M    gladeui/glade-base-editor.c
      M    gladeui/glade-utils.c
      D    gladeui/glade-parser.h
      M    gladeui/glade-signal-editor.c
      M    gladeui/glade-xml-utils.h
      D    gladeui/glade-keysyms.c
      M    gladeui/glade-property.c
      M    gladeui/glade-property-class.c
      M    gladeui/glade-property.h
      M    gladeui/glade-builtins.c
      M    gladeui/glade-property-class.h
      M    gladeui/glade-builtins.h
      M    gladeui/glade-project.c
      M    gladeui/glade-signal.c
      M    gladeui/Makefile.am
      M    gladeui/glade-signal.h
      
      svn path=/trunk/; revision=1764
      64bb8141
  2. 12 Apr, 2007 1 commit
    • Vincent Geddes's avatar
      Auto-generate `gladeui.def' for DLL symbol exports. Remove · 48cacc47
      Vincent Geddes authored
      	* gladeui/Makefile.am: Auto-generate `gladeui.def' for DLL symbol
      	  exports. Remove -DINSIDE_LIBGLADEUI from libgladeui_1_la_CPPFLAGS.
      
      	* gladeui/glade-accumulators.h, gladeui/glade-app.h,
      	  gladeui/glade-base-editor.h, gladeui/glade-binding.h,
      	  gladeui/glade-builtins.h, gladeui/glade-catalog.h,
      	  gladeui/glade-clipboard-view.h, gladeui/glade-clipboard.h,
      	  gladeui/glade-command.h, gladeui/glade-custom.h,
      	  gladeui/glade-debug.h, gladeui/glade-design-view.h,
      	  gladeui/glade-editor-property.h, gladeui/glade-editor.h,
      	  gladeui/glade-fixed.h, gladeui/glade-palette.h,
      	  gladeui/glade-parameter.h, gladeui/glade-placeholder.h,
      	  gladeui/glade-project-view.h, gladeui/glade-project.h,
      	  gladeui/glade-property-class.h, gladeui/glade-property.h,
      	  gladeui/glade-signal-editor.h, gladeui/glade-utils.h,
      	  gladeui/glade-widget-adaptor.h, gladeui/glade-widget.h,
      	  gladeui/glade.h:
      	  Remove LIBGLADEUI_API function attributes.
      
      	* plugins/gnome/glade-gnome.c, plugins/gtk+/glade-gtk.c,
      	  plugins/gtk+/glade-gtk.h:
      	  Remove GLADEGTK_API and GLADEGNOME_API function attributes.
      
      svn path=/trunk/; revision=1248
      48cacc47
  3. 03 Mar, 2007 1 commit
    • Tristan Van Berkom's avatar
      - Added property_set_save_always() functions - Introspect initial values · 6c81970c
      Tristan Van Berkom authored
      
      	* gladeui/glade-property.[ch], gladeui/glade-widget.[ch]:
      	  - Added property_set_save_always() functions
      	  - Introspect initial values of all properties even if they're
      	    not composite children (sometimes derived widgets set a property
      	    to a non-default value).
      
      	* plugins/gtk+/glade-gtk.c: set "save-always" on the "type-hint"
      	  property of GtkDialog. Bug #412848.
      
      
      svn path=/trunk/; revision=1147
      6c81970c
  4. 21 Feb, 2007 1 commit
    • Juan Pablo Ugarte's avatar
      make glade_property_new() always return instrospected value · 7011d381
      Juan Pablo Ugarte authored
      * gladeui/glade-property.[ch]: make glade_property_new() always
        return instrospected value (catalog_default parameter removed)
      
      * gladeui/glade-widget.c: added glade_widget_set_catalog_defaults()
        to set catalog default values in glade_widget_constructor() when
        the widget is created by the user.
      
      * plugins/gtk+/glade-gtk.c: glade_gtk_menu_item_get_children()
        added GtkImageMenuItem support. fix bug #404322
      
      * plugins/gtk+/gtk+.xml.in: GtkMenuItem get-children function
       renamed to glade_gtk_menu_item_get_children
      
      svn path=/trunk/; revision=1124
      7011d381
  5. 15 Feb, 2007 1 commit
    • Juan Pablo Ugarte's avatar
      added glade_widget_property_original_default() · e19eaa02
      Juan Pablo Ugarte authored
      * gladeui/glade-widget.[ch]: added glade_widget_property_original_default()
      
      * gladeui/glade-property.[ch]: added glade_property_original_default()
        and glade_property_original_reset()
      
      * plugins/gtk+/glade-gtk.c: fixed bug 397043
        "Not able to set label and stock separately in GtkImageMenuItems"
      
      * plugins/gtk+/gtk+.xml.in: added generic-name to GtkMenuShell.
      
      svn path=/trunk/; revision=1106
      e19eaa02
  6. 23 Jan, 2007 1 commit
  7. 12 Dec, 2006 1 commit
    • Tristan Van Berkom's avatar
      src/glade-base-editor.c src/glade-clipboard-view.c src/glade-command.c · c1fabcc8
      Tristan Van Berkom authored
      
      	* src/glade-base-editor.c src/glade-clipboard-view.c src/glade-command.c
      	src/glade-command.h src/glade-design-layout.c src/glade-design-view.c
      	src/glade-editor-property.c src/glade-editor-property.h
      	src/glade-editor.c src/glade-gnome.c src/glade-gtk.c
      	src/glade-palette-box.c src/glade-palette-item.c src/glade-palette.c
      	src/glade-project-view.c src/glade-project-window.c
      	src/glade-project.c src/glade-property-class.c
      	src/glade-property-class.h src/glade-property.c src/glade-property.h
      	src/glade-python-gwa.c src/glade-python.c src/glade-utils.c
      	src/glade-utils.h src/glade-widget-adaptor.c
      	src/glade-widget-adaptor.h src/glade-widget.c src/glade-widget.h
      
      	Renamed reserved C++ keywords "new", "class", "virtual", "template" and "this"
      	as a prerequisite for adding gtkmm bindings
      c1fabcc8
  8. 19 Oct, 2006 1 commit
  9. 13 Jul, 2006 1 commit
    • Juan Pablo Ugarte's avatar
      added files glade-base-editor.[ch] · 0c4e3578
      Juan Pablo Ugarte authored
      	* src/Makefile.am: added files glade-base-editor.[ch]
      
      	* src/glade-accumulators.[ch]: new accumulators
      	  glade_string_accumulator() and glade_stop_emission_accumulator ()
      
      	* src/glade-app.c, src/glade-project.c and src/glade-command.c:
      	  use of GladeWidgetClass toplevel flag.
      
      	* src/glade-gtk.c: Use of GladeBaseEditor for GtkMenuBar, GtkToolBar
      	  and GtkMenu editors.
      
      	* src/glade-marshallers.list: added OBJECT:OBJECT,UINT
      	  BOOLEAN:OBJECT,UINT BOOLEAN:OBJECT,OBJECT and STRING:OBJECT
      
      	* src/glade-property.[ch]: Added old_value parameter to GladeProject
      	  "value_changed" signal.
      
      	* src/glade-widget-class.[ch]: added toplevel flag to GladeWidgetClass
      
      	* src/glade.h: added GLADE_XML_TAG_TOPLEVEL
      
      	* src/glade-base-editor.[ch]: Created GladeBaseEditor class from
      	  GtkMenuBarEditor code from glade-gtk.c
      
      	* widgets/gtk+.xml.in:
      	  o added launch-editor-function for GtkToolbar and GtkMenu.
      	  o Set GtkTextView post-create-function to empty (we do not need a
      	    placeholder in it).
      	  o Set toplevel="True" in GtkWindow and GtkMenu.
      
      	* doc/widgetclasses.sgml: added toplevel property docs
      
      	* po/POTFILES.in: added src/glade-base-editor.c
      0c4e3578
  10. 17 Jun, 2006 1 commit
    • Tristan Van Berkom's avatar
      Added glade_property_[push/pop]_superuser() · d3038a8e
      Tristan Van Berkom authored
      
      	* src/glade-property.[ch]: Added glade_property_[push/pop]_superuser()
      
      	* src/glade-command.c: refined set_property_execute() and started using
      	  glade_property_push/pop_superuser().
      
      	* src/glade-project.c: super-user property mode at load time.
      
      	* src/glade-fixed.c: Added "can-resize" property
      
      	* src/glade-widget-class.c: Made sure to parse a "Fixed" if there are no
      	  other child tags.
      
      	* src/glade-gtk.c, widgets/gtk+.xml.in: Implemented drag on GtkBox children
      d3038a8e
  11. 06 May, 2006 1 commit
    • Tristan Van Berkom's avatar
      Applied patch for bug 340692 · ef7d9f23
      Tristan Van Berkom authored
      
      	* doc/Makefile.am: Applied patch for bug 340692
      
      	* src/glade-command.c: glade_command_set_property (), return if
      	  the command doesnt change the property.
      
      	* src/glade-editor-property.c: GladeEPropText, if string property is NULL
      	  and we recieve "" from the entry, set the property to NULL, if we get
      	  NULL from the entry and the property is "", then set the property to
      	  "", otherwise set the property to the entry text. (this fixes 339832)
      
      	* src/glade-property.[ch]: constified GValue argument to
      	  glade_property_equals_value ().
      ef7d9f23
  12. 24 Apr, 2006 2 commits
    • Tristan Van Berkom's avatar
      Fixed load & save of internal buttons · 7372123c
      Tristan Van Berkom authored
      	* src/glade-gtk.c: Fixed load & save of internal buttons
      
      	* src/glade-property.[ch]: Added glade_property_load()
      	  (to introspect property values on internal children of composite
      	  widgets at creation time).
      
      	* src/glade-widget.c: introspect property values on internal children of composite
      	  widgets at creation time
      7372123c
    • Tristan Van Berkom's avatar
      Updated · 00859f54
      Tristan Van Berkom authored
      
      	* TODO: Updated
      
      	* doc/gladeui-sections.txt updated
      
      	* src/glade-app.[ch]: Majorly reduced the api, now GladeApp is a
      	  singleton. Added "active-project" signal.
      
      	* src/glade-builtins.[ch]: Removed unused variable. Enhanced objects
      	  pspec type to recognize interfaces. Added glade_param_spec_objects_get_type()
      
      	* src/glade-clipboard-view.c: Trying a cute border.
      
      	* src/glade-command.c, src/glade-fixed-manager.c,
      	  src/glade-placehodler.c, src/glade-popup.c, src/glade-project-view.c,
      	  src/glade-project-window.c:
      	  Updated for glade-app changes
      
      	* src/glade-editor-property.c: Implemented objects pspec
      
      	* src/glade-editor.[ch]: Added atk tab, added cuteness.
      
      	* src/glade-gtk.c:
      	  o Translated image type names
      	  o Added button types (translated)
      	  o Support for button label & use-underline properties
      
      	* src/glade-parser.c:
      	  o Updated for glade-app changes
      	  o Added save support for atk actions and relations.
      
      	* src/glade-project.c:
      	  o Updated for glade-app changes
      	  o Fixed glade_project_fix_object_props for object lists
      
      	* src/glade-property-class.[ch]:
      	  o Hardcoded atk relations and action names
      	  o Added glade_property_class_make_gvalue(),
      	    glade_property_class_get_from_gvalue(),
      	    glade_property_class_new_atk_action(),
      	    glade_property_class_list_atk_relations(),
      	    glade_property_class_atk_realname()
      	  o Fixed glade_property_class_is_object()
      	    (object lists qualify)
      
      	* src/glade-property.[ch]:
      	  o Integrated property load proceedure into glade-property,
      	    loading code much cleaner and less redundant.
      	    (Added glade_property_read())
      	  o Implemented atk properties (save/load)
      
      	* src/glade-utils.[ch]: Added glade_util_read_prop_name(),
      	  glade_util_added_in_list(), glade_util_removed_from_list(),
      	  glade_util_class_implements_interface()
      
      	* src/glade-widget-class.c: Introspect atk properties
      
      	* src/glade-widget.c: Simplified load code, moved property load
      	  code to glade-property, save atk props properly.
      
      	* src/glade.h: Removed the unused atk-relation tag.
      
      	* src/main.c: Load gail (for atk action introspection)
      
      	* src/atk.xpm: New atk icon
      
      	* widgets/gtk+.xml.in:
      	  o GtkLabel label property --> translatable
      	  o GtkButton label property --> translatable, multi-line
      	  o Added GtkButton "type" property and GtkButton remove-child-function
      00859f54
  13. 01 Mar, 2006 1 commit
    • Tristan Van Berkom's avatar
      Added "catalog_default" arg to glade_property_new() and adjusted callers. · 47fd7cd5
      Tristan Van Berkom authored
      	* src/glade-property.[ch], src/glade-widget.[ch]: Added
      	  "catalog_default" arg to glade_property_new() and adjusted callers.
      
      	* src/glade-property-class.[ch]: Ensure that there are always
      	  ->def and ->orig_def members resolved.
      
      	* src/glade-gtk.c:
      	  o GtkBox loading issues fixed.
      	  o Removed unused code from: glade_gtk_table_has_child and
      	    glade_gtk_table_refresh_placeholders.
      
      	* src/glade-widget.c:
      	  o Ignore properties properly when creating the object.
      	    (glade_widget_params_from_widget_info and
      	    glade_widget_build_object functions)
      	  o Use the introspected default value for properties when
      	    loading a project. glade_widget_properties_from_widget_info
      
      	* widgets/gtk+.xml.in: Avoid warnings.
      	  o Ignore GtkWidget has-default property.
      	  o Ignore GtkComboBox active, column-span-column and row-span-column properties.
      47fd7cd5
  14. 07 Feb, 2006 1 commit
    • Tristan Van Berkom's avatar
      require automake 1.9 · d6ea83cb
      Tristan Van Berkom authored
      
      
      	* autogen.sh: require automake 1.9
      
      	* Makefile.am, doc/Makefile.am, doc/.cvsignore, configure.in:
      	  Added environment for gtk-doc generation.
      
      	* doc/glade-docs.sgml, doc/glade-sections.txt, doc/glade.types,
      	  doc/version.xml.in, doc/tmpl/*: Added initial documentation
      	  metadata.
      
      	* src/*.h: Line break LIBGLADEUI_API everywhere so that documentation
      	  generation works (wierd trade, I know).
      
      	* po/POTFILES.in: Added glade-custom.c
      
      Modified Files:
      	ChangeLog Makefile.am autogen.sh configure.in po/POTFILES.in
      	src/glade-app.h src/glade-catalog.h src/glade-clipboard-view.h
      	src/glade-clipboard.h src/glade-command.c src/glade-command.h
      	src/glade-editor-property.c src/glade-editor-property.h
      	src/glade-editor.c src/glade-editor.h
      	src/glade-fixed-manager.h src/glade-gtk.c src/glade-palette.h
      	src/glade-parameter.h src/glade-placeholder.h
      	src/glade-popup.c src/glade-project-view.c
      	src/glade-project-view.h src/glade-project-window.c
      	src/glade-project.c src/glade-project.h
      	src/glade-property-class.c src/glade-property-class.h
      	src/glade-property.c src/glade-property.h
      	src/glade-signal-editor.h src/glade-signal.c src/glade-utils.c
      	src/glade-utils.h src/glade-widget-class.h src/glade-widget.c
      	src/glade-widget.h src/glade-xml-utils.h
      Added Files:
      	doc/.cvsignore doc/Makefile.am doc/glade-docs.sgml
      	doc/glade-sections.txt doc/glade.types doc/version.xml.in
      	doc/tmpl/glade-app.sgml doc/tmpl/glade-catalog.sgml
      	doc/tmpl/glade-clipboard-view.sgml
      	doc/tmpl/glade-clipboard.sgml doc/tmpl/glade-command.sgml
      	doc/tmpl/glade-editor-property.sgml doc/tmpl/glade-editor.sgml
      	doc/tmpl/glade-fixed-manager.sgml doc/tmpl/glade-palette.sgml
      	doc/tmpl/glade-parameter.sgml doc/tmpl/glade-parser.sgml
      	doc/tmpl/glade-placeholder.sgml
      	doc/tmpl/glade-project-view.sgml doc/tmpl/glade-project.sgml
      	doc/tmpl/glade-property-class.sgml
      	doc/tmpl/glade-property.sgml doc/tmpl/glade-signal-editor.sgml
      	doc/tmpl/glade-signal.sgml doc/tmpl/glade-utils.sgml
      	doc/tmpl/glade-widget-class.sgml doc/tmpl/glade-widget.sgml
      d6ea83cb
  15. 28 Dec, 2005 1 commit
    • Tristan Van Berkom's avatar
      glade_command_cut_copy_paste_common(); fixed "project" source in case of · 751d222f
      Tristan Van Berkom authored
      
      	* src/glade-command.c: glade_command_cut_copy_paste_common(); fixed
      	  "project" source in case of `type == GLADE_PASTE'
      
      	* src/glade-editor-property.c: Clean up compiler warnings, removed useless
      	  mnemonic label.
      
      	* src/glade-project.[ch], src/glade-property.c, src/glade-widget.[ch]:
      	  Implemented references on widgets from object properties, object properties
      	  are automaticly set to NULL when the target object is removed from its
      	  project, an undo will result in the object being re-added to the project;
      	  and its reffered properties to be reset to thier previous value.
      751d222f
  16. 27 Dec, 2005 1 commit
    • Tristan Van Berkom's avatar
      Added GLADE_TYPE_EPROP_OBJECT (object properties) · 1fc74d5f
      Tristan Van Berkom authored
      
      
      	* src/glade-editor-property.c: Added GLADE_TYPE_EPROP_OBJECT (object properties)
      
      	* src/glade-parser.[ch]:
      	  o Exported new function: glade_parser_pvalue_from_winfo()
      	  o Removed duplicate implementation of alloc_string & alloc_propname
      
      	* src/glade-project-view.c: Will display toplevel widgets which are not
      	  nescisarily GtkWidgets.
      
      	* src/glade-project.c, src/glade-widget.c: Implemented a kick-start so
      	  that object properties are loaded/looked up after the whole project
      	  is finished loading.
      	  (glade-widget.c: Added glade_widget_has_decendant)
      
      	* src/glade-property-class.[ch]:
      	  o Added object support to glade_property_class_make_gvalue_from_string &
      	    glade_property_class_make_string_from_gvalue
      	  o Added glade_property_class_is_object, glade_property_class_make_gvalue_from_vl &
      	    glade_property_class_set_vl_from_gvalue.
      
      	* src/glade-property.[ch]:
      	  o Added documentation
      	  o Added glade_property_equals_value, glade_property_equals_va_list & glade_property_equals
      
      
      	* src/glade-gtk.c: Removed unneeded radio button "group" property support
      	  (handled genericly as an object property)
      
      	* widgets/gtk+.xml.in: Disabled alot of irrelevent object type properties,
      	  removed the custom "group" property on radio buttons.
      1fc74d5f
  17. 08 Oct, 2005 1 commit
    • Tristan Van Berkom's avatar
      Revamping of the glade-editor, wrenched out the GladeEditorProperty code · 89f70a7e
      Tristan Van Berkom authored
      
      	* src/glade-editor.[ch], src/glade-editor-property.[ch], src/Makefile.am:
      	  Revamping of the glade-editor, wrenched out the GladeEditorProperty code
      	  from glade-editor.[ch] and created glade-editor-property.[ch], lots of
      	  code cleanup all around and now GladeEditorProperty is a GtkWidget with
      	  a smooth encapsulation, transperent derivitives for different pspec types
      	  and can now be used standalone inside custom editors.
      
      	* src/glade-property.[ch]: clarified recursion protection with "syncing" var.
      
      	* src/glade-property-class.c: Now consults glade_editor_property_supported instead
      	  of the old glade_editor_editable_property.
      89f70a7e
  18. 02 Sep, 2005 1 commit
    • Tristan Van Berkom's avatar
      Added glade_command_set_properties_list(). · 357743fc
      Tristan Van Berkom authored
      
      	* src/glade-command.[ch]: Added glade_command_set_properties_list().
      
      	* src/glade-editor.[ch]: Added reset dialog, used property_class->visible_lines
      	  instead of GladeParams
      
      	* src/glade-project-window.c: Minor GUI touchups.
      
      	* src/glade-property-class.[ch], src/glade.h: Implemented visible_lines tag loading,
      	  touched up comments.
      
      	* src/glade-property.[ch]: Added glade_property_get_default()
      
      	* src/glade-signal-editor.c: Removed the search box from the non-searchable treeview.
      
      	* src/glade-xml-utils.c: fixed up allocator confusions a bit.
      
      	* widgets/gtk+.xml: Made GtkLabel's label property multi-lined.
      357743fc
  19. 09 Aug, 2005 1 commit
    • Tristan Van Berkom's avatar
      Added new GladeFixedManager code to handle GtkFixed and GtkLayout in a · 7f477ebb
      Tristan Van Berkom authored
      
      	* src/Makefile.am, src/glade-accumulators.[ch], glade-fixed-manager.[ch]:
      	  Added new GladeFixedManager code to handle GtkFixed and GtkLayout in a
      	  sexier fashion (and in a way that allows any GtkContainer to subscribe
      	  to this service through the plugin).
      
      	* src/glade-builtins.c: Fixed date typo
      
      	* src/glade-command.[ch]:
      	    - glade_command_set_properties () added to set multiple properties at
      	      the same time plus allowing to specify the old value that it changed
      	      from (this is usefull for drag & resize undo events).
      
      	    - Added a g_object_ref to the properties in set property commands
      
      	    - Create/Delete/Cut/Paste code to now use GladeFixedManager where appropriate
      
      	    - Now when we "Cut" a widget, we save a copy of its packing properties for
      	      future undo's (if it was pasted in another container and "undo" a couple
      	      times, this becomes nescisary).
      
      	* src/glade-cursor.[ch]: Added all the new cursor types needed
      	  for drag/resize events.
      
      	* src/glade-editor.[ch]: Handle property signals better, added
      	  signal handler for "value-changed" & "notify::enabled" signals to reload
      	  & update property values, removed alot of redundant property reloading code.
      
      	* src/glade-gtk.c: Remove the old clunky GtkFixed handling code and replaced
      	  it with a call to glade_fixed_manager_new () (also implemented fixed manager
      	  for GtkLayout).
      
      	* src/glade-marshallers.list: Added new marshallers
      
      	* src/glade-project-window.c, main.c: Removed all those includes and
      	  replaced with #include "glade.h".
      
      	* src/glade-property.[ch]: Fixed broken types from when I played with headers,
      	  now the forward declarations are back. (also changed CINFO for the more popular
      	  alternative; KLASS).
      
      	* src/glade-utils.c: glade_util_paste_clipboard () now is GladeFixedManager aware.
      
      	* src/glade-widget.[ch]:
      	    - use glade-fixed-manager to add children when loading glade files
      	    - notify manager of handled mouse events (this is a hack that should
      	      go, once we handle the streamlining of button-press-events on GladeWidget's
      	      properly).
      	    - fixed broken types.
      	    - Added glade_widget[_pack]_property_set_enabled()
      	    - Added some doc.
      	    - Made glade_widget_retrieve_from_position() public.
      
      	* src/glade.h: Added headers.
      
      	* widgets/gtk+.xml: GladeFixedManager on GtkFixed & GtkLayout.
      7f477ebb
  20. 01 Aug, 2005 1 commit
    • Tristan Van Berkom's avatar
      Removed · eacde773
      Tristan Van Berkom authored
      
      	* src/glade-types.h, src/glade-plugin.h: Removed
      
      	* src/Makefile.am src/glade-app.h src/glade-builtins.h
      	  src/glade-catalog.h src/glade-clipboard.h src/glade-command.c
      	  src/glade-command.h src/glade-cursor.h src/glade-editor.c
      	  src/glade-editor.h src/glade-gtk.c src/glade-palette.h
      	  src/glade-parameter.h src/glade-parser.h
                src/glade-placeholder.c src/glade-placeholder.h
                src/glade-project-view.h src/glade-project-window.h
                src/glade-project.c src/glade-project.h
                src/glade-property-class.c src/glade-property-class.h
                src/glade-property.c src/glade-property.h
                src/glade-signal-editor.c src/glade-signal-editor.h
                src/glade-signal.h src/glade-utils.h src/glade-widget-class.c
                src/glade-widget-class.h src/glade-widget.c src/glade-widget.h
                src/glade-xml-utils.h src/glade.h:
      	  Now "glade.h" is the libgladeui API include for both the plugin and
      	  the application side (Fixed sources in consequence to a few broken types).
      eacde773
  21. 31 Jul, 2005 1 commit
    • Tristan Van Berkom's avatar
      Cleared up property->class references, Added comments, Made spin button · 81ed8652
      Tristan Van Berkom authored
      
      	* src/glade-editor.c: Cleared up property->class references, Added comments,
      	  Made spin button adjustments from the class, not from Glade Parameters.
      
      	* src/glade-parameter.[ch]: Removed convenience create_adjustement function,
      	  Certain data found in the xml file is parsed directly onto the class data and
      	  others are dynamicly added through glade params, for this reason I'm
      	  depricating use of glade-parameters in the core code, glade-parameters can
      	  be kept around as a usefull configuration mechanism for plugin writers.
      
      	* src/glade-gtk.c:
      	    - Added special enum type & pspec for GtkImage
      	    - Now GtkImage uses one of three methods to save
      	        o Filename
      	        o Stock
      	        o Icon Theme
      	      the appropriate controls are disabled & enabled
      	      accordingly and survive a save/load with no custom
      	      property help.
      	    - Icon Size is disabled if a Pixel Size is specified
      	      (as pixel size takes precedence on this object).
      	    - Removed pointless unfinished API doc headers, the core
      	      (i.e. libgladeui) could well be documented for use by
      	      plugin writers and application writers (like anjuta for
      	      instance) but in the plugin its pretty pointless.
      
      	* src/glade-property-class.[ch]:
      	    - Fiddled with g_critical outputs
      	    - Added glade_property_class_make_adjustment
      	    - Added LIBGLADEUI_API to func headers.
      
      	* src/glade-property.[ch]: Added glade_property_reset()/glade_property_default()
      	* src/glade-widget.[ch]: Added glade_widget_property_reset(),
      	  glade_widget_pack_property_reset(), glade_widget_property_default(),
      	  glade_widget_pack_property_default().
      
      	* src/glade.h: Added definitions for defaults in editor adjustments.
      
      	* widgets/gtk+.xml: Added information for GtkImage properties.
      81ed8652
  22. 30 Jul, 2005 1 commit
    • Tristan Van Berkom's avatar
      stock spec name fixed and removed construct only. · 67fb3f57
      Tristan Van Berkom authored
      	* src/glade-builtins.c: stock spec name fixed and removed construct only.
      
      	* src/glade-property.c:
      	  - Fixed glade_property_dup () to use properties.
      	  - Fixed double free in glade_property_finalize (thankyou valgrind)
      
      	* src/main.c: Removed workaround for an old fixed bug in gtk+, no reason to have
      	  obscure code like that when we are targeting a recent version of gtk+.
      
      	* widgets/gtk+.xml: Ignore selectable changes & implement ignore property
      
      	* src/glade-property-class.c, src/glade-property.[ch]: implement ignore
      67fb3f57
  23. 29 Jul, 2005 2 commits
    • Tristan Van Berkom's avatar
      Simplified code with convenience functions · e6d2660b
      Tristan Van Berkom authored
      
      	* src/glade-gtk.c: Simplified code with convenience functions
      
      	* src/glade-editor.[ch]: Fixed visual state of labels in insensitive state.
      
      	* src/glade-property.[ch]: Added glade_property_get/set_va_list
      
      	* src/glade-widget.[ch]:
      	   Added convenienve functions:
      	    - glade_widget_property_get/set
      	    - glade_widget_pack_property_get/set
      	    - glade_widget_property_set_sensitive
      	    - glade_widget_pack_property_set_sensitive
      e6d2660b
    • Tristan Van Berkom's avatar
      - made some members properties - added glade_property_set (property, ...) · 57f41a7e
      Tristan Van Berkom authored
      
      * src/glade-property.[ch]:
        - made some members properties
        - added glade_property_set (property, ...) convenience function
        - Added set_tooltip & tooltip changed signal
        - Added insensitive property.
      
      * src/glade-property-class.h: Clarified comment
      
      * src/glade-property-class.c: Properties that are native to GtkWidget go in
        the "common" tab by default (unless overridden by the xml file).
      
      * src/glade-editor.[ch]: Now we watch property sensitivity and tooltip status
      
      * src/glade-gtk.c: The beginnings of stock buttons.
      57f41a7e
  24. 28 Jul, 2005 2 commits
    • Tristan Van Berkom's avatar
      Fixed a few compile warnings and fixed signal emmission to use · e07fc567
      Tristan Van Berkom authored
      
      	* src/glade-app.c: Fixed a few compile warnings and fixed signal emmission to
      	  use g_signal_emit().
      
      	* src/glade-property.[ch]: glade_property_set to use a va_list for convenience,
      	  added glade_property_set_value for setting properties with GValues.
      	  Also added emission of value-changed signal.
      
      	* src/glade-command.c, src/glade-editor.c, src/glade-gtk.c, src/glade-widget.c:
      	  Changed callers.
      e07fc567
    • Tristan Van Berkom's avatar
      Fixed bug in catalog_find_by_name (Luc Simard) · 16a4bbf6
      Tristan Van Berkom authored
      
      	* src/glade-catalog.c: Fixed bug in catalog_find_by_name (Luc Simard)
      
      	* src/glade-editor.c: Played around with how properties are dealt with.
      
      	* src/glade-property-class.[ch], src/glade.h: Added "save" and "editable"
      	  tags to properties through xml catalog.
      
      	* src/glade-property.[ch], src/glade-types.h:
      	  Major revamping of glade-property, now it is a full fledged GObject with
      	  class method access & the new "value-changed" signal.
      
      	* src/glade-widget.c: Now g_object_unref the properties instead of
      	  glade_property_free, also adjusted arguments for glade_property_write.
      16a4bbf6
  25. 02 Apr, 2005 1 commit
    • Ivan, Wong Yat Cheung's avatar
      pixmaps/Makefile.am, src/Makefile.am, widgets/Makefile.am, · 60cae2e3
      Ivan, Wong Yat Cheung authored
      2005-04-02  Ivan, Wong Yat Cheung  <email@ivanwong.info>
      
      	* configure.in:
      	  pixmaps/Makefile.am, src/Makefile.am, widgets/Makefile.am,
      	  src/glade-app.c, src/glade-widget.c, src/glade-paths.sh.in:
      	  Use a more proper way to detect paths.
      
      	* src/glade-app.h, src/glade-command.c, src/glade-command.h,
      	  src/glade-debug.h, src/glade-editor.h, src/glade-gtk.c,
      	  src/glade-palette.h, src/glade-placeholder.c, src/glade-placeholder.h,
      	  src/glade-project-view.h, src/glade-project.h, src/glade-property.h,
      	  src/glade-utils.h, src/glade-widget-class.h, src/glade-widget.h,
      	  src/glade.h:
      	  Introduce LIBGLADEUI_API, remove *.def.
      
      	* src/main.c: some global variables should be freed by libgladeui.
      60cae2e3
  26. 28 Feb, 2005 1 commit
  27. 28 Oct, 2004 1 commit
    • Tristan Van Berkom's avatar
      Implemented glade_editor_query_popup(), also obsoleted common & packing · d718761f
      Tristan Van Berkom authored
      2004-10-28  Tristan Van Berkom  <tristan.van.berkom@gmail.com>
      
              * src/glade-editor.[ch]: Implemented glade_editor_query_popup(), also obsoleted
                common & packing booleans for a more convenient GladeEditorTableType field.
      
              * src/glade-gtk.c:
                - Refitted and integrated Mickael Cornet's patch to bug 153823
                - glade_gtk_table_set_n_common() now refuses to shrink when it involves
                  orhpaning widgets, Its also been improved to fill in all the blanks.
                - Removed all dialogs.
                - Fixed children are now born with size-request properties enabled.
                - Removed some `#if 0' code that I trust we dont need.
                - glade_gtk_box_set_size() Adjusted to match gtk_table behaviour
      
              * src/glade-plugin.h:
                - Added a header to the batch.
      
              * src/glade-popup.c: glade_popup_copy_cb() now duplicates the
                widget in question with glade_widget_dup().
      
              * src/glade-property-class.[ch]: glade_property_class_update_from_node() now
                flags properties that need a pupop dialog at creation time.
      
              * src/glade-property.[ch]: Implemented glade_property_sync() (Sychronizes
                the object with its glade_property), glade_property_set() now calls
                glade_property_sync().
      
              * src/glade-widget.[ch]:
                - Implemented glade_widget_dup().
                - Added call to glade_property_sync on appropriate properties that
                  need to be synchronized after a glade_widget_rebuild().
                - Added a call to glade_editor_query_popup() in the appropriate situation.
                - glade_widget_build_object() now takes into account property_class default values
                - glade_widget_new() now calls new function glade_widget_sync_query_props() in
                  popup cases (If properties dont change from there default, a synchronization is
                  needed at this point).
              * widgets/gtkbox.xml:
                - Removed reference to obsoleted post_create function.
                - Changed `ignore' to `empty' for the fill_empty funciton.
                - Tagged "Size" property as type "Query".
                - Added Default size 3
                - Changed Minimum size to 2
      
              * widgets/gtknotebook.xml:
                - Tagged "pages" property as type "Query".
                - Removed obsolete (or never implemented) Query section.
      
              * widgets/gtktable.xml:
                - Tagged "n-rows" and "n-columns" properties as type "Query".
                - Removed obsolete (or never implemented) Query section.
      
              * widgets/gtklabel.xml: Added default "" value for pattern property, this
                works around gtk+ bug 156720 which was causing us segfaults.
      d718761f
  28. 10 May, 2004 1 commit
  29. 09 Nov, 2003 1 commit
  30. 07 Nov, 2003 1 commit
  31. 01 Nov, 2003 2 commits
  32. 27 Oct, 2003 1 commit
  33. 20 Oct, 2003 1 commit
  34. 26 Jul, 2003 1 commit
  35. 07 Jul, 2003 1 commit
  36. 02 Jul, 2003 1 commit