diff options
author | Lauris Kaplinski <lauris@src.gnome.org> | 2000-09-13 04:41:22 +0800 |
---|---|---|
committer | Lauris Kaplinski <lauris@src.gnome.org> | 2000-09-13 04:41:22 +0800 |
commit | c920df14ca7466fb241d583bb441628297a97254 (patch) | |
tree | 066ae11a9b60b65f18402497e8883988078f5925 | |
parent | 0e06b64743c655da37c8a8a26de0ad6d96edcbf7 (diff) | |
download | gsoc2013-evolution-c920df14ca7466fb241d583bb441628297a97254.tar.gz gsoc2013-evolution-c920df14ca7466fb241d583bb441628297a97254.tar.zst gsoc2013-evolution-c920df14ca7466fb241d583bb441628297a97254.zip |
Little UTF-8 fix
svn path=/trunk/; revision=5383
-rw-r--r-- | shell/ChangeLog | 4 | ||||
-rw-r--r-- | shell/e-shell-view.c | 8 |
2 files changed, 10 insertions, 2 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog index e6d748b73a..ca05935dd6 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,7 @@ +2000-09-12 Lauris Kaplinski <lauris@helixcode.com> + + * e-shell-view.c (update_folder_title_bar): Translate UTF-8 + 2000-09-12 Ettore Perazzoli <ettore@helixcode.com> * Makefile.am: Remove the `ui.xml' stuff. diff --git a/shell/e-shell-view.c b/shell/e-shell-view.c index 0269db569b..319e85fd38 100644 --- a/shell/e-shell-view.c +++ b/shell/e-shell-view.c @@ -911,8 +911,12 @@ update_folder_title_bar (EShellView *shell_view, if (folder_icon) e_shell_folder_title_bar_set_icon (E_SHELL_FOLDER_TITLE_BAR (priv->view_title_bar), folder_icon); - if (folder_name) - e_shell_folder_title_bar_set_title (E_SHELL_FOLDER_TITLE_BAR (priv->view_title_bar), folder_name); + if (folder_name) { + gchar * utf; + utf = e_utf8_to_gtk_string (GTK_WIDGET (priv->view_title_bar), folder_name); + e_shell_folder_title_bar_set_title (E_SHELL_FOLDER_TITLE_BAR (priv->view_title_bar), utf); + g_free (utf); + } } static void |