Files
gtk2/gtk
Jody Goldberg c73ab06ef5 Adjust to the new connect_proxy signals.
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.
2004-01-12 22:45:45 +00:00
..
2003-10-24 22:16:07 +00:00
2003-01-19 21:18:15 +00:00
2002-10-11 22:57:11 +00:00
2002-10-11 22:57:11 +00:00
2002-10-09 22:25:18 +00:00
2002-10-09 22:25:18 +00:00
2002-10-10 22:00:09 +00:00
2002-10-10 22:00:09 +00:00
2002-10-04 23:50:27 +00:00
2002-10-04 23:50:27 +00:00
2003-07-18 23:08:51 +00:00
2002-10-04 23:50:27 +00:00
2002-10-04 23:50:27 +00:00
2002-10-07 04:29:52 +00:00
2002-10-13 17:17:14 +00:00
2003-05-08 00:25:51 +00:00
2003-12-19 22:47:20 +00:00
2003-12-19 22:47:20 +00:00
2002-10-07 01:38:40 +00:00
2002-10-07 01:38:40 +00:00
2002-10-07 01:38:40 +00:00
2003-12-19 22:47:20 +00:00
2003-12-08 22:55:03 +00:00
2003-12-08 22:55:03 +00:00
2003-12-08 22:55:03 +00:00
2002-10-11 22:57:11 +00:00
2003-09-30 22:48:10 +00:00
2003-09-30 22:48:10 +00:00
2003-09-30 22:48:10 +00:00
2003-01-31 00:37:38 +00:00
2002-10-11 22:57:11 +00:00
2003-10-10 17:18:34 +00:00
2002-10-07 04:29:52 +00:00
2003-09-03 19:57:05 +00:00
2002-10-13 20:44:18 +00:00
2003-12-15 22:03:15 +00:00
2002-10-11 22:57:11 +00:00
2002-10-05 23:15:39 +00:00
2002-10-05 23:15:39 +00:00
2002-10-09 23:55:27 +00:00
2003-12-19 22:47:20 +00:00
2003-03-21 20:34:02 +00:00
2003-03-21 20:34:02 +00:00
2003-07-23 15:31:10 +00:00
2003-07-23 15:31:10 +00:00
2003-07-16 21:07:38 +00:00
2003-12-08 23:13:14 +00:00
2002-10-10 01:02:25 +00:00
2003-09-30 22:48:10 +00:00
2002-10-09 22:11:08 +00:00
2002-10-04 23:50:27 +00:00
2003-08-29 19:38:07 +00:00
2002-10-13 20:44:18 +00:00
2002-10-09 23:55:27 +00:00
2003-09-03 19:57:05 +00:00
2002-10-11 22:57:11 +00:00
2002-10-04 22:49:28 +00:00
2002-10-04 22:49:28 +00:00
2002-10-07 04:29:52 +00:00
2002-10-07 04:29:52 +00:00
2003-09-19 16:18:16 +00:00
2002-10-08 23:07:02 +00:00
2002-10-04 23:50:27 +00:00
2002-10-04 22:49:28 +00:00
2002-10-04 22:49:28 +00:00
2002-10-04 08:02:14 +00:00
2002-10-04 08:02:14 +00:00
2002-10-04 08:02:14 +00:00
2002-10-09 22:25:18 +00:00
2003-08-24 17:28:23 +00:00
2002-07-29 21:11:23 +00:00
2002-10-05 23:15:39 +00:00
2002-10-05 01:51:16 +00:00
2002-10-10 22:20:48 +00:00
2002-10-10 22:20:48 +00:00
2002-10-11 22:57:11 +00:00
2002-11-28 00:33:17 +00:00
2002-10-10 22:00:09 +00:00
2002-10-09 22:11:08 +00:00
2002-10-09 22:11:08 +00:00
2003-10-10 17:18:34 +00:00
2002-10-05 23:15:39 +00:00
2002-10-13 20:44:18 +00:00
2002-10-13 20:44:18 +00:00
2002-10-05 01:51:16 +00:00
2003-12-08 22:55:03 +00:00
2002-10-05 01:51:16 +00:00
2002-10-05 23:15:39 +00:00
2002-10-05 23:15:39 +00:00
2003-10-10 17:18:34 +00:00
2003-06-02 14:14:41 +00:00
2002-10-08 23:07:02 +00:00
2002-10-13 23:56:31 +00:00
2002-02-02 01:00:42 +00:00
2003-09-03 19:57:05 +00:00
2002-12-12 23:02:40 +00:00
2002-10-04 23:50:27 +00:00
2002-10-04 23:50:27 +00:00
2002-10-04 22:49:28 +00:00
2002-10-04 22:49:28 +00:00
2002-10-04 08:02:14 +00:00
2002-10-04 08:02:14 +00:00
2002-10-04 08:02:14 +00:00
2002-10-04 08:02:14 +00:00
2002-12-10 21:39:53 +00:00
2002-10-09 23:55:27 +00:00
2002-10-10 01:02:25 +00:00
2002-10-09 00:38:22 +00:00
2002-10-10 01:02:25 +00:00
2002-10-11 22:57:11 +00:00
2003-04-12 22:25:21 +00:00
2002-10-10 22:00:09 +00:00
2002-10-10 21:45:41 +00:00
2002-10-10 21:45:41 +00:00
2002-10-10 01:02:25 +00:00
2002-10-11 22:57:11 +00:00
2002-10-11 22:57:11 +00:00
2003-12-29 10:55:53 +00:00
2003-12-29 10:55:53 +00:00
2003-12-29 10:55:53 +00:00
2003-12-29 10:55:53 +00:00
2002-10-09 22:25:18 +00:00
2003-09-03 19:57:05 +00:00
2002-05-27 22:42:08 +00:00
2002-10-07 19:10:39 +00:00
2003-08-25 21:33:00 +00:00
2002-10-07 19:10:39 +00:00
2002-10-07 19:10:39 +00:00
2002-10-07 19:10:39 +00:00
2003-12-19 22:47:20 +00:00
2003-03-03 04:51:42 +00:00
2003-09-03 19:57:05 +00:00
2002-10-04 22:49:28 +00:00
2002-10-04 22:49:28 +00:00
2002-10-07 04:29:52 +00:00
2002-10-07 04:29:52 +00:00
2002-10-09 00:38:22 +00:00
2002-11-07 19:53:49 +00:00
2002-10-08 23:07:02 +00:00
2002-10-04 23:50:27 +00:00
2002-10-04 22:49:28 +00:00
2002-10-04 22:49:28 +00:00
2002-10-04 08:02:14 +00:00
2002-10-04 08:02:14 +00:00
2002-10-04 08:02:14 +00:00
2002-12-10 21:39:53 +00:00
2002-12-10 21:39:53 +00:00
2002-12-10 21:39:53 +00:00
2002-12-10 21:39:53 +00:00
2002-12-10 21:39:53 +00:00
2002-12-10 21:39:53 +00:00