aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/prop.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/prop.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/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 ();