aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2003-04-05 06:12:13 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2003-04-05 06:12:13 +0800
commit26838c440e0b5c10bb4788e66ed63eb1e725f3a2 (patch)
tree63709f79b92d3b0f01f96156f4575504b6e40f8a /calendar/gui
parentc481b9e821cb8510b0eb7c4986e951f11c15d182 (diff)
downloadgsoc2013-evolution-26838c440e0b5c10bb4788e66ed63eb1e725f3a2.tar.gz
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')
-rw-r--r--calendar/gui/dialogs/alarm-options.c6
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) {