1. 15 Jan, 2004 4 commits
  2. 14 Jan, 2004 8 commits
  3. 13 Jan, 2004 5 commits
  4. 12 Jan, 2004 1 commit
    • Jody Goldberg's avatar
      Adjust to the new connect_proxy signals. · c73ab06e
      Jody Goldberg authored
      Mon Jan 12 23:40:34 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* tests/testmerge.c: Adjust to the new connect_proxy signals.
      
      	* gtk/gtkuimanager.c
      	* gtk/gtkactiongroup.c
      	* gtk/gtkaction.c: Move the connect_proxy and disconnect_proxy signals
      	from GtkAction to GtkActionGroup and proxy it on GtkUIManager. This
      	removes the confusion between the disconnect_/connect_proxy signals
      	and the (unrelated) virtual functions of the same name and aligns
      	the setup with the pre_/post_activate signals.
      
      2004-01-12  Jody Goldberg <jody@gnome.org>
      
      	* gtk/gtkaction.c (connect_proxy) : only connect activate for menus
      	  with no submenus otherwise it looks like we activate every time a
      	  submenu opens.
      
      2004-01-10  Jody Goldberg <jody@gnome.org>
      
      	* gtk/gtkuimanager.c (d) : Add a debug macro to quiet the spew.
      	s/merge_signals/ui_manager_signals/ for readability.
      	(gtk_ui_manager_class_init) : add pre_activate and post_activate
      	  signals.
      	(cb_proxy_pre_activate) : new.
      	(cb_proxy_post_activate) : new.
      	(gtk_ui_manager_insert_action_group) : connect the proxies for
      	  GtkActionGroup::pre/post_activate
      	(gtk_ui_manager_remove_action_group) : disconnect them.
      
      	* gtk/gtkactiongroup.c (gtk_action_group_class_init) : add
      	  'sensitive', and 'visible' properties.  Also add pre_activate and
      	  post_activate signals to help deal with activations at a higher
      	  level (eg GtkUIManager)
      	(gtk_action_group_init) : init sensitive and visible
      	(gtk_action_group_set_property) : add sensitive and visible
      	(gtk_action_group_get_property) : add sensitive and visible
      	(gtk_action_group_get_sensitive) : new.
      	(gtk_action_group_get_visible) : new.
      	(cb_set_action_sensitivity) : new with minor optimization that only
      	  signals sensitivity changes if the action could possibly change.
      	(cb_set_action_visiblility) : ditto.
      	(gtk_action_group_set_sensitive) : new.  walk the actions directly
      	  rather than using notify::sensitive because that is simpler, easier
      	  to read, and more efficient.
      	(gtk_action_group_set_visible) : ditto.
      	(gtk_action_group_add_action) : Each action can only be in 1 group,
      	  set GtkAction::action_group.
      	(gtk_action_group_remove_action) : clear it.
      	(gtk_action_group_add_toggle_actions_full) : warning suppression.
      	(gtk_action_group_add_radio_actions_full) : warning suppression.
      	(_gtk_action_group_emit_pre_activate) : new protected routine for use
      	  by GtkAction.
      	(_gtk_action_group_emit_post_activate) : ditto.
      
      	* gtk/gtkaction.c (gtk_action_class_init) : add 'action_group' property.
      	(gtk_action_init) : initialize it.
      	(gtk_action_get_property) : get.
      	(gtk_action_set_property) : set it via
      	(gtk_action_set_action_group) : new function.
      	(gtk_action_sync_sensitivity) : new routine to sync proxy sensitivity
      	  with the logical sensitivity (action & group) rather than the simple
      	  action::sensitivity.
      	(gtk_action_sync_visible) : use gtk_action_is_visible to handle
      	  logical visibility (action & group) rather than the simple
      	  action::visible.  Use widget show/hide directly.
      	(connect_proxy) : handle the custom sensitivity handler.
      	  Make the TOOL_BUTTON signals more general and support TOOL_ITEM
      	  directly, with special cases for TOOL_BUTTON.  Still not especially
      	  good it might be useful to handle label/use_underline by parmspec
      	  lookup.  Those are likely to be implemented by custom types, and are
      	  assumed to exist in GtkToolItem.
      	(disconnect_proxy) : disconnect the new sensitivity handler.
      	(_gtk_action_emit_activate) : add pre/post signals.
      	(gtk_action_activate) : use logical sensitivity.
      	(gtk_action_is_sensitive) : logical sensitivity.
      	(gtk_action_get_sensitive) : actual sensitivity.
      	(closure_accel_activate) : use logical sensitivity.
      c73ab06e
  5. 11 Jan, 2004 3 commits
    • Matthias Clasen's avatar
      Remove accidentially committed debug spew. · 93bc689c
      Matthias Clasen authored
      Mon Jan 12 00:10:20 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkuimanager.c: Remove accidentially committed debug spew.
      93bc689c
    • Duarte Loreto's avatar
      Updated Portuguese translation. · 748b249e
      Duarte Loreto authored
      2004-01-11  Duarte Loreto <happyguy_pt@hotmail.com>
      
      	* pt.po: Updated Portuguese translation.
      748b249e
    • Matthias Clasen's avatar
      Remove accidentally committed notification stuff. · 130c18a1
      Matthias Clasen authored
      Sun Jan 11 01:55:07 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkaccelmap.c: Remove accidentally committed notification stuff.
      	(gtk_accel_map_lock_path):
      	(gtk_accel_map_unlock_path): Path locking can now be nested, a missing
      	entry is silently created during lock_path(), and treated as an error
      	during unlock_path(). These changes have been requested by Tim Janik.
      130c18a1
  6. 10 Jan, 2004 1 commit
  7. 09 Jan, 2004 8 commits
  8. 08 Jan, 2004 5 commits
  9. 07 Jan, 2004 5 commits
    • Matthias Clasen's avatar
      Fix link in deprecation note. · 512b5376
      Matthias Clasen authored
      Thu Jan  8 00:14:02 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/tmpl/gtkmain.sgml (gtk_input_add_full): Fix link in deprecation
      	note.
      512b5376
    • Matthias Clasen's avatar
      Add entry_completion.c · 5c919e50
      Matthias Clasen authored
      Wed Jan  7 23:20:06 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* demos/gtk-demo/Makefile.am (demos): Add entry_completion.c
      
      	* demos/gtk-demo/entry_completion.c: New demo for GtkEntryCompletion
      	by Anders Carlsson  (#130464).
      5c919e50
    • Matthias Clasen's avatar
      Change the return value from gint to gboolean. (#130718, reported by · bdc6765b
      Matthias Clasen authored
      Wed Jan  7 23:07:28 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkmain.h:
      	* gtk/gtkmain.c (gtk_events_pending): Change the return value from
      	gint to gboolean.  (#130718, reported by Johannes Weißl)
      bdc6765b
    • Matthias Clasen's avatar
      Remove the redundant name and stock_id parameters, adjust all callers. · bc3d9ffa
      Matthias Clasen authored
      Wed Jan  7 23:03:32 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkactiongroup.h:
      	* gtk/gtkactiongroup.c (gtk_action_group_add_action_with_accel):
      	Remove the redundant name and stock_id parameters, adjust all callers.
      bc3d9ffa
    • Matthias Clasen's avatar
      Add creation functions for actions. · a11e45a1
      Matthias Clasen authored
      Wed Jan  7 22:20:20 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkaction.h:
      	* gtk/gtkaction.c (gtk_action_new):
      	* gtk/gtktoggleaction.h:
      	* gtk/gtktoggleaction.c (gtk_toggle_action_new):
      	* gtk/gtkradioaction.h:
      	* gtk/gtkradioaction.c (gtk_radio_action_new): Add creation
      	functions for actions.
      
      	* gtk/gtkactiongroup.c (gtk_action_group_add_actions_full):
      	(gtk_action_group_add_toggle_actions_full):
      	(gtk_action_group_add_radio_actions_full): and use the
      	new functions here.  (#125322, Patch by Jeff Frank)
      a11e45a1