From da6a42ae382c1fca01cd420fe9ed313f2d4265b1 Mon Sep 17 00:00:00 2001 From: Miguel de Icaza Date: Thu, 10 Dec 1998 02:57:11 +0000 Subject: Use gnome_dialog_set_parent. ditto ditto. 1998-12-09 Miguel de Icaza * gncal-todo.c (simple_todo_editor): Use gnome_dialog_set_parent. * goto.c (goto_dialog): ditto * prop.c (properties): ditto. svn path=/trunk/; revision=522 --- calendar/main.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'calendar/main.c') diff --git a/calendar/main.c b/calendar/main.c index e41c2b2ce2..ea7b5efdb9 100644 --- a/calendar/main.c +++ b/calendar/main.c @@ -380,6 +380,12 @@ save_as_calendar_cmd (GtkWidget *widget, void *data) gtk_widget_destroy (GTK_WIDGET (fs)); } +static void +properties_cmd (GtkWidget *widget, GtkWidget *gcal) +{ + properties (gcal); +} + static void save_calendar_cmd (GtkWidget *widget, void *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, -- cgit v1.2.3