[evolution/gnome-3-6] Bug #694363 - CALDAV navigation through Calendars or Tasklist is wrong



commit fe2760a16a9db6b314a6da9d54c1381e8a1c8ec1
Author: Milan Crha <mcrha redhat com>
Date:   Fri Feb 22 15:33:33 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 3e5856f..72f2827 100644
--- a/modules/cal-config-caldav/e-caldav-chooser.c
+++ b/modules/cal-config-caldav/e-caldav-chooser.c
@@ -643,11 +643,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]