aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/goto.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/goto.c')
-rw-r--r--calendar/goto.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/calendar/goto.c b/calendar/goto.c
index b645f02b6b..0e065f63c3 100644
--- a/calendar/goto.c
+++ b/calendar/goto.c
@@ -264,7 +264,8 @@ goto_dialog (GnomeCalendar *gcal)
goto_win = gnome_dialog_new (_("Go to date"),
GNOME_STOCK_BUTTON_CANCEL,
NULL);
-
+ gnome_dialog_set_parent (GNOME_DIALOG (goto_win), GTK_WINDOW (gcal));
+
vbox = GNOME_DIALOG (goto_win)->vbox;
/* Instructions */