aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/tasks-control.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/tasks-control.c')
-rw-r--r--calendar/gui/tasks-control.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/calendar/gui/tasks-control.c b/calendar/gui/tasks-control.c
index 979a3abb6e..6ae2a45565 100644
--- a/calendar/gui/tasks-control.c
+++ b/calendar/gui/tasks-control.c
@@ -92,9 +92,6 @@ static void tasks_control_complete_cmd (BonoboUIComponent *uic,
static void tasks_control_expunge_cmd (BonoboUIComponent *uic,
gpointer data,
const char *path);
-static void tasks_control_settings_cmd (BonoboUIComponent *uic,
- gpointer data,
- const char *path);
static void tasks_control_print_cmd (BonoboUIComponent *uic,
gpointer data,
const char *path);
@@ -270,7 +267,6 @@ static BonoboUIVerb verbs [] = {
BONOBO_UI_VERB ("TasksDelete", tasks_control_delete_cmd),
BONOBO_UI_VERB ("TasksMarkComplete", tasks_control_complete_cmd),
BONOBO_UI_VERB ("TasksExpunge", tasks_control_expunge_cmd),
- BONOBO_UI_VERB ("TasksSettings", tasks_control_settings_cmd),
BONOBO_UI_VERB ("TasksPrint", tasks_control_print_cmd),
BONOBO_UI_VERB ("TasksPrintPreview", tasks_control_print_preview_cmd),
@@ -488,22 +484,6 @@ tasks_control_expunge_cmd (BonoboUIComponent *uic,
}
-/* Callback used for the tasks settings command */
-static void
-tasks_control_settings_cmd (BonoboUIComponent *uic, gpointer data, const char *path)
-{
- ETasks *tasks;
- static CalPrefsDialog *prefs_dialog = NULL;
-
- tasks = E_TASKS (data);
-
- if (!prefs_dialog)
- prefs_dialog = cal_prefs_dialog_new (CAL_PREFS_DIALOG_PAGE_TASKS);
- else
- cal_prefs_dialog_show (prefs_dialog, CAL_PREFS_DIALOG_PAGE_TASKS);
-}
-
-
static void
print_title (GnomePrintContext *pc,
double page_width, double page_height)