* src/modest-search.c: (modest_search_folder): Ignore a seach folder
that is an empty string. D-Bus seems to give us these instead of NULL.
pmo-trunk-r2392
+2007-06-25 Murray Cumming,,, <murrayc@murrayc-desktop>
+
+ reviewed by: <delete if not using a buddy>
+
+ * src/modest-search.c: (modest_search_folder):
+
* please check the svn log instead
+2007-06-25 Murray Cumming <murrayc@murrayc.com>
+
+ * src/modest-search.c: (modest_search_folder): Ignore a seach folder
+ that is an empty string. D-Bus seems to give us these instead of NULL.
+
2007-06-25 Johannes Schmid <johannes.schmid@openismus.com>
* src/dbus_api/modest-dbus-callbacks.c:
/* Check that we should be searching this folder. */
/* Note that we don't try to search sub-folders.
* Maybe we should, but that should be specified. */
- if (search->folder && (strcmp (tny_folder_get_id (folder), search->folder) != 0))
+ if (search->folder && strlen (search->folder) && (strcmp (tny_folder_get_id (folder), search->folder) != 0))
return NULL;
-
+
GList *retval = NULL;
TnyIterator *iter = NULL;
TnyList *list = NULL;