diff options
author | Jonny Lamb <jonnylamb@gnome.org> | 2011-08-02 00:41:34 +0800 |
---|---|---|
committer | Jonny Lamb <jonnylamb@gnome.org> | 2011-08-02 00:41:34 +0800 |
commit | f28483d938a0291f167b2e8f53e11c4d2ae3a6ec (patch) | |
tree | aa4b5ce1b115ae26806db2ced16b09b927a61f00 | |
parent | 400ff52437634aa1b615d4af0b51501bd3a14539 (diff) | |
download | gsoc2013-empathy-f28483d938a0291f167b2e8f53e11c4d2ae3a6ec.tar gsoc2013-empathy-f28483d938a0291f167b2e8f53e11c4d2ae3a6ec.tar.gz gsoc2013-empathy-f28483d938a0291f167b2e8f53e11c4d2ae3a6ec.tar.bz2 gsoc2013-empathy-f28483d938a0291f167b2e8f53e11c4d2ae3a6ec.tar.lz gsoc2013-empathy-f28483d938a0291f167b2e8f53e11c4d2ae3a6ec.tar.xz gsoc2013-empathy-f28483d938a0291f167b2e8f53e11c4d2ae3a6ec.tar.zst gsoc2013-empathy-f28483d938a0291f167b2e8f53e11c4d2ae3a6ec.zip |
preferences: update tab order
This isn't pretty but I'm not sure if there's a better way of getting
a specific tab from a GtkNotebook without using its order?
Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
-rw-r--r-- | src/empathy-preferences.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/empathy-preferences.c b/src/empathy-preferences.c index 0e90d00fd..589e24f62 100644 --- a/src/empathy-preferences.c +++ b/src/empathy-preferences.c @@ -1226,11 +1226,11 @@ empathy_preferences_init (EmpathyPreferences *preferences) preferences_sound_load (preferences); if (empathy_spell_supported ()) { - page = gtk_notebook_get_nth_page (GTK_NOTEBOOK (priv->notebook), 2); + page = gtk_notebook_get_nth_page (GTK_NOTEBOOK (priv->notebook), 5); gtk_widget_show (page); } - page = gtk_notebook_get_nth_page (GTK_NOTEBOOK (priv->notebook), 3); + page = gtk_notebook_get_nth_page (GTK_NOTEBOOK (priv->notebook), 4); #ifdef HAVE_GEOCLUE gtk_widget_show (page); #else |