aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-tab.c
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@gnome.org>2003-09-24 21:52:48 +0800
committerMarco Pesenti Gritti <marco@src.gnome.org>2003-09-24 21:52:48 +0800
commit6207b89fee0b0d515789256374493ae149046474 (patch)
tree5503ae08d6923cf9ebc0d1a7605ba6b82101b084 /src/ephy-tab.c
parentd39f450226f19adf4db9d209a9cec77fccd7f509 (diff)
downloadgsoc2013-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-tab.c')
-rw-r--r--src/ephy-tab.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ephy-tab.c b/src/ephy-tab.c
index 8e5b4605a..e0455a194 100644
--- a/src/ephy-tab.c
+++ b/src/ephy-tab.c
@@ -71,7 +71,7 @@ struct EphyTabPrivate
int total_requests;
int width;
int height;
- GtkRadioAction *action;
+ GtkToggleAction *action;
float zoom;
EmbedSecurityLevel security_level;
TabNavigationFlags nav_flags;
@@ -1010,9 +1010,10 @@ ephy_tab_init (EphyTab *tab)
id = g_strdup_printf ("Tab%lu", tab_id++);
- tab->priv->action = g_object_new (GTK_TYPE_RADIO_ACTION,
+ tab->priv->action = g_object_new (GTK_TYPE_TOGGLE_ACTION,
"name", id,
"label", _("Blank page"),
+ "draw_as_radio", TRUE,
NULL);
g_free (id);