aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/main.c')
-rw-r--r--calendar/main.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/calendar/main.c b/calendar/main.c
index e41c2b2ce2..ea7b5efdb9 100644
--- a/calendar/main.c
+++ b/calendar/main.c
@@ -381,6 +381,12 @@ save_as_calendar_cmd (GtkWidget *widget, void *data)
}
static void
+properties_cmd (GtkWidget *widget, GtkWidget *gcal)
+{
+ properties (gcal);
+}
+
+static void
save_calendar_cmd (GtkWidget *widget, void *data)
{
GnomeCalendar *gcal = data;
@@ -403,7 +409,7 @@ static GnomeUIInfo gnome_cal_file_menu [] = {
GNOMEUIINFO_SEPARATOR,
- { GNOME_APP_UI_ITEM, N_("P_references..."), NULL, properties, NULL, NULL,
+ { GNOME_APP_UI_ITEM, N_("P_references..."), NULL, properties_cmd, NULL, NULL,
GNOME_APP_PIXMAP_STOCK, GNOME_STOCK_MENU_PREF, 0, 0, NULL },
GNOMEUIINFO_SEPARATOR,