diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/empathy-preferences.c | 9 | ||||
-rw-r--r-- | src/empathy-preferences.h | 3 |
2 files changed, 12 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); +} diff --git a/src/empathy-preferences.h b/src/empathy-preferences.h index 0d7204fcc..9f77c892b 100644 --- a/src/empathy-preferences.h +++ b/src/empathy-preferences.h @@ -54,6 +54,9 @@ GType empathy_preferences_get_type (void); GtkWidget *empathy_preferences_new (GtkWindow *parent); +void empathy_preferences_show_tab (EmpathyPreferences *self, + gint tab); + G_END_DECLS #endif /* __EMPATHY_PREFERENCES_H__ */ |