aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorLauris Kaplinski <lauris@src.gnome.org>2000-09-02 10:51:32 +0800
committerLauris Kaplinski <lauris@src.gnome.org>2000-09-02 10:51:32 +0800
commite8ae4bc97abed6ad8571908f5fc4ac6fd5565fde (patch)
treee81cd450c3094cf33bbda8d65508b6edd5654625 /shell
parent16829497fd3a11bae35aaa440ee18ede4961ceb9 (diff)
downloadgsoc2013-evolution-e8ae4bc97abed6ad8571908f5fc4ac6fd5565fde.tar
gsoc2013-evolution-e8ae4bc97abed6ad8571908f5fc4ac6fd5565fde.tar.gz
gsoc2013-evolution-e8ae4bc97abed6ad8571908f5fc4ac6fd5565fde.tar.bz2
gsoc2013-evolution-e8ae4bc97abed6ad8571908f5fc4ac6fd5565fde.tar.lz
gsoc2013-evolution-e8ae4bc97abed6ad8571908f5fc4ac6fd5565fde.tar.xz
gsoc2013-evolution-e8ae4bc97abed6ad8571908f5fc4ac6fd5565fde.tar.zst
gsoc2013-evolution-e8ae4bc97abed6ad8571908f5fc4ac6fd5565fde.zip
A bit more e_utf8 wrappers here and there
svn path=/trunk/; revision=5180
Diffstat (limited to 'shell')
-rw-r--r--shell/ChangeLog4
-rw-r--r--shell/e-shell-folder-creation-dialog.c6
2 files changed, 8 insertions, 2 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index 67027a5c15..1c019cc6ee 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,3 +1,7 @@
+2000-09-02 Lauris Kaplinski <lauris@helixcode.com>
+
+ * e-shell-folder-creation-dialog.c: Use e_utf8 wrappers
+
2000-09-01 Chris Toshok <toshok@helixcode.com>
* e-storage-set-view.c (removed_folder_cb): free node_data.
diff --git a/shell/e-shell-folder-creation-dialog.c b/shell/e-shell-folder-creation-dialog.c
index e793b2ccff..e9beb13670 100644
--- a/shell/e-shell-folder-creation-dialog.c
+++ b/shell/e-shell-folder-creation-dialog.c
@@ -30,6 +30,7 @@
#include "e-util/e-gui-utils.h"
#include "e-util/e-util.h"
+#include "e-util/e-unicode.h"
#include "widgets/misc/e-scroll-frame.h"
@@ -117,7 +118,7 @@ dialog_clicked_cb (GnomeDialog *dialog,
GtkWidget *folder_type_menu_item;
const char *folder_type;
const char *parent_path;
- const char *folder_name;
+ char *folder_name;
char *path;
if (button_number != 0) {
@@ -141,8 +142,9 @@ dialog_clicked_cb (GnomeDialog *dialog,
return;
}
- folder_name = gtk_entry_get_text (GTK_ENTRY (dialog_data->folder_name_entry));
+ folder_name = e_utf8_gtk_entry_get_text (GTK_ENTRY (dialog_data->folder_name_entry));
path = g_concat_dir_and_file (parent_path, folder_name);
+ g_free (folder_name);
storage_set = e_shell_get_storage_set (dialog_data->shell);