Allow opening in a new window from the sidebar

This commit is contained in:
2021-11-26 23:00:17 +01:00
parent bae65a61f7
commit b97ac26cfb
2 changed files with 9 additions and 6 deletions

View File

@@ -346,7 +346,7 @@ open_any_path(const char *path, gboolean force_browser)
static void
on_open_location(G_GNUC_UNUSED GtkPlacesSidebar *sidebar, GFile *location,
G_GNUC_UNUSED GtkPlacesOpenFlags flags, G_GNUC_UNUSED gpointer user_data)
GtkPlacesOpenFlags flags, G_GNUC_UNUSED gpointer user_data)
{
gchar *path = g_file_get_path(location);
if (path) {