aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calendar/gui/dialogs/alarm-dialog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/gui/dialogs/alarm-dialog.c b/calendar/gui/dialogs/alarm-dialog.c
index 4662594aeb..9cc21eb663 100644
--- a/calendar/gui/dialogs/alarm-dialog.c
+++ b/calendar/gui/dialogs/alarm-dialog.c
@@ -246,7 +246,7 @@ alarm_to_dialog (Dialog *dialog)
* If the client doesn't support set alarm description, disable the related widgets
* This capability was added after the 3.8.0 release
*/
- if (e_client_check_capability (E_CLIENT (dialog->cal_client), "no-alarm-description")) {
+ if (!e_client_check_capability (E_CLIENT (dialog->cal_client), "alarm-description")) {
gtk_widget_hide (dialog->dalarm_group);
gtk_widget_hide (dialog->dalarm_message);
gtk_widget_hide (dialog->dalarm_description);