diff options
-rw-r--r-- | calendar/ChangeLog | 5 | ||||
-rw-r--r-- | calendar/gui/dialogs/alarm-options.c | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 6b7efc4512..62e3797264 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,8 @@ +2003-04-04 Ettore Perazzoli <ettore@ximian.com> + + * gui/dialogs/alarm-options.c (alarm_to_dialog): Make the file + entry modal. [#40792] + 2003-04-04 JP Rosevear <jpr@ximian.com> * gui/dialogs/alarm-options.c (alarm_to_dalarm_widgets): diff --git a/calendar/gui/dialogs/alarm-options.c b/calendar/gui/dialogs/alarm-options.c index bfd92fed16..e731f1c35c 100644 --- a/calendar/gui/dialogs/alarm-options.c +++ b/calendar/gui/dialogs/alarm-options.c @@ -35,6 +35,7 @@ #include <bonobo/bonobo-control.h> #include <bonobo/bonobo-exception.h> #include <bonobo/bonobo-widget.h> +#include <libgnomeui/gnome-file-entry.h> #include <glade/glade.h> #include <ebook/e-destination.h> #include "Evolution-Addressbook-SelectNames.h" @@ -461,14 +462,19 @@ alarm_to_repeat_widgets (Dialog *dialog, CalComponentAlarm *alarm) e_dialog_option_menu_set (dialog->repeat_unit, units, duration_units_map); } + /* Fills the widgets with the values from the alarm component */ static void alarm_to_dialog (Dialog *dialog, CalComponentAlarm *alarm) { CalAlarmAction action; + GnomeFileEntry *file_entry; alarm_to_repeat_widgets (dialog, alarm); + file_entry = glade_xml_get_widget (dialog->xml, "file-entry1"); + gnome_file_entry_set_modal (file_entry, TRUE); + cal_component_alarm_get_action (alarm, &action); switch (action) { |