diff options
Diffstat (limited to 'calendar/gui')
-rw-r--r-- | calendar/gui/dialogs/alarm-options.c | 6 |
1 files changed, 6 insertions, 0 deletions
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) { |