1. 12 Apr, 2008 1 commit
    • Tristan Van Berkom's avatar
      Fixed invisible labels in the menu editor. · d1f3913c
      Tristan Van Berkom authored
      
      	* gladeui/glade-editor-property.c: Fixed invisible labels in
      	the menu editor.
      
      	* gladeui/glade-widget.c, gladeui/glade-widget.h, gladeui/glade-xml-utils.c,
      	gladeui/glade-utils.c, gladeui/glade-xml-utils.h, gladeui/glade-utils.h,
      	gladeui/glade-property.c, gladeui/glade-property-class.c,
      	gladeui/glade-property-class.h, gladeui/glade-project.c, gladeui/glade-project.h:
      	implemented "factory-stock-id" in the catalog, this allows you to take a resource
      	image file property formerly hacked as a custom property in libglade, and glade
      	will generate a hidden icon factory in builder files so that it will be loaded
      	through the stock system instead, "factory-stock-id" depicts the name of the
      	stock property of the property-class in question.
      
      
      svn path=/trunk/; revision=1796
      d1f3913c
  2. 10 Apr, 2008 2 commits
    • Tristan Van Berkom's avatar
      Now load insensitive when widgets are unsupported, and use a warning icon · 5a3db79a
      Tristan Van Berkom authored
      
      	* gladeui/glade-palette-item.c, gladeui/glade-palette.c,
      	gladeui/glade-palette-item.h, gladeui/glade-palette.h:
      	Now load insensitive when widgets are unsupported, and use
      	a warning icon when they are deprecated, use tooltips from
      	glade_project_verify_adaptor ().
      
      	* gladeui/glade-app.[ch]: Added glade_app_check_get_project ()
      
      	* gladeui/glade-project.c, gladeui/glade-project.h: fix some mistakes
      
      
      svn path=/trunk/; revision=1791
      5a3db79a
    • Tristan Van Berkom's avatar
      Loaded and watched the new support_warning on GladeWidget · 2606b29f
      Tristan Van Berkom authored
      
      	* gladeui/glade-editor.c, gladeui/glade-editor.h:
      	Loaded and watched the new support_warning on GladeWidget
      
      	* gladeui/glade-editor-property.c, gladeui/glade-editor-property.h:
      	Loaded and watched the new support_warning on GladeProperty
      	
      	* gladeui/glade-widget.c, gladeui/glade-widget.h: Keep a support-warning
      	property around as metadata updated by GladeProject.
      
      	* gladeui/glade-property.c, gladeui/glade-property.h:
      	Added new support_warning and state properties.
      
      	* gladeui/glade-project.c, gladeui/glade-project.h:
      	Now GladeProject generates strings to show in the normal
      	UI along with longer style reports, always updates widgets
      	warning message metadata when they come into the project 
      	or when the format or target versions change.
      
      	* gladeui/glade-signal.c: Removed a bogus return.
      
      
      svn path=/trunk/; revision=1788
      2606b29f
  3. 09 Apr, 2008 1 commit
    • Tristan Van Berkom's avatar
      Filled in all since, deprecated and builder-unsupported properties. · 1dd08365
      Tristan Van Berkom authored
      
      	* plugins/gtk+/gtk+.xml.in: Filled in all since, deprecated and
      	  builder-unsupported properties.
      
      	* gladeui/glade-widget.c, gladeui/glade-widget.h, gladeui/glade-widget-adaptor.c,
      	gladeui/glade-command.c, gladeui/glade-widget-adaptor.h,
      	gladeui/glade-utils.h, gladeui/glade-catalog.c, 
      	gladeui/glade-catalog.h, gladeui/glade-app.c, gladeui/glade-app.h, 
      	gladeui/glade-property-class.c, gladeui/glade-property-class.h, 
      	gladeui/glade-project.c, gladeui/glade-project.h:
      	Added versioning support, you can always chose the target version of
      	your project starting with gtk+ 2.8 - a project preferences dialog has
      	been added where you can switch your format, switch your target version
      	and test for incompatabilities. incompatability error dialogs are also
      	launched on save as. Target versions are saved to the glade file; 
      	TODO: patch GtkBuilder to test the required gtk+ version from
      	<requires lib="gtk+" version="2.8"> and at least warn, also let
      	third party widget developers test thier own versions using builder.
      
      	* gladeui/glade-xml-utils.h, gladeui/glade-xml-utils.c: routines
      	for parsing version numbers.
      
      
      	* gladeui/glade-utils.c: glade_util_ui_message() takes a widget to
      	embed arg now.
      
      
      svn path=/trunk/; revision=1780
      1dd08365
  4. 03 Apr, 2008 1 commit
    • Johan Dahlin's avatar
      reviewed by: Tristan · 85ed0ae1
      Johan Dahlin authored
      2008-04-03  Johan Dahlin  <jdahlin@async.com.br>
      
          reviewed by: Tristan
      
          * gladeui/glade-project.c:
          * gladeui/glade-project.h:
      
          Add file format to GladeProject and public accessors.
      
      
      svn path=/trunk/; revision=1766
      85ed0ae1
  5. 19 Dec, 2007 1 commit
    • Christian Persch's avatar
      Port to gtk 2.12 tooltips API. Bug #500947. Remove the unnecessary event · c651fba1
      Christian Persch authored
      2007-12-19  Christian Persch  <chpe@gnome.org>
      
      	* configure.ac:
      	* gladeui/glade-app.c: (glade_app_refresh_undo_redo_button):
      	* gladeui/glade-base-editor.c: (glade_base_editor_add_properties):
      	* gladeui/glade-editor-property.c:
      	(glade_editor_property_tooltip_cb),
      	(glade_editor_property_sensitivity_cb),
      	(glade_editor_property_create_info_button),
      	(glade_editor_property_constructor),
      	(glade_editor_property_finalize),
      	(glade_editor_property_load_common),
      	(glade_eprop_text_show_i18n_dialog),
      	(glade_eprop_adjustment_table_add_label):
      	* gladeui/glade-editor-property.h:
      	* gladeui/glade-editor.c: (glade_editor_notebook_page),
      	(glade_editor_create_info_button),
      	(glade_editor_create_reset_button),
      	(glade_editor_table_append_item):
      	* gladeui/glade-palette.c: (glade_palette_dispose),
      	(glade_palette_new_item), (glade_palette_new_item_group),
      	(glade_palette_update_appearance), (glade_palette_init):
      	* gladeui/glade-project.c: (glade_project_dispose),
      	(glade_project_init):
      	* gladeui/glade-project.h:
      	* gladeui/glade-property-class.c:
      	(glade_property_class_new_from_spec):
      	* gladeui/glade-utils.c:
      	* gladeui/glade-widget.c: (expose_draw_selection):
      	* plugins/gtk+/glade-gtk.c: (glade_gtk_widget_set_property),
      	(glade_gtk_widget_get_property):
      	* src/glade-window.c: (format_project_list_item_tooltip),
      	(refresh_projects_list_menu), (glade_window_init): Port to gtk 2.12
      	tooltips API. Bug #500947. Remove the unnecessary event boxes on the property
      	labels, part of bug #490157.
      
      svn path=/trunk/; revision=1660
      c651fba1
  6. 29 Jun, 2007 1 commit
    • Vincent Geddes's avatar
      Rename glade_project_get_has_unsaved_changes() to · f76a39a6
      Vincent Geddes authored
      	* gladeui/glade-project.c, gladeui/glade-project.h: Rename
      	  glade_project_get_has_unsaved_changes() to glade_project_get_modified().
      	  Set "modified" to FALSE if we undo the command that caused the first
      	  unsaved modification in a project (#392324).
      	
      	* src/glade-project-window.c: Update for API changes in GladeProject.
      
      svn path=/trunk/; revision=1416
      f76a39a6
  7. 19 Jun, 2007 1 commit
  8. 26 Apr, 2007 1 commit
    • Vincent Geddes's avatar
      - Hide private implementation details (Added GladeProjectPrivate). - Added · 27f06c2f
      Vincent Geddes authored
      	* gladeui/glade-project.h, gladeui/glade-project.c:
      	  - Hide private implementation details (Added GladeProjectPrivate).
                - Added private field accessors glade_project_get_path, glade_project_get_name,
                  glade_project_get_objects, and glade_project_get_has_unsaved_changes.
                - Removed project->name field.
                - Removed glade_project_display_name method.
                
              * gladeui/glade-editor-property.c, gladeui/glade-project-view.c,
      	  gladeui/glade-cursor.c, gladeui/glade-signal-editor.c, gladeui/glade-app.c
      	  gladeui/glade-property-class.c: Update for change in GladeProject.
         
              * src/glade-project-window.c: Update for change in GladeProject. Added
                methods for formatting paths and names. Fix display of tooltips for
                items in the project list menu.
                
              * gladeui/glade-palette-item.c, gladeui/glade-palette.c: Update to use 
                g_object_ref_sink().     
      
      svn path=/trunk/; revision=1278
      27f06c2f
  9. 21 Apr, 2007 2 commits
  10. 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
  11. 25 Jan, 2007 1 commit
    • Tristan Van Berkom's avatar
      fixed conditionally building gnome & python. · a769fa15
      Tristan Van Berkom authored
      
      	* Makefile.am, configure.ac, plugins/Makefile.am, bindings/Makefile.am:
      	  fixed conditionally building gnome & python.
      
      	* data/libgladeui-1.0.pc.in: Renamed to gladeui-1.0.pc.in.
      	  Updated for change in location of header files.
      
      	* gladeui/glade.h, gladeui/glade-xml-utils.c: Cleaned up 'glade.h'.     
      	  - Moved GLADE_TAG_* defines to glade-xml-utils.h.
      	  - Nuked GLADE_GENERIC_BORDER_WIDTH.
      
      	* gladeui/*.h, plugins/gtk+/glade-gtk.[ch],
      	  plugins/gnome/glade-gnome.ch, bindings/python/*.[ch]:
      	  Changed header files location for libgladeui. 	
      
      
      svn path=/trunk/; revision=1054
      a769fa15
  12. 23 Jan, 2007 1 commit
  13. 13 Dec, 2006 1 commit
    • Tristan Van Berkom's avatar
      new function glade_util_get_file_mtime(). · cc4d059b
      Tristan Van Berkom authored
      
      	* src/glade-utils.[ch]: new function glade_util_get_file_mtime().
      
      	* src/glade-project-window.c: Test project files for external
      	  changes in gpw_save(). Adjust border width of main window contents.
      
      	* src/glade-project.c: stat project file when opening or saving.
      cc4d059b
  14. 19 Sep, 2006 1 commit
    • Juan Pablo Ugarte's avatar
      o Removed function glade_interface_add_comment() o Added new member · 78602aad
      Juan Pablo Ugarte authored
      * src/glade-parser.[ch]:
        o Removed function glade_interface_add_comment()
        o Added new member comment to GladeInterface.
      
      * src/glade-project.[ch]: fixed Bug 342889
        "Put some comment telling about glade-3 in glade files"
        o Added new function glade_project_update_comment().
        o Added new member comment to GladeProject.
      78602aad
  15. 05 Jul, 2006 1 commit
  16. 29 Jun, 2006 1 commit
    • Tristan Van Berkom's avatar
      Major rework underway, phase one complete: Move undo/redo stack logic from · 3d2ccb52
      Tristan Van Berkom authored
      
      	* src/glade-project.[ch], src/glade-command.[ch]: Major rework underway,
      	  phase one complete: Move undo/redo stack logic from glade-command to glade-project
      	  and add a "changed" signal on the project ("update-ui" is fired also anytime
      	  the "changed" signal is fired).
      
      	* src/glade-app.c, src/glade-project-window.c: small changes to accomadated afore
      	  mentioned api changes.
      
      	* src/glade-marshallers.list: Added new signal VOID:OBJECT,BOOLEAN
      3d2ccb52
  17. 10 Apr, 2006 1 commit
    • Tristan Van Berkom's avatar
      o Manage the sensitivities of all the ui actions. o Fix some issues with · 8b28f4a6
      Tristan Van Berkom authored
      	* src/glade-project-window.c:
      	  o Manage the sensitivities of all the ui actions.
      	  o Fix some issues with the Undo & Redo actions.
      
      	* src/glade-project.[ch]:
      	  o Detect if project file is read-only. New property "read-only"
      	  o Detect if project has a selection. New property "has-selection"
      
      	* src/glade-clipboard.[ch]:
      	  o Detect if clipboard has selected items to paste.
      	    New property "has-selection"
      
      	* src/glade-utils.h: New function: glade_util_file_is_writeable ().
      8b28f4a6
  18. 20 Mar, 2006 1 commit
  19. 16 Mar, 2006 2 commits
    • Tristan Van Berkom's avatar
      Improved name generation for new empty projects. · c2ad482b
      Tristan Van Berkom authored
      
      	* src/glade-project.c: Improved name generation for new empty projects.
      
      	* src/glade-utils.c: Enable overwrite confirmation in FileChooser dialog
      c2ad482b
    • Tristan Van Berkom's avatar
      o Reimplemented code for management of projects list menu. o Projects with · 6640a4f7
      Tristan Van Berkom authored
      
      
      	* src/glade-project-window.c:
      	  o Reimplemented code for management of projects list menu.
      	  o Projects with unsaved changes have a '*' prepended to their names.
      	  o Refresh window title when all projects have been closed.
      
      	* src/glade-project.c: New GObject property 'has-unsaved-changes'.
      	  glade_project_changed() will now emit notify signal for this property.
      
      	* src/glade-app.c: change order in which projects are added to list of
      	  open projects in glade_app_add_project().
      
      
      	* src/glade-project-window.c, src/glade-project.[ch]: Tweaked the
      	  project list to look more aligned with unsaved changes indicated
      	  (using tab charachters); also reverted to print the project path
      	  in the status bar as a tooltip (as this is the only indication as
      	  to which project is which).
      6640a4f7
  20. 21 Feb, 2006 1 commit
    • Tristan Van Berkom's avatar
      fixed bug 325791. Various GtkTable and GtkBox support fixes. (added · 9c0b27a1
      Tristan Van Berkom authored
      
      	* src/glade-gtk.c: fixed bug 325791.
      	  Various GtkTable and GtkBox support fixes.
      	  (added glade_gtk_table_verify_*_attach, glade_gtk_box_set_child_property
      	  and glade_gtk_box_remove_child functions)
      
      	* src/glade-command.c: fixed bug 330305.
      	  Added glade_command_placeholder_destroyed() destroy handler.
      
      	* src/glade-project.[ch]: added loading state to projects,
      	  glade_project_is_loading()
      
      	* widgets/gtk+.xml.in: added GtkTable child-set-property-function,
      	  replace-child-function and attach child properties.
      	  Added GtkBox remove-child-function and child-set-property-function.
      9c0b27a1
  21. 10 Feb, 2006 2 commits
  22. 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
  23. 28 Jan, 2006 1 commit
    • Tristan Van Berkom's avatar
      GladeEPropFlags now shows treeview directly in editor - Mikael Hermansson · c86edf97
      Tristan Van Berkom authored
      
      	* src/glade-editor-property.c: GladeEPropFlags now shows
      	  treeview directly in editor - Mikael Hermansson
      
      	* src/glade-project.[ch]: Removed "resource-updated" signal,
      	  added "resource-added" signal, now resource signals seem to
      	  be working more logicly (but there will be no signal fired when
      	  a resource's contents is overwritten from a different source).
      c86edf97
  24. 25 Jan, 2006 1 commit
    • Tristan Van Berkom's avatar
      use glade_project_display_name (), reverted transientness for glade-3 · f36d7869
      Tristan Van Berkom authored
      
      	* src/glade-project-window.c: use glade_project_display_name (),
      	  reverted transientness for glade-3 application
      
      	* src/glade-command.c: Dont spam the stack with fake name
      	  changes.
      
      	* src/glade-editor-property.c: Added return check
      
      	* src/glade-gtk.c: Use glade_widget_copy_properties to
      	  transfer prop values on type-changing menu items,
      	  menu-editor --> modal window.
      
      	* src/glade-project.[ch]: Added glade_project_display_name ()
      
      	* src/glade-property-class.[ch]: Assign pspec->owner_type when
      	  parsing pspecs, added glade_property_class_match ()
      
      	* src/glade-widget.[ch]: Made glade_widget_copy_props exposed to
      	  glade_widget_copy_properties and rewrote it (also redistributed
      	  some g_critical()s ).
      f36d7869
  25. 22 Jan, 2006 1 commit
    • Tristan Van Berkom's avatar
      C Removed chdir code · 9d924470
      Tristan Van Berkom authored
      
      C
      	* src/glade-app.c: Removed chdir code
      
      	* src/glade-command.c: Remember original project in paste commands
      
      	* src/glade-editor-property.c: GladeEPropPixbuf becomes GladeEPropResource, now
      	  it interfaces with the glade-project resource control stuff.
      
      	* src/glade-gtk.c, src/glade-property.c:
      	  fixed for new syntax of glade_project_add_object()
      
      	* src/glade-project-window.c:
      	  o Manage project menuitems and "merge-id" outside of glade-project.
      	  o New api glade_util_ui_message
      
      	* src/glade-project.[ch]:
      	  Added "resource-update"/"resource-removed" signals and functions:
      	    o glade_project_set_resource ()
      	    o glade_project_list_resources ()
      	    o glade_project_resource_fullpath ()
      	  Removed:
      	    o glade_project_get_menuitem ()
      	    o glade_project_get_menuitem_merge_id ()
      	  Now a new "old_project" parameter to glade_project_add_object ()
      
      	* src/glade-property-class.[ch], src/glade.h:
      	  o Added support for "resource" tag  in catalogs
      	  o Resource file path substituting when generating gvalues
      	    (modified glade_property_class_make_gvalue_from_string API).
      
      	* src/glade-utils.[ch]:
      	  o Enhanced version of glade_util_ui_message
      	  o glade_util_copy_file () added
      
      	* src/glade-widget.c: Adjusted for new version of
      	  glade_property_class_make_gvalue_from_string
      
      	* widgets/adding-widgets.txt: Updated manual for resource tag.
      
      VS: ----------------------------------------------------------------------
      9d924470
  26. 21 Jan, 2006 1 commit
    • Tristan Van Berkom's avatar
      Added glade_util_canonical_path () · 24f10c8f
      Tristan Van Berkom authored
      
      	* src/glade-utils.c: Added glade_util_canonical_path ()
      
      	* src/glade-project-window.c: Use project->path instead of user
      	  provided path in recent files.
      
      	* src/glade-project.[ch]: Use glade_util_canonical_path () for
      	  a clean project full path.
      24f10c8f
  27. 15 Jan, 2006 1 commit
    • Tristan Van Berkom's avatar
      New project signal "close". · 15ee3c4c
      Tristan Van Berkom authored
      
             * src/glade-project.[ch]: New project signal "close".
      
             * src/glade-app.c: glade_app_remove_project() unrefs project
      	 resulting in "close" signal being fired for cleanup purposes.
               glade_project_new_from_interface() now set the project status
               (changed flag) in a low priority idle function, this makes
               safe to use idle functions (normal priority) in plugins.
               glade_project_set_accel_group() removes old accel group.
               (bug 316104)
      
             * src/glade-widget.c: glade_widget_build_object() skip object
               properties with NULL values.
               glade_widget_params_from_widget_info() skip properties
               that should be ignored.
      
             * src/glade-editor.[ch]: free all GladeEditorTable (widget,
               packing and common) when loading page.
               (ie in glade_editor_load_widget_page)
      
             * src/glade-gtk.c: RadioMenuItem support.
               GtkMenuEditor reorder bug fixed.
               MenuEditor is not modal anymore. (to access to undo/redo)
               glade_gtk_table_has_child() fix, widgets in a table can occupy
               more than one row/column. (bug 325791)
               Fixed label "use-underline" property at load time. (bug 325801)
      
             * src/glade-widget-class.c: segfault fixed when merging
               RadioMenuItem class in glade_widget_class_merge_properties()
      
             * widgets/gtk+.xml: new GtkMenuShell packing property "position".
      	 Set GtkWidgetClass's "sensitive" property to be ignored.
      15ee3c4c
  28. 07 Dec, 2005 1 commit
    • Tristan Van Berkom's avatar
      added glade_project_reset_path() · 637199db
      Tristan Van Berkom authored
      
      	* src/glade-project.[ch]: added glade_project_reset_path()
      
      	* src/glade-project-window.c: Now we reset the path of a project if we
      	  fail to save it for some reason, this way we prompt a filechooser
      	  the next time we try to save. (This makes most sence when initially
      	  chosing an unsavable file path).
      637199db
  29. 06 Dec, 2005 1 commit
    • Tristan Van Berkom's avatar
      Added glade_app_update_instance_count to keep track of (and differentiate · 2abcd8c3
      Tristan Van Berkom authored
      
      	* src/glade-app.[ch], src/glade-project-window.c:
      	  Added glade_app_update_instance_count to keep track of
      	  (and differentiate between) multiple projects with the same name.
      
      	* src/glade-project.[ch]: Added instance count member to project
      	  object, also ensured that project->path is always a full path.
      
      	* src/main.c: fix leak of list of initial projects to load.
      2abcd8c3
  30. 12 Sep, 2005 1 commit
    • Tristan Van Berkom's avatar
      Added clause to create correct label value for aspect frame. · 2aa73c80
      Tristan Van Berkom authored
      2005-09-12  Tristan Van Berkom <tvb@gnome.org>
      
      	* src/glade-gtk.c: Added clause to create correct label value
      	  for aspect frame.
      
      	* src/glade-editor.c: Fixed segfault in regards to packing-properties
      	  (which are rebuilt dynamicly for each class) & the weak pointer
      	  used for property object signals.
      
      	* src/glade-widget.c: Call glade_widget_set_default_packing_properties
      	  at the right time.
      
      	* src/glade-project-window.c: Dont call glade_project_set_accel_group()
      	  if there is no accel group set.
      
      	* src/glade-app.c: Loop over open projects when calling
      	  glade_app_set_accel_group() incase this is done after any projects
      	  are open.
      
      2005-09-12  Juan Pablo Ugarte <juanpablougarte@gmail.com>
      
      	* src/glade-app.[ch]: Added accel_group member in GladeAppPriv.
      	  glade_app_set_accel_group() to handle shortcuts in every window.
      
      	* src/glade-project.[ch]: glade_project_set_accel_group().
      
      	* src/glade-project-window.c: Added UIManager's acceleration group to every
      	  window.
      
      	* src/glade-widget.c: Removed manual "key-press-event" handling.
      2aa73c80
  31. 18 Aug, 2005 1 commit
    • Tristan Van Berkom's avatar
      Use glade_widget_show/hide for toplevels. · 0e76af06
      Tristan Van Berkom authored
      	* src/glade-project-view.c: Use glade_widget_show/hide for toplevels.
      
      	* src/glade-project-window.c: Place the "Close without saving" dialog in the center of
      	  the screen.
      
      	* src/glade-project.[ch]: Added assertions, glade_project_changed().
      
      	* src/glade-property.c: Call glade_project_changed() when properties change.
      
      	* src/glade-widget.[ch]: Added glade_widget_show/hide, shows & hides toplevels
      	  and saves there position.
      0e76af06
  32. 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
  33. 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
  34. 24 Jun, 2005 1 commit
    • Tristan Van Berkom's avatar
      Added GKeyfile handleing · f3a0238e
      Tristan Van Berkom authored
      	* src/glade-app.[ch]: Added GKeyfile handleing
      
      	* src/glade-parser.c: glade_interface_dump_full modified to use
      	  GIOChannel, this helps to keep portability issues in the glib domain.
      
      	* src/glade-utils.[ch], src/glade-project.[ch], src/glade-project-window.c:
      	  Now uses GtkUIManager instead of GtkItemFactory, Also added recent projects submenu.
      
      	* widgets/gtk+.xml: Fixed a few cosmetic strings in regards to displayable values.
      f3a0238e
  35. 02 Apr, 2005 2 commits
    • 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
    • Tristan Van Berkom's avatar
      Added global selection API which takes multiple projects into account. · 72879b38
      Tristan Van Berkom authored
      
      	* src/glade-app.[ch]: Added global selection API which takes multiple
      	  projects into account.
      
      	* src/glade-command.c, src/glade-project-view.c,
      	  src/glade-utils.c, src/glade-widget.c:
      	  Use new selection API / Support paste on top-levels
      	  which change projects.
      
      	* src/glade-project.[ch]: Added glade_project_has_object ()
      
      	* src/glade-project-window.c: Made project menu items radio.
      72879b38