Skip to content
Snippets Groups Projects

Removed 'the root folder has no parent' dialog box

Merged Max Christian Pohle requested to merge coderonline/thunar:master into master
1 file
+ 5
1
Compare changes
  • Side-by-side
  • Inline
+ 5
1
@@ -3140,7 +3140,11 @@ thunar_window_action_go_up (ThunarWindow *window)
}
else
{
thunar_dialogs_show_error (GTK_WIDGET (window), error, _("Failed to open parent folder"));
/* the root folder '/' has no parent. In this special case we do not need a dialog */
if (error->code != G_FILE_ERROR_NOENT)
{
thunar_dialogs_show_error (GTK_WIDGET (window), error, _("Failed to open parent folder"));
}
g_error_free (error);
}
}
Loading