From 26838c440e0b5c10bb4788e66ed63eb1e725f3a2 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Fri, 4 Apr 2003 22:12:13 +0000 Subject: (alarm_to_dialog): Make the file entry modal. [#40792] svn path=/trunk/; revision=20678 --- calendar/ChangeLog | 5 +++++ calendar/gui/dialogs/alarm-options.c | 6 ++++++ 2 files changed, 11 insertions(+) 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 + + * gui/dialogs/alarm-options.c (alarm_to_dialog): Make the file + entry modal. [#40792] + 2003-04-04 JP Rosevear * 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 #include #include +#include #include #include #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) { -- cgit v1.2.3