aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/prop.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/prop.c')
-rw-r--r--calendar/gui/prop.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/calendar/gui/prop.c b/calendar/gui/prop.c
index 9f2fdfbdc4..4ae7359f06 100644
--- a/calendar/gui/prop.c
+++ b/calendar/gui/prop.c
@@ -496,14 +496,15 @@ create_colors_page (void)
/* Creates and displays the preferences dialog for the whole application */
void
-properties (void)
+properties (GtkWidget *toplevel)
{
if (prop_win)
return;
prop_win = gnome_property_box_new ();
gtk_window_set_title (GTK_WINDOW (prop_win), _("Preferences"));
-
+ gnome_dialog_set_parent (GNOME_DIALOG (prop_win), GTK_WINDOW (toplevel));
+
create_time_display_page ();
create_colors_page ();