diff options
author | Sebastien Bacher <seb128@ubuntu.com> | 2012-10-09 19:35:07 +0200 |
---|---|---|
committer | Sebastien Bacher <seb128@ubuntu.com> | 2012-10-09 19:35:07 +0200 |
commit | 324a0a5f7490e774bcb6d015c39a341da08f6945 (patch) | |
tree | 248891d1ecc19a73c1cc5f446cd960dd2c46ac27 /src | |
parent | f7ba1888e002430df29a759dfcc7e0679234b0a5 (diff) | |
parent | 5c9f6467b9a8573439d1bee52a358678b10e5805 (diff) | |
download | ayatana-indicator-datetime-324a0a5f7490e774bcb6d015c39a341da08f6945.tar.gz ayatana-indicator-datetime-324a0a5f7490e774bcb6d015c39a341da08f6945.tar.bz2 ayatana-indicator-datetime-324a0a5f7490e774bcb6d015c39a341da08f6945.zip |
Backport "fix off-by-one error" leading to have the settings item run
the calendar application rather than the control center (lp: #1064375)
Diffstat (limited to 'src')
-rw-r--r-- | src/datetime-service.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/datetime-service.c b/src/datetime-service.c index f0c45c0..b34c23e 100644 --- a/src/datetime-service.c +++ b/src/datetime-service.c @@ -833,8 +833,8 @@ update_appointment_menu_items (gpointer unused) if (i >= MAX_APPOINTMENT_MENUITEMS) continue; - i++; item = appointments[i]; + i++; /* Remove the icon as we might not replace it on error */ dbusmenu_menuitem_property_remove(item, APPOINTMENT_MENUITEM_PROP_ICON); |