[empathy] Preferences: add empathy_preferences_show_tab()
- From: Emilio Pozuelo Monfort <epm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] Preferences: add empathy_preferences_show_tab()
- Date: Thu, 4 Aug 2011 09:14:01 +0000 (UTC)
commit 07f472213136ac29908a323a9d7612894c7ee5b4
Author: Emilio Pozuelo Monfort <emilio pozuelo collabora co uk>
Date: Wed Aug 3 13:11:03 2011 +0100
Preferences: add empathy_preferences_show_tab()
https://bugzilla.gnome.org/show_bug.cgi?id=655884
src/empathy-preferences.c | 9 +++++++++
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 589e24f..dd3aaee 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 0d7204f..9f77c89 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__ */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]