aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-folder-creation-dialog.c
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/e-shell-folder-creation-dialog.c
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/e-shell-folder-creation-dialog.c')
-rw-r--r--shell/e-shell-folder-creation-dialog.c6
1 files changed, 4 insertions, 2 deletions
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);