1. 24 Jan, 2006 2 commits
    • Tristan Van Berkom's avatar
      Fixed broken resource pool & wrote some doc. Now save the "<required · 52a2d296
      Tristan Van Berkom authored
      
      	* src/glade-project.c: Fixed broken resource pool & wrote some doc.
      	  Now save the "<required lib="..."/> catalog requirements to the
      	  glade file and complain when loading glade files that demand
      	  unavailable catalogs.
      
      	* src/glade-widget-class.[ch]: Added widget_class->catalog
      
      	* src/glade-catalog.[ch]: Added glade_catalog_is_loaded (), call
      	  gwc_new with catname arg.
      
      	* src/glade-parser.c: Added glade_util_ui_message error messaging
      	  when having errors loading glade files.
      
      	* src/glade-project-window.c: Removed redundant error message.
      52a2d296
    • Raphael Higino's avatar
      Added Brazilian Portuguese translation · 5454ab45
      Raphael Higino authored
      5454ab45
  2. 23 Jan, 2006 2 commits
  3. 22 Jan, 2006 4 commits
    • Tristan Van Berkom's avatar
      Fixed broken pixbuf properties :) · 572bb451
      Tristan Van Berkom authored
      
      	* src/glade-property-class.c: Fixed broken pixbuf properties :)
      
      	* src/glade-widget.[ch]: Added glade_widget_has_launcher &
      	  glade_widget_launch_editor.
      
      	* src/glade-parser.c: Fixed segfault (oops).
      
      	* src/glade-editor.c: Use glade_widget_has_launcher &
      	  glade_widget_launch_editor (now "Edit..." button comes up
      	  for custom editors in the ancestry).
      572bb451
    • Tristan Van Berkom's avatar
      Implemented load/save of "translatable", "context" and "comments" · de4f8867
      Tristan Van Berkom authored
      
      	* src/glade-parser.[ch]: Implemented load/save of "translatable",
      	  "context" and "comments" attributes on properties (atk or not)
      
      	* src/glade-property.c, src/glade-widget.c: Doing our part to load
      	  and save i18n information (fixing bug 325628)
      de4f8867
    • Tristan Van Berkom's avatar
      Load userdata/object field from parser info onto the GladeSignal object · 770b0c3f
      Tristan Van Berkom authored
      
      	* src/glade-signal.c: Load userdata/object field from parser
      	  info onto the GladeSignal object properly (fixed bug 326715).
      770b0c3f
    • 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
  4. 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
  5. 17 Jan, 2006 3 commits
    • Tristan Van Berkom's avatar
      Fixed bug where widgets weren't selectable if multiple projects were · 990eb18b
      Tristan Van Berkom authored
      
      	* src/glade-app.c: Fixed bug where widgets weren't selectable
      	  if multiple projects were loaded (also removed G_END_DECLS from
      	  the end of this C file).
      990eb18b
    • Tristan Van Berkom's avatar
      o Revert changes "free all GladeEditorTable" from Juans last patch; editor · 65c869f6
      Tristan Van Berkom authored
      
      	* src/glade-editor.[ch]:
      	  o Revert changes "free all GladeEditorTable"
      	    from Juans last patch; editor tables are *not to be freed*,
      	    instead they are instantiated once per class and juggled
      	    throughout the application (my bad for not noticing this in
      	    advance).
      	  o Catch GladeProjects "close" signal and clear the editor.
      
      	* src/glade-gtk.c: Shut up a compiler warning
      
      	* src/glade-project-view.[ch]: Catch GladeProjects "close" signal and
      	  detatch the GladeProjectView.
      
      	* src/glade-editor-property.[ch]: Catch GladeProjects "close"
      	  signal and drop the loaded GladeProperty.
      
      	* src/glade-app.c: in glade_app_remove_project(), now simply
      	  g_object_unref() the removed project and let the universe
      	  adjust itself.
      65c869f6
    • Tristan Van Berkom's avatar
      Integrated patch from Lluis Sanchez to simplify GladeInterface creation. · ac836ad0
      Tristan Van Berkom authored
      
      	* src/glade-parser.[ch], src/glade-project.c:
      	  Integrated patch from Lluis Sanchez to simplify GladeInterface
      	  creation.
      
      	* src/glade-widget.c: enhanced some documentation.
      ac836ad0
  6. 16 Jan, 2006 2 commits
  7. 15 Jan, 2006 2 commits
    • Tristan Van Berkom's avatar
      Reverted latest change on GtkTable · 54181708
      Tristan Van Berkom authored
      
      	* src/glade-gtk.c: Reverted latest change on GtkTable
      54181708
    • 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
  8. 13 Jan, 2006 1 commit
  9. 12 Jan, 2006 1 commit
  10. 09 Jan, 2006 1 commit
  11. 30 Dec, 2005 1 commit
  12. 28 Dec, 2005 3 commits
    • Adam Weinberger's avatar
      Updated Canadian English translation. · 39448d1d
      Adam Weinberger authored
      
      2005-12-28  Adam Weinberger  <adamw@gnome.org>
      
      	* en_CA.po: Updated Canadian English translation.
      39448d1d
    • Tristan Van Berkom's avatar
      removing crud · af9e9832
      Tristan Van Berkom authored
      af9e9832
    • 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
  13. 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
  14. 21 Dec, 2005 2 commits
  15. 16 Dec, 2005 2 commits
  16. 15 Dec, 2005 3 commits
    • Tristan Van Berkom's avatar
      Made some code simplifications and fixed a possible segfault. · d3a7153b
      Tristan Van Berkom authored
      
      	* src/glade-widget-class.c: Made some code simplifications and
      	  fixed a possible segfault.
      d3a7153b
    • Juan Pablo Ugarte's avatar
      glade_app_set_project() Sets the current/working directory to the · 29d3717d
      Juan Pablo Ugarte authored
      2005-12-14  Juan Pablo Ugarte <juanpablougarte@gmail.com>
      
      	* src/glade-app.c: glade_app_set_project() Sets the
      	  current/working directory to the project's directory.
      
      	* src/glade-builtins.c: Added glade_standard_boolean_spec().
      
      	* src/glade-editor-property.c: New Glade Editor Property Class
      	  GladeEPropPixbuf. (GdkPixbuf properties)
      
      	* src/glade-gtk.c: GtkMenuBar Load/Save Support + editor.
      	  GtkImage loading fixes. glade_gtk_image_set_icon_name().
      	  GtkLabel added glade_gtk_label_set_label().
      
      	* src/glade-project-window.c: Added About icon.
      
      	* src/glade-project.c: glade_project_new_from_interface() make
      	  project's path always absolute.
      
      	* src/glade-property-class.c: Added pixbuf property support in
      	  glade_property_class_make_string_from_gvalue() and
      	  glade_property_class_make_gvalue_from_string().
      
      	* src/glade-property.c: Added pixbuf property support in
      	  glade_property_set_va_list() and glade_property_get_va_list().
      
      	* widgets/gtk+.xml: New classes. GtkMenuItem GtkCheckMenuItem
      	  GtkImageMenuItem and GtkSeparatorMenuItem.
      
      2005-12-14  Tristan Van Berkom <tvb@gnome.org>
      
      	* src/glade-keys-dialog.[ch], src/glade-menu-editor.[ch], src/Makefile.am:
      	  obsolete old menu-editing attempt removed.
      29d3717d
    • Tristan Van Berkom's avatar
      Added da, fr, nb and sk to ALL_LINGUAS · 5f227331
      Tristan Van Berkom authored
      
      	* configure.in: Added da, fr, nb and sk to ALL_LINGUAS
      
      	* po/[da, fr, nb, sk].po: updated po files
      5f227331
  17. 12 Dec, 2005 3 commits
    • Tristan Van Berkom's avatar
      glade_xml_get_value() now checks for underscore varients of tag names · d01d0043
      Tristan Van Berkom authored
      
      	* src/glade-xml-utils.c: glade_xml_get_value() now checks for
      	  underscore varients of tag names since they are not stripped
      	  from widget catalogs.
      	  glade_xml_get_value_string() Now fixed to not call claim_string()
      	  since this is already done by glade_xml_get_value().
      
      	* src/glade-property-class.c: Removed special case code that
      	  is now handled for all tag names in glade-xml-utils
      d01d0043
    • Tristan Van Berkom's avatar
      Added da, fr, nb and sk to ALL_LINGUAS · 8d5d986b
      Tristan Van Berkom authored
      
      	* configure.in: Added da, fr, nb and sk to ALL_LINGUAS
      8d5d986b
    • Tristan Van Berkom's avatar
      Added missing sources & added gtk+.xml · fc2b70f6
      Tristan Van Berkom authored
      
      	* po/POTFILES.in: Added missing sources & added gtk+.xml
      
      	* src/glade-builtins.c: Fixed a stooopid bug.
      
      	* src/glade-catalog.c: Translated widget groups
      
      	* src/glade-gtk.c: Removed useless property support.
      
      	* src/glade-project-window.c: Fixed compiler warning (miscast)
      
      	* src/glade-property-class.c: Translated disaplayable-values
      	  and property class names
      
      	* src/glade-widget-class.c: Translated widget class names
      
      	* widgets/.cvsignore: Added generated file gtk+.xml
      
      	* widgets/Makefile.am: Added @INTLTOOL_XML_NOMERGE_RULE@ and
      	  CLEANFILES = gtk+.xml
      
      	* widgets/gtk+.xml (to be renamed to gtk+.xml after surgery):
      	  marked tooltips, displayable values, property names, widget titles
      	  and widget group titles for translations.
      
      	* po/*.po: Updated po files with new strings to translate.
      fc2b70f6
  18. 11 Dec, 2005 1 commit
  19. 10 Dec, 2005 2 commits
  20. 09 Dec, 2005 3 commits