1. 24 Jan, 2006 1 commit
    • 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
  2. 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
  3. 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
  4. 16 Dec, 2005 1 commit
  5. 15 Dec, 2005 1 commit
    • 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
  6. 12 Dec, 2005 1 commit
    • 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
  7. 09 Dec, 2005 2 commits
  8. 07 Dec, 2005 2 commits
    • Tristan Van Berkom's avatar
      Now project menu item glitch is visually gone (you dont get "no selected · c315e1f4
      Tristan Van Berkom authored
      	* src/glade-project-window.c: Now project menu item glitch is
      	  visually gone (you dont get "no selected projects" anymore).
      	  Note that this is still a hack using toggle items to portray
      	  a radio menu since we've been unable to get radio items to
      	  work at this time.
      c315e1f4
    • 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
  9. 06 Dec, 2005 2 commits
    • 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
    • Tristan Van Berkom's avatar
      Modified Files: ChangeLog po/az.po po/en_CA.po po/es.po po/ja.po po/ms.po · cf473018
      Tristan Van Berkom authored
      
      Modified Files:
       	ChangeLog po/az.po po/en_CA.po po/es.po po/ja.po po/ms.po
       	po/nn.po po/no.po po/pl.po po/pt.po po/ru.po po/sv.po po/ta.po
       	po/tr.po po/uk.po po/zh_CN.po src/glade-app.c src/glade-app.h
       	src/glade-catalog.c src/glade-catalog.h src/glade-command.c
       	src/glade-cursor.c src/glade-debug.c
       	src/glade-editor-property.c src/glade-editor.c src/glade-gtk.c
       	src/glade-id-allocator.c src/glade-palette.c
       	src/glade-parameter.c src/glade-placeholder.c
       	src/glade-popup.c src/glade-project-view.c
       	src/glade-project-window.c src/glade-project.c
       	src/glade-property-class.c src/glade-property.c
       	src/glade-signal-editor.c src/glade-signal.c src/glade-utils.c
       	src/glade-widget-class.c src/glade-widget.c src/main.c
      
        Updated land address for the Free Software Foundation in Boston.
      cf473018
  10. 29 Sep, 2005 1 commit
  11. 22 Sep, 2005 1 commit
    • Tristan Van Berkom's avatar
      Balanced out reference counts on GladeWidgets and their objects so that · 729dcf8c
      Tristan Van Berkom authored
      
      	* src/glade-app.c, src/glade-project.c, src/glade-command.c,
      	  src/glade-widget.c:
      	  Balanced out reference counts on GladeWidgets and their objects
      	  so that closing a project doesnt leek objects.
      
      	* src/glade-utils.c: Fixed pasting of toplevel widgets.
      
      	* src/glade-gtk.c, src/glade-widget.[ch], src/glade-widget-class.[ch],
      	  widgets/gtk+.xml:
      	  - Removed concept of fill_empty functions, everything is done through
      	    post_create.
      	  - post_create now has a context specific arg `reason' (whether we are
      	    creating from USER/COPY/LOAD); when reason is USER (i.e. the first
      	    time it was created); then its time to do fill-empty work.
      
      	* src/glade-editor.c: Reset dialog now doesnt use packing props (cause
      	  it just doesn't make sence to), and now they dont show editor invisible
      	  properties (that was a bug).
      729dcf8c
  12. 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
  13. 02 Sep, 2005 2 commits
    • Tristan Van Berkom's avatar
      Now the glade editor is a GtkVBox, allowing it greater configurability, · a156d972
      Tristan Van Berkom authored
      
      	* src/glade-editor.[ch]: Now the glade editor is a GtkVBox, allowing it
      	  greater configurability, now added a hbutton box to it with the "defaults..."
      	  button.
      
      	* src/glade-project-window.c: Made property editor a little bigger by default.
      a156d972
    • 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
  14. 31 Aug, 2005 1 commit
  15. 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
  16. 11 Aug, 2005 1 commit
    • Tristan Van Berkom's avatar
      added glade_app_set/get_transient_parent & · 20ee5796
      Tristan Van Berkom authored
      
      	* src/glade-app.[ch]: added glade_app_set/get_transient_parent &
      	  glade_default_app_set/get_transient_parent.
      
      	* src/glade-project-window.c:
      	    - set the project-window as transient parent of all glade dialogs
      	      (includeing the editor, clipboard & palette).
      	    - removed widget tree popup as all the functionality is present embedded
      	      in the project window.
      
      	* src/glade-project.c: Set newly added toplevels transient for the transient
      	  parent window of the glade-app.
      20ee5796
  17. 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
  18. 25 Jul, 2005 2 commits
    • Tristan Van Berkom's avatar
      Added show_properties method to app_class, this way the implementing · 7f08c6ac
      Tristan Van Berkom authored
      
      	* src/glade-app.[ch]: Added show_properties method to app_class, this way
      	  the implementing application can provide an implementation for show_properties.
      
      	* src/glade-project-window.c:
      	    - Implemented show_properties method
      	    - Linked the update_ui_cb directly to app_class->update_ui_signal
      	    - Removed ugly reference to editor->project_window
      
      	* src/glade-popup.c: Call show_properties upon "properties" popup click.
      
      	* src/glade-editor.h: Removed project_window from instance struct (useless and a PITA
      	  to set).
      7f08c6ac
    • Tristan Van Berkom's avatar
      Applied (and slightly adapted) Andy Somerville's patch for bug 303681 · f3c3c44d
      Tristan Van Berkom authored
      
      	* src/glade-project-window.c: Applied (and slightly adapted) Andy Somerville's
      	  patch for bug 303681 (Dock widget tree in project window).
      f3c3c44d
  19. 22 Jul, 2005 1 commit
    • Tristan Van Berkom's avatar
      Disallow multiple projects with the same name. · abc171c5
      Tristan Van Berkom authored
      
      * src/glade-project-window.c: Disallow multiple projects with the same name.
      
      * src/glade-utils.[ch], src/glade-app.c: Added glade_util_basenames_match() and
      	  adjusted callers.
      
      * src/glade-app.c: Made glade_app_config_save() more robust.
      abc171c5
  20. 12 Jul, 2005 1 commit
  21. 24 Jun, 2005 2 commits
    • Tristan Van Berkom's avatar
      removed glade_util_str_replace_char(), glade_util_replace() already · ea63204f
      Tristan Van Berkom authored
      
      	* src/glade-utils.[ch]: removed glade_util_str_replace_char(),
      	  glade_util_replace() already exists.
      
      	* src/glade-project-window.c: Added clause to save recent files after opening and
      	  saving projects and when clearing recent queue (i.e. save it when it changes, not
      	  at quit time).
      	  also fixed cosmetic bug: changed "Recents" to "Recent" in "Recent projects".
      
      	* src/glade-app.c, src/glade-project-window.c: Dont allow more than one project
      	  with the same name to be opened simultainiously (where the project name is
      	  the basename of the project_path).
      ea63204f
    • 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
  22. 20 Apr, 2005 1 commit
  23. 03 Apr, 2005 2 commits
  24. 02 Apr, 2005 2 commits
    • Tristan Van Berkom's avatar
      glade_command_paste() now searches for placeholders for multi-paste · f2cda8fc
      Tristan Van Berkom authored
      	* src/glade-command.c:
      	  glade_command_paste() now searches for placeholders for
      	  multi-paste circumstances.
      
      	* src/glade-project-view.c:
      	  Added code to adjust selection on project radio item
      	  on project closure (radio list still doesn't work
      	  properly).
      
      	* src/glade-utils.[ch]: glade_util_count_placeholders added
      	  paste code now considers multiple paste on gtkwidget containers.
      f2cda8fc
    • 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
  25. 01 Apr, 2005 1 commit
    • Tristan Van Berkom's avatar
      Added MAINTAINERS file. · da22c8c6
      Tristan Van Berkom authored
      
      
      
      	* Added MAINTAINERS file.
      
      	* AUTHORS: Added me to authors list
      
      	* src/glade-popup.c: Fixed selection bug (placeholders
      	  werent loosing selection when selection changes through
      	  the popup).
      
      	* src/glade-project-window.c: Added "Expand all"/"Collapse all" in
      	  the widget tree veiw (bug 164740)
      
      	* src/glade-widget.c: Remove redundant paranoia code.
      da22c8c6
  26. 10 Mar, 2005 1 commit
  27. 28 Feb, 2005 1 commit
  28. 22 Dec, 2004 1 commit
    • Gustavo Noronha Silva's avatar
      src/glade-palette.c, src/glade-project-window.c Allow palette to get · eed898f3
      Gustavo Noronha Silva authored
      
      
      2004-12-22  Gustavo Noronha Silva <kov@debian.org>
      
      	* src/glade-palette.c, src/glade-project-window.c
      	  Allow palette to get smaller.
      
      2004-12-22  Archit Baweja  <bighead@users.sourceforge.net>
      
      	* src/glade-palette.c (glade_palette_widget_table_create): cleanup
      	  and use glade_palette_create_widget_class_button.
      	  (glade_palette_create_widget_class_button): new function
      	  (glade_palette_init): use a GtkComboBox for catalog names instead of
      	  individual radio buttons. All callbacks and callers changed.
      eed898f3
  29. 21 Dec, 2004 1 commit
  30. 16 Dec, 2004 1 commit
  31. 18 Nov, 2004 1 commit
    • Ivan Wong's avatar
      - clean up a little bit. - drop acconfig.h, use the third arg of AC_DEFINE · 949a9bba
      Ivan Wong authored
      2004-11-17  Ivan Wong  <email@ivanwong.info>
      
      	* configure.in:
      	  - clean up a little bit.
      	  - drop acconfig.h, use the third arg of AC_DEFINE instead.
      	  - allow user to specify what version (dynamic/static) of
      	    libpopt is to be used (win32 only).
      
      	* acconfig.h, config.h.win: removed
      
      	* src/Makefile.am: drop flags that are never used, and probably
      	  won't be used.
      
      	* src/glade-catalog.c, src/glade-palette.c,
      	  src/glade-project-window.c, src/glade-widget-class.c,
      	  src/glade.h, src/main.c:
      	  use global variables instead of preprocessor definitions for
      	  data/locale/pixmaps/widgets/catalogs directory names.
      949a9bba
  32. 05 Nov, 2004 1 commit
    • Tristan Van Berkom's avatar
      Implemented glade_command_copy () (undo/redo works like a charm :-) · 7e43051d
      Tristan Van Berkom authored
      2004-11-03  Tristan Van Berkom  <tristan.van.berkom@gmail.com>
      
              * src/glade-command.[ch], glade-popup.c, glade-project-window.c:
      	  Implemented glade_command_copy () (undo/redo works like a charm :-)
      
      	* src/glade-widget.c: Simplified / Improved code respecting custom properties.
      
      	* src/glade-project.c: Simplified some code around selection, project management
       	  (improved fixes for bugs 156515 and 155892).
      7e43051d