diff options
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ChangeLog | 5 | ||||
-rw-r--r-- | shell/e-local-storage.c | 6 |
2 files changed, 10 insertions, 1 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog index 2f22b22021..ecb28973e7 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,5 +1,10 @@ 2001-08-12 Ettore Perazzoli <ettore@ximian.com> + * e-local-storage.c (setup_folder_as_stock): Use utf 8 to set the + name. + +2001-08-12 Ettore Perazzoli <ettore@ximian.com> + * e-storage-set-view.c (etree_value_at): Remove debugging message. 2001-08-12 Ettore Perazzoli <ettore@ximian.com> diff --git a/shell/e-local-storage.c b/shell/e-local-storage.c index 3281f0bb58..8c23c8659e 100644 --- a/shell/e-local-storage.c +++ b/shell/e-local-storage.c @@ -152,12 +152,16 @@ setup_folder_as_stock (ELocalStorage *local_storage, const char *name) { EFolder *folder; + const char *utf8_name; folder = e_storage_get_folder (E_STORAGE (local_storage), path); if (folder == NULL) return FALSE; - e_folder_set_name (folder, name); + utf8_name = e_utf8_from_locale_string (name); + e_folder_set_name (folder, utf8_name); + g_free (utf8_name); + e_folder_set_is_stock (folder, TRUE); return TRUE; |