diff options
author | Marco Pesenti Gritti <marco@gnome.org> | 2003-09-24 21:52:48 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <marco@src.gnome.org> | 2003-09-24 21:52:48 +0800 |
commit | 6207b89fee0b0d515789256374493ae149046474 (patch) | |
tree | 5503ae08d6923cf9ebc0d1a7605ba6b82101b084 /src/ephy-tabs-menu.c | |
parent | d39f450226f19adf4db9d209a9cec77fccd7f509 (diff) | |
download | gsoc2013-epiphany-6207b89fee0b0d515789256374493ae149046474.tar gsoc2013-epiphany-6207b89fee0b0d515789256374493ae149046474.tar.gz gsoc2013-epiphany-6207b89fee0b0d515789256374493ae149046474.tar.bz2 gsoc2013-epiphany-6207b89fee0b0d515789256374493ae149046474.tar.lz gsoc2013-epiphany-6207b89fee0b0d515789256374493ae149046474.tar.xz gsoc2013-epiphany-6207b89fee0b0d515789256374493ae149046474.tar.zst gsoc2013-epiphany-6207b89fee0b0d515789256374493ae149046474.zip |
Simplify and solve bugs by using a checkbox with radio appeareance. That
2003-09-24 Marco Pesenti Gritti <marco@gnome.org>
* src/ephy-tab.c: (ephy_tab_init):
* src/ephy-tabs-menu.c: (tab_added_cb), (tab_removed_cb),
(ephy_tabs_menu_init):
* src/ephy-window.c: (ephy_window_set_active_tab):
Simplify and solve bugs by using a checkbox with radio
appeareance. That way we can get rid of groups that
doesnt really work well for our needs.
Diffstat (limited to 'src/ephy-tabs-menu.c')
-rw-r--r-- | src/ephy-tabs-menu.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/ephy-tabs-menu.c b/src/ephy-tabs-menu.c index 4a6e7ca25..9b7c6c6fc 100644 --- a/src/ephy-tabs-menu.c +++ b/src/ephy-tabs-menu.c @@ -48,7 +48,6 @@ struct _EphyTabsMenuPrivate { EphyWindow *window; GtkActionGroup *action_group; - GSList *radio_group; guint ui_id; }; @@ -108,9 +107,6 @@ tab_added_cb (EphyNotebook *notebook, GtkWidget *child, EphyTabsMenu *menu) action = GTK_ACTION (ephy_tab_get_action (tab)); gtk_action_group_add_action (menu->priv->action_group, action); - gtk_radio_action_set_group (GTK_RADIO_ACTION (action), menu->priv->radio_group); - menu->priv->radio_group = gtk_radio_action_get_group (GTK_RADIO_ACTION (action)); - ephy_tabs_menu_update (menu); } @@ -124,7 +120,6 @@ tab_removed_cb (EphyNotebook *notebook, GtkWidget *child, EphyTabsMenu *menu) tab = EPHY_TAB (g_object_get_data (G_OBJECT (child), "EphyTab")); 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); @@ -209,7 +204,6 @@ ephy_tabs_menu_init (EphyTabsMenu *menu) menu->priv = EPHY_TABS_MENU_GET_PRIVATE (menu); menu->priv->ui_id = 0; - menu->priv->radio_group = NULL; menu->priv->action_group = NULL; } |