aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/prop.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/prop.c')
-rw-r--r--calendar/prop.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/calendar/prop.c b/calendar/prop.c
index 9f2fdfbdc4..4ae7359f06 100644
--- a/calendar/prop.c
+++ b/calendar/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 ();