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
This commit is contained in:
@ -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
|
||||
|
||||
@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user