[evolution] alarm-queue: Remove the "mail notifications not supported" dialog



commit 2f47b719dd129eb5821c2b186455c979e043f585
Author: Matthew Barnes <mbarnes redhat com>
Date:   Thu Apr 18 08:48:25 2013 -0400

    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.

 calendar/alarm-notify/alarm-queue.c | 25 +------------------------
 1 file changed, 1 insertion(+), 24 deletions(-)
---
diff --git a/calendar/alarm-notify/alarm-queue.c b/calendar/alarm-notify/alarm-queue.c
index 2270879..7e4961b 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 */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]