aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-04-18 20:48:25 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-04-18 20:56:20 +0800
commit2f47b719dd129eb5821c2b186455c979e043f585 (patch)
tree78ed2e7116d4a892d07997bcf998951c9c709ee6 /calendar
parentd15dd3e89b4a29c3bbe2d4ac7be874f5aa965fb4 (diff)
downloadgsoc2013-evolution-2f47b719dd129eb5821c2b186455c979e043f585.tar
gsoc2013-evolution-2f47b719dd129eb5821c2b186455c979e043f585.tar.gz
gsoc2013-evolution-2f47b719dd129eb5821c2b186455c979e043f585.tar.bz2
gsoc2013-evolution-2f47b719dd129eb5821c2b186455c979e043f585.tar.lz
gsoc2013-evolution-2f47b719dd129eb5821c2b186455c979e043f585.tar.xz
gsoc2013-evolution-2f47b719dd129eb5821c2b186455c979e043f585.tar.zst
gsoc2013-evolution-2f47b719dd129eb5821c2b186455c979e043f585.zip
alarm-queue: Remove the "mail notifications not supported" dialog
This dialog is all kinds of lame, not to mention ugly. It tends to pop up when evolution-alarm-notify starts and often steals input focus from the normal reminder dialog that pops up overtop of it. Let's not apologize for features not implemented. Instead of alerting the user that we'll show a normal reminder dialog in lieu of sending an email reminder, just show a normal reminder dialog.
Diffstat (limited to 'calendar')
-rw-r--r--calendar/alarm-notify/alarm-queue.c25
1 files changed, 1 insertions, 24 deletions
diff --git a/calendar/alarm-notify/alarm-queue.c b/calendar/alarm-notify/alarm-queue.c
index 2270879646..7e4961b786 100644
--- a/calendar/alarm-notify/alarm-queue.c
+++ b/calendar/alarm-notify/alarm-queue.c
@@ -1867,35 +1867,12 @@ mail_notification (time_t trigger,
CompQueuedAlarms *cqa,
gpointer alarm_id)
{
- GtkWidget *container;
- GtkWidget *dialog;
- GtkWidget *label;
-
- /* FIXME */
-
- debug (("..."));
-
if (!e_client_check_capability (
E_CLIENT (cqa->parent_client->cal_client),
CAL_STATIC_CAPABILITY_NO_EMAIL_ALARMS))
return;
- dialog = gtk_dialog_new_with_buttons (
- _("Warning"), NULL, 0,
- GTK_STOCK_OK, GTK_RESPONSE_CANCEL,
- NULL);
- label = gtk_label_new (
- _("Evolution does not support calendar reminders with\n"
- "email notifications yet, but this reminder was\n"
- "configured to send an email. Evolution will display\n"
- "a normal reminder dialog box instead."));
- gtk_widget_show (label);
-
- container = gtk_dialog_get_content_area (GTK_DIALOG (dialog));
- gtk_box_pack_start (GTK_BOX (container), label, TRUE, TRUE, 4);
-
- gtk_dialog_run (GTK_DIALOG (dialog));
- gtk_widget_destroy (dialog);
+ /* FIXME Implement this. */
}
/* Performs notification of a procedure alarm */