aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-preferences.c
diff options
context:
space:
mode:
authorEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>2011-08-03 20:11:03 +0800
committerEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>2011-08-04 17:10:20 +0800
commit07f472213136ac29908a323a9d7612894c7ee5b4 (patch)
treec3ef1d24a8ca35ddcd45189bb3962d949cdb311c /src/empathy-preferences.c
parentfd22fd115db8b22a4885402a9cd7c8b846de01ec (diff)
downloadgsoc2013-empathy-07f472213136ac29908a323a9d7612894c7ee5b4.tar
gsoc2013-empathy-07f472213136ac29908a323a9d7612894c7ee5b4.tar.gz
gsoc2013-empathy-07f472213136ac29908a323a9d7612894c7ee5b4.tar.bz2
gsoc2013-empathy-07f472213136ac29908a323a9d7612894c7ee5b4.tar.lz
gsoc2013-empathy-07f472213136ac29908a323a9d7612894c7ee5b4.tar.xz
gsoc2013-empathy-07f472213136ac29908a323a9d7612894c7ee5b4.tar.zst
gsoc2013-empathy-07f472213136ac29908a323a9d7612894c7ee5b4.zip
Preferences: add empathy_preferences_show_tab()
https://bugzilla.gnome.org/show_bug.cgi?id=655884
Diffstat (limited to 'src/empathy-preferences.c')
-rw-r--r--src/empathy-preferences.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/empathy-preferences.c b/src/empathy-preferences.c
index 589e24f62..dd3aaee13 100644
--- a/src/empathy-preferences.c
+++ b/src/empathy-preferences.c
@@ -1254,3 +1254,12 @@ empathy_preferences_new (GtkWindow *parent)
return self;
}
+
+void
+empathy_preferences_show_tab (EmpathyPreferences *self,
+ gint tab)
+{
+ EmpathyPreferencesPriv *priv = GET_PRIV (self);
+
+ gtk_notebook_set_current_page (GTK_NOTEBOOK (priv->notebook), tab);
+}