From 95bc85d108e3564d98f26b7ad17fcc72b2966371 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Sun, 7 Dec 2014 20:38:44 -0600 Subject: ensure that disabled alarms aren't shown in indicator-datetime and that notifications aren't shown for them. --- src/appointment.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/appointment.cpp') diff --git a/src/appointment.cpp b/src/appointment.cpp index f98e155..ae71459 100644 --- a/src/appointment.cpp +++ b/src/appointment.cpp @@ -29,12 +29,12 @@ namespace datetime { bool Appointment::operator==(const Appointment& that) const { - return (color==that.color) + return (type==that.type) + && (uid==that.uid) + && (color==that.color) && (summary==that.summary) && (url==that.url) && (audio_url==that.audio_url) - && (uid==that.uid) - && (has_alarms==that.has_alarms) && (begin==that.begin) && (end==that.end); } -- cgit v1.2.3