2007-08-09 [wwp] 2.10.0cvs108
authorTristan Chabredier <wwp@claws-mail.org>
Thu, 9 Aug 2007 09:03:54 +0000 (09:03 +0000)
committerTristan Chabredier <wwp@claws-mail.org>
Thu, 9 Aug 2007 09:03:54 +0000 (09:03 +0000)
* src/folder.c
Fix tags DB path in Windows (thanks to Colin): '/' is a valid
path divider in Windows, but Glib uses '\' as G_DIR_SEPARATOR.

ChangeLog
PATCHSETS
configure.ac
src/folder.c

index 48426953d3fd85818d17cfd730bd65af44e6599c..869a7481c79babbf2b299146694b7ac6bdf0deeb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2007-08-09 [wwp]       2.10.0cvs108
+
+       * src/folder.c
+               Fix tags DB path in Windows (thanks to Colin): '/' is a valid
+               path divider in Windows, but Glib uses '\' as G_DIR_SEPARATOR.
+
+
 2007-08-09 [colin]     2.10.0cvs107
 
        * src/folderview.c
index e829a011143a18810628f2028960690ac8fa66e5..9d1993fb203c0b7fde9bc66d20942e97d48e77c0 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.52.2.46 -r 1.52.2.47 src/prefs_folder_item.c;  ) > 2.10.0cvs105.patchset
 ( cvs diff -u -r 1.105.2.106 -r 1.105.2.107 src/prefs_account.c;  ) > 2.10.0cvs106.patchset
 ( cvs diff -u -r 1.207.2.171 -r 1.207.2.172 src/folderview.c;  cvs diff -u -r 1.395.2.317 -r 1.395.2.318 src/summaryview.c;  cvs diff -u -r 1.12.2.39 -r 1.12.2.40 src/gtk/prefswindow.c;  ) > 2.10.0cvs107.patchset
+( cvs diff -u -r 1.213.2.153 -r 1.213.2.154 src/folder.c;  ) > 2.10.0cvs108.patchset
index c2a52e635e09f0d9d5ba4c941b6ad1d20890e6de..527c05aed4e151bebda042d59d4d900eca4fc805 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=10
 MICRO_VERSION=0
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=107
+EXTRA_VERSION=108
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
index 4e3eb253ba1a04d36e90bfb554d6ba2873765efa..869cdc7160d3c2bf3458c74e9f2ba903b0dc4066 100644 (file)
@@ -3559,7 +3559,12 @@ static gchar *folder_item_get_tags_file(FolderItem *item)
 
        identifier = folder_item_get_identifier(item);
        g_return_val_if_fail(identifier != NULL, NULL);
-       
+
+#ifdef G_OS_WIN32
+       while (strchr(identifier, '/'))
+               *strchr(identifier, '/') = '\\';
+#endif
+
        path = g_strconcat(get_rc_dir(), G_DIR_SEPARATOR_S,
                           "tagsdb", G_DIR_SEPARATOR_S,
                           identifier, NULL);