mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-05 16:20:10 +00:00
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:
parent
e3e7b75557
commit
87248d53a2
@ -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.
|
||||
|
||||
|
@ -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.
|
||||
|
||||
|
@ -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.
|
||||
|
||||
|
@ -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.
|
||||
|
||||
|
@ -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.
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
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, "/",
|
||||
|
Loading…
Reference in New Issue
Block a user