diff options
author | Marco Pesenti Gritti <marco@gnome.org> | 2003-09-24 21:06:21 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <marco@src.gnome.org> | 2003-09-24 21:06:21 +0800 |
commit | 1406ab3ba29e8a9e6f40ab63b497b9019608c98c (patch) | |
tree | 230c9a4660155594486a398c652ab60b92002342 /src | |
parent | da6333c06e51b7c4447d6d534d301c3f728679d9 (diff) | |
download | gsoc2013-epiphany-1406ab3ba29e8a9e6f40ab63b497b9019608c98c.tar gsoc2013-epiphany-1406ab3ba29e8a9e6f40ab63b497b9019608c98c.tar.gz gsoc2013-epiphany-1406ab3ba29e8a9e6f40ab63b497b9019608c98c.tar.bz2 gsoc2013-epiphany-1406ab3ba29e8a9e6f40ab63b497b9019608c98c.tar.lz gsoc2013-epiphany-1406ab3ba29e8a9e6f40ab63b497b9019608c98c.tar.xz gsoc2013-epiphany-1406ab3ba29e8a9e6f40ab63b497b9019608c98c.tar.zst gsoc2013-epiphany-1406ab3ba29e8a9e6f40ab63b497b9019608c98c.zip |
Remove also from the group
2003-09-24 Marco Pesenti Gritti <marco@gnome.org>
* src/ephy-tabs-menu.c: (tab_removed_cb):
Remove also from the group
Diffstat (limited to 'src')
-rw-r--r-- | src/ephy-tabs-menu.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/ephy-tabs-menu.c b/src/ephy-tabs-menu.c index a2eceb1e0..4a6e7ca25 100644 --- a/src/ephy-tabs-menu.c +++ b/src/ephy-tabs-menu.c @@ -118,12 +118,14 @@ static void tab_removed_cb (EphyNotebook *notebook, GtkWidget *child, EphyTabsMenu *menu) { EphyTab *tab; + GtkAction *action; g_return_if_fail (EPHY_IS_EMBED (child)); tab = EPHY_TAB (g_object_get_data (G_OBJECT (child), "EphyTab")); - - gtk_action_group_remove_action (menu->priv->action_group, - GTK_ACTION (ephy_tab_get_action (tab))); + + action = GTK_ACTION (ephy_tab_get_action (tab)); + gtk_radio_action_set_group (GTK_RADIO_ACTION (action), NULL); + gtk_action_group_remove_action (menu->priv->action_group, action); ephy_tabs_menu_update (menu); } |