[gnome-commander] Fix the setup of a GnomeCmdCon's base_gFileInfo



commit a4220a3b20537dba2d9ef96cd78eafd338357f83
Author: Uwe Scholz <u scholz83 gmx de>
Date:   Tue Nov 9 23:03:26 2021 +0100

    Fix the setup of a GnomeCmdCon's base_gFileInfo

 src/gnome-cmd-con.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/gnome-cmd-con.cc b/src/gnome-cmd-con.cc
index 277b3238..ab7a91a8 100644
--- a/src/gnome-cmd-con.cc
+++ b/src/gnome-cmd-con.cc
@@ -329,7 +329,7 @@ gboolean set_con_base_gfileinfo(GnomeCmdCon *con)
         con->base_gFileInfo = nullptr;
     }
 
-    auto gFile = gnome_cmd_con_create_gfile (con, nullptr);
+    auto gFile = gnome_cmd_con_create_gfile (con, con->base_path);
     con->base_gFileInfo = g_file_query_info(gFile, "*", G_FILE_QUERY_INFO_NONE, nullptr, &error);
     g_object_unref(gFile);
     if (error)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]