aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/main.c
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@nuclecu.unam.mx>1998-12-10 10:57:11 +0800
committerArturo Espinosa <unammx@src.gnome.org>1998-12-10 10:57:11 +0800
commitda6a42ae382c1fca01cd420fe9ed313f2d4265b1 (patch)
tree5f91e4fba4699bd61eed2b55c66b62f0389ee074 /calendar/gui/main.c
parent60ab9dc306f5dae4f807da3336cb9329a77c665f (diff)
downloadgsoc2013-evolution-da6a42ae382c1fca01cd420fe9ed313f2d4265b1.tar
gsoc2013-evolution-da6a42ae382c1fca01cd420fe9ed313f2d4265b1.tar.gz
gsoc2013-evolution-da6a42ae382c1fca01cd420fe9ed313f2d4265b1.tar.bz2
gsoc2013-evolution-da6a42ae382c1fca01cd420fe9ed313f2d4265b1.tar.lz
gsoc2013-evolution-da6a42ae382c1fca01cd420fe9ed313f2d4265b1.tar.xz
gsoc2013-evolution-da6a42ae382c1fca01cd420fe9ed313f2d4265b1.tar.zst
gsoc2013-evolution-da6a42ae382c1fca01cd420fe9ed313f2d4265b1.zip
Use gnome_dialog_set_parent. ditto ditto.
1998-12-09 Miguel de Icaza <miguel@nuclecu.unam.mx> * 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
Diffstat (limited to 'calendar/gui/main.c')
-rw-r--r--calendar/gui/main.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/calendar/gui/main.c b/calendar/gui/main.c
index e41c2b2ce2..ea7b5efdb9 100644
--- a/calendar/gui/main.c
+++ b/calendar/gui/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,