diff options
author | Federico Mena Quintero <federico@gnu.org> | 2008-03-13 00:46:31 +0000 |
---|---|---|
committer | Federico Mena Quintero <federico@src.gnome.org> | 2008-03-13 00:46:31 +0000 |
commit | b0e2c417cb33b42f298e53c74664751f30155c95 (patch) | |
tree | 90b129ad6db081444dcb3ac9b28ede7869e3a10d /gtk/gtkfilechooserentry.c | |
parent | c406ebcc44e58fd35b25a5a1d7655a127130ec61 (diff) | |
download | gtk+-b0e2c417cb33b42f298e53c74664751f30155c95.tar.gz |
On error when loading a folder, use the raw error message instead of commenting it up
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19853
Diffstat (limited to 'gtk/gtkfilechooserentry.c')
-rw-r--r-- | gtk/gtkfilechooserentry.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gtk/gtkfilechooserentry.c b/gtk/gtkfilechooserentry.c index 072bc9bcc1..54d94fab6e 100644 --- a/gtk/gtkfilechooserentry.c +++ b/gtk/gtkfilechooserentry.c @@ -1275,13 +1275,9 @@ load_directory_get_folder_callback (GtkFileSystemHandle *handle, if (old_load_complete_action == LOAD_COMPLETE_EXPLICIT_COMPLETION) { /* Since this came from explicit user action (Tab completion), we'll present errors visually */ - char *msg; beep (chooser_entry); - - msg = g_strdup_printf (_("Could not load folder: %s"), error->message); - pop_up_completion_feedback (chooser_entry, msg); - g_free (msg); + pop_up_completion_feedback (chooser_entry, error->message); } gtk_file_path_free (chooser_entry->current_folder_path); |