[evolution] Bug #386113 - show custom alarm message in pop-up alerts



commit a152ad9e4b2053288d775a6ed31e67328bbc15bf
Author: Fabiano Fidêncio <fidencio redhat com>
Date:   Mon Jul 22 14:59:39 2013 +0200

    Bug #386113 - show custom alarm message in pop-up alerts

 calendar/gui/dialogs/alarm-dialog.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/calendar/gui/dialogs/alarm-dialog.c b/calendar/gui/dialogs/alarm-dialog.c
index a1c73b4..0f96d20 100644
--- a/calendar/gui/dialogs/alarm-dialog.c
+++ b/calendar/gui/dialogs/alarm-dialog.c
@@ -243,7 +243,7 @@ alarm_to_dialog (Dialog *dialog)
        /*
         * If the client doesn't support set alarm description, disable the related widgets
         */
-       if (e_client_check_capability (E_CLIENT (dialog->cal_client), 
CAL_STATIC_CAPABILITY_NO_ALARM_DESCRIPTION)) {
+       if (!e_client_check_capability (E_CLIENT (dialog->cal_client), 
CAL_STATIC_CAPABILITY_ALARM_DESCRIPTION)) {
                gtk_widget_hide (dialog->dalarm_group);
                gtk_widget_hide (dialog->dalarm_message);
                gtk_widget_hide (dialog->dalarm_description);


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