diff options
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ChangeLog | 4 | ||||
-rw-r--r-- | shell/e-shell-folder-creation-dialog.c | 6 |
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); |