GNOME Bugzilla – Bug 700864
error_selecting_folder_over_existing_file_dialog() will never display message
Last modified: 2013-05-26 04:39:58 UTC
I came across this while trying to implement another warning message about long filenames. The error message in error_selecting_folder_over_existing_file_dialog() will never be displayed as it passes NULL for GError in the call to error_dialog() and the first thing error_dialog() does is makes sure error is not null before displaying anything. error_dialog (GtkFileChooserDefault *impl, const char *msg, GFile *file, GError *error) { if (error) FYI this code is all in gtkfilechooserdefault.c
Created attachment 245105 [details] [review] Fix error dialog not being displayed This patch should cause the message to actually be displayed.