aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorNicel KM <mnicel@novell.com>2004-05-14 19:12:31 +0800
committerNicel KM <mnicel@src.gnome.org>2004-05-14 19:12:31 +0800
commit2e5b3b9ff9827b040ab4bb4dec2490cbe1e577cd (patch)
tree96f12a69374c536919497450928a70ca114163ae /calendar
parent11ec709d94cea06827785fe09d1760711939c7ef (diff)
downloadgsoc2013-evolution-2e5b3b9ff9827b040ab4bb4dec2490cbe1e577cd.tar
gsoc2013-evolution-2e5b3b9ff9827b040ab4bb4dec2490cbe1e577cd.tar.gz
gsoc2013-evolution-2e5b3b9ff9827b040ab4bb4dec2490cbe1e577cd.tar.bz2
gsoc2013-evolution-2e5b3b9ff9827b040ab4bb4dec2490cbe1e577cd.tar.lz
gsoc2013-evolution-2e5b3b9ff9827b040ab4bb4dec2490cbe1e577cd.tar.xz
gsoc2013-evolution-2e5b3b9ff9827b040ab4bb4dec2490cbe1e577cd.tar.zst
gsoc2013-evolution-2e5b3b9ff9827b040ab4bb4dec2490cbe1e577cd.zip
invoke options dialog even if backend does not support email alarms and
2004-05-14 Nicel KM <mnicel@novell.com> * gui/dialogs/alarm-page.c (button_options_clicked_cb): invoke options dialog even if backend does not support email alarms and get email address only if supported. svn path=/trunk/; revision=25904
Diffstat (limited to 'calendar')
-rw-r--r--calendar/ChangeLog6
-rw-r--r--calendar/gui/dialogs/alarm-page.c3
2 files changed, 8 insertions, 1 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index ee7b6c652e..27c4c1828a 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,9 @@
+2004-05-14 Nicel KM <mnicel@novell.com>
+
+ * gui/dialogs/alarm-page.c (button_options_clicked_cb): invoke options
+ dialog even if backend does not support email alarms and get email
+ address only if supported.
+
2004-05-13 Rodrigo Moya <rodrigo@ximian.com>
* gui/dialogs/alarm-page.c (add_clicked_cb): only get the email address
diff --git a/calendar/gui/dialogs/alarm-page.c b/calendar/gui/dialogs/alarm-page.c
index ada79bc984..7a8c687ad7 100644
--- a/calendar/gui/dialogs/alarm-page.c
+++ b/calendar/gui/dialogs/alarm-page.c
@@ -755,7 +755,8 @@ button_options_clicked_cb (GtkWidget *widget, gpointer data)
repeat = !e_cal_get_static_capability (COMP_EDITOR_PAGE (apage)->client,
CAL_STATIC_CAPABILITY_NO_ALARM_REPEAT);
- if (e_cal_get_alarm_email_address (COMP_EDITOR_PAGE (apage)->client, &email, NULL)) {
+ if (e_cal_get_static_capability (COMP_EDITOR_PAGE (apage)->client, CAL_STATIC_CAPABILITY_NO_EMAIL_ALARMS)
+ || e_cal_get_alarm_email_address (COMP_EDITOR_PAGE (apage)->client, &email, NULL)) {
if (!alarm_options_dialog_run (priv->alarm, email, repeat))
g_message ("button_options_clicked_cb(): Could not create the alarm options dialog");
}