[empathy] Preferences: add an enum for all the tabs



commit d801233c1f25596c429d75d03ec6282d1b3828e2
Author: Emilio Pozuelo Monfort <emilio pozuelo collabora co uk>
Date:   Wed Aug 3 16:24:38 2011 +0100

    Preferences: add an enum for all the tabs

 src/empathy-preferences.h |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/src/empathy-preferences.h b/src/empathy-preferences.h
index 9f77c89..707c5e8 100644
--- a/src/empathy-preferences.h
+++ b/src/empathy-preferences.h
@@ -50,6 +50,17 @@ struct _EmpathyPreferencesClass {
 	GtkDialogClass parent_class;
 };
 
+typedef enum
+{
+  EMPATHY_PREFERENCES_TAB_GENERAL,
+  EMPATHY_PREFERENCES_TAB_NOTIFICATIONS,
+  EMPATHY_PREFERENCES_TAB_SOUNDS,
+  EMPATHY_PREFERENCES_TAB_CALLS,
+  EMPATHY_PREFERENCES_TAB_LOCATION,
+  EMPATHY_PREFERENCES_TAB_SPELL,
+  EMPATHY_PREFERENCES_TAB_THEMES,
+} EmpathyPreferencesTab;
+
 GType empathy_preferences_get_type (void);
 
 GtkWidget *empathy_preferences_new (GtkWindow *parent);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]