From 10310357d7fb88136234406ca3a93dd67702c74b Mon Sep 17 00:00:00 2001 From: Alfons Hoogervorst Date: Fri, 26 Jul 2002 21:45:22 +0000 Subject: [PATCH] * src/folder.c ofcourse compare with identifier, not the path --- ChangeLog.claws | 5 +++++ configure.in | 2 +- src/folder.c | 5 ++++- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ChangeLog.claws b/ChangeLog.claws index 109d41e76..34952eac0 100644 --- a/ChangeLog.claws +++ b/ChangeLog.claws @@ -1,3 +1,8 @@ +2002-07-26 [alfons] 0.8.0claws19 + + * src/folder.c + ofcourse compare with identifier, not the path + 2002-07-26 [alfons] 0.8.0claws18 * src/folder.c diff --git a/configure.in b/configure.in index 1e6e2a040..fe8645869 100644 --- a/configure.in +++ b/configure.in @@ -8,7 +8,7 @@ MINOR_VERSION=8 MICRO_VERSION=0 INTERFACE_AGE=0 BINARY_AGE=0 -EXTRA_VERSION=claws18 +EXTRA_VERSION=claws19 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION dnl set $target diff --git a/src/folder.c b/src/folder.c index bf0e00342..291595e2f 100644 --- a/src/folder.c +++ b/src/folder.c @@ -2249,8 +2249,11 @@ const PersistPrefs *folder_get_persist_prefs(GHashTable *pptable, const char *na void folder_item_restore_persist_prefs(FolderItem *item, GHashTable *pptable) { const PersistPrefs *pp; + gchar *id = folder_item_get_identifier(item); + + pp = folder_get_persist_prefs(pptable, id); + g_free(id); - pp = folder_get_persist_prefs(pptable, item->path); if (!pp) return; /* CLAWS: since not all folder properties have been migrated to -- 2.25.1