diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2001-08-13 01:02:06 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2001-08-13 01:02:06 +0800 |
commit | 15a265e7490c18483002562f0330e159128663f6 (patch) | |
tree | a1a5a39fdcd4b5024ee9c6cc79a28c148d24bfd5 /shell/e-local-storage.c | |
parent | d472e6e604e527daf3ea02a56cf6b699a2b88ec8 (diff) | |
download | gsoc2013-evolution-15a265e7490c18483002562f0330e159128663f6.tar.gz gsoc2013-evolution-15a265e7490c18483002562f0330e159128663f6.tar.zst gsoc2013-evolution-15a265e7490c18483002562f0330e159128663f6.zip |
Use utf 8 to set the name.
* e-local-storage.c (setup_folder_as_stock): Use utf 8 to set the
name.
svn path=/trunk/; revision=11936
Diffstat (limited to 'shell/e-local-storage.c')
-rw-r--r-- | shell/e-local-storage.c | 6 |
1 files changed, 5 insertions, 1 deletions
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; |