aboutsummaryrefslogtreecommitdiffstats
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:57:53 +0800
commitd6e3388922276941a4266b743e094dc1bb404373 (patch)
treee43980f22551a221cc0aee6b440c943b4b858c7c
parent89f02166e16b44ad77a46f9ef910b6ce5eeb9fe1 (diff)
downloadgsoc2013-evolution-d6e3388922276941a4266b743e094dc1bb404373.tar
gsoc2013-evolution-d6e3388922276941a4266b743e094dc1bb404373.tar.gz
gsoc2013-evolution-d6e3388922276941a4266b743e094dc1bb404373.tar.bz2
gsoc2013-evolution-d6e3388922276941a4266b743e094dc1bb404373.tar.lz
gsoc2013-evolution-d6e3388922276941a4266b743e094dc1bb404373.tar.xz
gsoc2013-evolution-d6e3388922276941a4266b743e094dc1bb404373.tar.zst
gsoc2013-evolution-d6e3388922276941a4266b743e094dc1bb404373.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. (cherry picked from commit 2f47b719dd129eb5821c2b186455c979e043f585)
-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 */