aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs/cal-prefs-dialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/dialogs/cal-prefs-dialog.h')
-rw-r--r--calendar/gui/dialogs/cal-prefs-dialog.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/calendar/gui/dialogs/cal-prefs-dialog.h b/calendar/gui/dialogs/cal-prefs-dialog.h
index e238d83378..88d3b10249 100644
--- a/calendar/gui/dialogs/cal-prefs-dialog.h
+++ b/calendar/gui/dialogs/cal-prefs-dialog.h
@@ -47,6 +47,11 @@ typedef struct _CalPrefsDialogClass CalPrefsDialogClass;
typedef struct _CalPrefsDialogPrivate CalPrefsDialogPrivate;
+typedef enum {
+ CAL_PREFS_DIALOG_PAGE_CALENDAR,
+ CAL_PREFS_DIALOG_PAGE_TASKS
+} CalPrefsDialogPage;
+
struct _CalPrefsDialog
{
GtkObject object;
@@ -62,10 +67,10 @@ struct _CalPrefsDialogClass
GtkType cal_prefs_dialog_get_type (void);
-CalPrefsDialog* cal_prefs_dialog_construct (CalPrefsDialog *prefs);
-CalPrefsDialog* cal_prefs_dialog_new (void);
+CalPrefsDialog* cal_prefs_dialog_construct (CalPrefsDialog *prefs, CalPrefsDialogPage page);
+CalPrefsDialog* cal_prefs_dialog_new (CalPrefsDialogPage page);
-void cal_prefs_dialog_show (CalPrefsDialog *prefs);
+void cal_prefs_dialog_show (CalPrefsDialog *prefs, CalPrefsDialogPage page);
END_GNOME_DECLS