Commit b0e2c417 authored by Federico Mena Quintero's avatar Federico Mena Quintero Committed by Federico Mena Quintero

On error when loading a folder, use the raw error message instead of commenting it up

Signed-off-by: default avatarFederico Mena Quintero <federico@gnu.org>

svn path=/trunk/; revision=19853
parent c406ebcc
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment