diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2003-04-05 06:12:13 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2003-04-05 06:12:13 +0800 |
commit | 26838c440e0b5c10bb4788e66ed63eb1e725f3a2 (patch) | |
tree | 63709f79b92d3b0f01f96156f4575504b6e40f8a /calendar/gui/dialogs | |
parent | c481b9e821cb8510b0eb7c4986e951f11c15d182 (diff) | |
download | gsoc2013-evolution-26838c440e0b5c10bb4788e66ed63eb1e725f3a2.tar gsoc2013-evolution-26838c440e0b5c10bb4788e66ed63eb1e725f3a2.tar.gz gsoc2013-evolution-26838c440e0b5c10bb4788e66ed63eb1e725f3a2.tar.bz2 gsoc2013-evolution-26838c440e0b5c10bb4788e66ed63eb1e725f3a2.tar.lz gsoc2013-evolution-26838c440e0b5c10bb4788e66ed63eb1e725f3a2.tar.xz gsoc2013-evolution-26838c440e0b5c10bb4788e66ed63eb1e725f3a2.tar.zst gsoc2013-evolution-26838c440e0b5c10bb4788e66ed63eb1e725f3a2.zip |
(alarm_to_dialog): Make the file
entry modal. [#40792]
svn path=/trunk/; revision=20678
Diffstat (limited to 'calendar/gui/dialogs')
-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) { |