From 181e276c46263a695457f4c250c917560d6e1596 Mon Sep 17 00:00:00 2001 From: Seth Alves Date: Sat, 8 Apr 2000 20:21:31 +0000 Subject: new function: friendly wrapper for cal_client_create_calendar * gui/gnome-cal.c (gnome_calendar_create): new function: friendly wrapper for cal_client_create_calendar * gui/calendar-commands.c (new_calendar): call gnome_calendar_create if no filename is provided * gui/prop.c (properties): calendar is a frame * gui/calendar-commands.c (calendar_control_activate): sort out the menus a bit, more of them show up now. * gui/Makefile.am: don't build library or test, just the bonobo control * gui/gncal-todo.c (simple_todo_editor): calendar is a frame instead of a window, now. * gui/gnome-cal.c (gnome_calendar_new): same * gui/goto.c (goto_dialog): same svn path=/trunk/; revision=2339 --- calendar/gui/prop.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'calendar/gui/prop.c') diff --git a/calendar/gui/prop.c b/calendar/gui/prop.c index 43b89df74a..c5169a05bd 100644 --- a/calendar/gui/prop.c +++ b/calendar/gui/prop.c @@ -710,8 +710,9 @@ properties (GtkWidget *toplevel) 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)); - + gnome_dialog_set_parent (GNOME_DIALOG (prop_win), + GTK_WINDOW (gtk_widget_get_toplevel (toplevel))); + create_time_display_page (); create_colors_page (); create_todo_page (); -- cgit