[evolution] Bug #694363 - CALDAV navigation through Calendars or Tasklist is wrong



commit 2ea9684aa676126318642831471519d5680c6f83
Author: Milan Crha <mcrha redhat com>
Date:   Fri Feb 22 15:32:51 2013 +0100

    Bug #694363 - CALDAV navigation through Calendars or Tasklist is wrong

 modules/cal-config-caldav/e-caldav-chooser.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/modules/cal-config-caldav/e-caldav-chooser.c b/modules/cal-config-caldav/e-caldav-chooser.c
index fefbc98..dcb29f1 100644
--- a/modules/cal-config-caldav/e-caldav-chooser.c
+++ b/modules/cal-config-caldav/e-caldav-chooser.c
@@ -672,11 +672,11 @@ caldav_chooser_get_supported_component_set (xmlXPathContextPtr xp_ctx,
                if (name == NULL)
                        continue;
 
-               if (g_ascii_strcasecmp (name, "VEVENT"))
+               if (g_ascii_strcasecmp (name, "VEVENT") == 0)
                        set |= SUPPORTS_VEVENT;
-               else if (g_ascii_strcasecmp (name, "VTODO"))
+               else if (g_ascii_strcasecmp (name, "VTODO") == 0)
                        set |= SUPPORTS_VTODO;
-               else if (g_ascii_strcasecmp (name, "VJOURNAL"))
+               else if (g_ascii_strcasecmp (name, "VJOURNAL") == 0)
                        set |= SUPPORTS_VJOURNAL;
 
                g_free (name);


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