[empathy] preferences: update tab order
- From: Jonny Lamb <jonnylamb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] preferences: update tab order
- Date: Mon, 1 Aug 2011 16:49:55 +0000 (UTC)
commit f28483d938a0291f167b2e8f53e11c4d2ae3a6ec
Author: Jonny Lamb <jonnylamb gnome org>
Date: Mon Aug 1 17:41:34 2011 +0100
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>
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 0e90d00..589e24f 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]