diff options
author | JP Rosevear <jpr@novell.com> | 2004-06-23 06:35:41 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2004-06-23 06:35:41 +0800 |
commit | 2e266d5ae53296ce9b647c2318b42b2d9111a7b1 (patch) | |
tree | ae3635b63e45a7d0d4ef9e2c46ee0d860da27601 /calendar/gui/dialogs/alarm-options.c | |
parent | 433db9d759e49c0200d9b27553add4afcddc100d (diff) | |
download | gsoc2013-evolution-2e266d5ae53296ce9b647c2318b42b2d9111a7b1.tar gsoc2013-evolution-2e266d5ae53296ce9b647c2318b42b2d9111a7b1.tar.gz gsoc2013-evolution-2e266d5ae53296ce9b647c2318b42b2d9111a7b1.tar.bz2 gsoc2013-evolution-2e266d5ae53296ce9b647c2318b42b2d9111a7b1.tar.lz gsoc2013-evolution-2e266d5ae53296ce9b647c2318b42b2d9111a7b1.tar.xz gsoc2013-evolution-2e266d5ae53296ce9b647c2318b42b2d9111a7b1.tar.zst gsoc2013-evolution-2e266d5ae53296ce9b647c2318b42b2d9111a7b1.zip |
HIGify and newer design; alarm page is gone, Cancel/OK buttons for the
2004-06-22 JP Rosevear <jpr@novell.com>
* gui/dialogs/Makefile.am, gui/dialogs/alarm-dialog.c,
gui/dialogs/alarm-dialog.glade, gui/dialogs/alarm-dialog.h,
gui/dialogs/alarm-list-dialog.c,
gui/dialogs/alarm-list-dialog.glade,
gui/dialogs/alarm-list-dialog.h, gui/dialogs/alarm-options.c,
gui/dialogs/alarm-options.h, gui/dialogs/alarm-page.c,
gui/dialogs/alarm-page.glade, gui/dialogs/alarm-page.h,
gui/dialogs/comp-editor.c, gui/dialogs/comp-editor.h,
gui/dialogs/event-editor.c, gui/dialogs/event-page.c,
gui/dialogs/event-page.glade, gui/dialogs/meeting-page.c,
gui/dialogs/meeting-page.glade, gui/dialogs/recurrence-page.c,
gui/dialogs/recurrence-page.glade,
gui/dialogs/task-details-page.c,
gui/dialogs/task-details-page.glade, gui/dialogs/task-editor.c,
gui/dialogs/task-page.c, gui/dialogs/task-page.glade: HIGify and
newer design; alarm page is gone, Cancel/OK buttons for the
dialog, no more menus; slightly improve read-only workings for
entry areas
svn path=/trunk/; revision=26463
Diffstat (limited to 'calendar/gui/dialogs/alarm-options.c')
-rw-r--r-- | calendar/gui/dialogs/alarm-options.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/calendar/gui/dialogs/alarm-options.c b/calendar/gui/dialogs/alarm-options.c index 7022325ae3..bb77cb61f4 100644 --- a/calendar/gui/dialogs/alarm-options.c +++ b/calendar/gui/dialogs/alarm-options.c @@ -770,7 +770,7 @@ dialog_to_alarm (Dialog *dialog, ECalComponentAlarm *alarm) * Return value: TRUE if the dialog could be created, FALSE otherwise. **/ gboolean -alarm_options_dialog_run (ECalComponentAlarm *alarm, const char *email, gboolean repeat) +alarm_options_dialog_run (GtkWidget *parent, ECalComponentAlarm *alarm, const char *email, gboolean repeat) { Dialog dialog; int response_id; @@ -782,7 +782,7 @@ alarm_options_dialog_run (ECalComponentAlarm *alarm, const char *email, gboolean dialog.email = email; dialog.xml = glade_xml_new (EVOLUTION_GLADEDIR "/alarm-options.glade", NULL, NULL); if (!dialog.xml) { - g_message ("alarm_options_dialog_new(): Could not load the Glade XML file!"); + g_message (G_STRLOC ": Could not load the Glade XML file!"); return FALSE; } @@ -807,6 +807,9 @@ alarm_options_dialog_run (ECalComponentAlarm *alarm, const char *email, gboolean g_list_free (icon_list); } + gtk_window_set_transient_for (GTK_WINDOW (dialog.toplevel), + GTK_WINDOW (parent)); + response_id = gtk_dialog_run (GTK_DIALOG (dialog.toplevel)); gtk_widget_hide (dialog.toplevel); @@ -818,3 +821,4 @@ alarm_options_dialog_run (ECalComponentAlarm *alarm, const char *email, gboolean return TRUE; } + |