diff options
Diffstat (limited to 'src/empathy-preferences.h')
-rw-r--r-- | src/empathy-preferences.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/empathy-preferences.h b/src/empathy-preferences.h index daaaecc0b..fef0646d7 100644 --- a/src/empathy-preferences.h +++ b/src/empathy-preferences.h @@ -50,6 +50,7 @@ struct _EmpathyPreferencesClass { GtkDialogClass parent_class; }; +/* Keep this enum and the array in empathy-preferences.c in sync */ typedef enum { EMPATHY_PREFERENCES_TAB_GENERAL, @@ -61,14 +62,6 @@ typedef enum EMPATHY_PREFERENCES_TAB_THEMES, } EmpathyPreferencesTab; -#define EMPATHY_PREFERENCES_STR_TAB_GENERAL "general" -#define EMPATHY_PREFERENCES_STR_TAB_NOTIFICATIONS "notifications" -#define EMPATHY_PREFERENCES_STR_TAB_SOUNDS "sounds" -#define EMPATHY_PREFERENCES_STR_TAB_CALLS "calls" -#define EMPATHY_PREFERENCES_STR_TAB_LOCATION "location" -#define EMPATHY_PREFERENCES_STR_TAB_SPELL "spell" -#define EMPATHY_PREFERENCES_STR_TAB_THEMES "themes" - GType empathy_preferences_get_type (void); GtkWidget *empathy_preferences_new (GtkWindow *parent); @@ -76,6 +69,9 @@ GtkWidget *empathy_preferences_new (GtkWindow *parent); void empathy_preferences_show_tab (EmpathyPreferences *self, const gchar *tab); +const gchar * +empathy_preferences_tab_to_string (EmpathyPreferencesTab tab); + G_END_DECLS #endif /* __EMPATHY_PREFERENCES_H__ */ |