Actually group the actions together rather than putting each in its own

2003-08-29  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkactiongroup.c (gtk_action_group_add_radio_actions_full): Actually group the actions
	together rather than putting each in its own group.
This commit is contained in:
Matthias Clasen 2003-08-29 20:21:01 +00:00 committed by Matthias Clasen
parent e3e7b75557
commit 87248d53a2
6 changed files with 18 additions and 5 deletions

View File

@ -1,5 +1,8 @@
2003-08-29 Matthias Clasen <maclas@gmx.de>
* gtk/gtkactiongroup.c (gtk_action_group_add_radio_actions_full): Actually group the actions
together rather than putting each in its own group.
* gtk/gtkradioaction.c (create_menu_item): Set "draw_as_radio" on proxy menu items
for radio actions.

View File

@ -1,5 +1,8 @@
2003-08-29 Matthias Clasen <maclas@gmx.de>
* gtk/gtkactiongroup.c (gtk_action_group_add_radio_actions_full): Actually group the actions
together rather than putting each in its own group.
* gtk/gtkradioaction.c (create_menu_item): Set "draw_as_radio" on proxy menu items
for radio actions.

View File

@ -1,5 +1,8 @@
2003-08-29 Matthias Clasen <maclas@gmx.de>
* gtk/gtkactiongroup.c (gtk_action_group_add_radio_actions_full): Actually group the actions
together rather than putting each in its own group.
* gtk/gtkradioaction.c (create_menu_item): Set "draw_as_radio" on proxy menu items
for radio actions.

View File

@ -1,5 +1,8 @@
2003-08-29 Matthias Clasen <maclas@gmx.de>
* gtk/gtkactiongroup.c (gtk_action_group_add_radio_actions_full): Actually group the actions
together rather than putting each in its own group.
* gtk/gtkradioaction.c (create_menu_item): Set "draw_as_radio" on proxy menu items
for radio actions.

View File

@ -1,5 +1,8 @@
2003-08-29 Matthias Clasen <maclas@gmx.de>
* gtk/gtkactiongroup.c (gtk_action_group_add_radio_actions_full): Actually group the actions
together rather than putting each in its own group.
* gtk/gtkradioaction.c (create_menu_item): Set "draw_as_radio" on proxy menu items
for radio actions.

View File

@ -425,6 +425,7 @@ gtk_action_group_add_radio_actions_full (GtkActionGroup *action_group,
guint i;
GtkTranslateFunc translate_func;
gpointer translate_data;
GSList *group = NULL;
g_return_if_fail (GTK_IS_ACTION_GROUP (action_group));
@ -464,11 +465,8 @@ gtk_action_group_add_radio_actions_full (GtkActionGroup *action_group,
on_change, user_data,
(GClosureNotify)destroy, 0);
}
else
{
GSList *group = gtk_radio_action_get_group (GTK_RADIO_ACTION (action));
gtk_radio_action_set_group (GTK_RADIO_ACTION (action), group);
}
group = gtk_radio_action_get_group (GTK_RADIO_ACTION (action));
/* set the accel path for the menu item */
accel_path = g_strconcat ("<Actions>/", action_group->private_data->name, "/",