[gnome-commander] Fix location of the scripts directory



commit ceffb9b8b693a66e11c6f4fb9e8bb413d9c6a32a
Author: Uwe Scholz <u scholz83 gmx de>
Date:   Mon Mar 4 21:55:03 2019 +0100

    Fix location of the scripts directory

 src/gnome-cmd-file-popmenu.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/gnome-cmd-file-popmenu.cc b/src/gnome-cmd-file-popmenu.cc
index 8557bc5e..558b0081 100644
--- a/src/gnome-cmd-file-popmenu.cc
+++ b/src/gnome-cmd-file-popmenu.cc
@@ -735,7 +735,7 @@ GtkWidget *gnome_cmd_file_popmenu_new (GnomeCmdFileList *fl)
         gnome_app_fill_menu (GTK_MENU_SHELL (menu), sep_uiinfo, NULL, FALSE, pos++);
 
     // Script actions
-    gchar *user_dir = g_build_filename (g_get_user_config_dir (), "." PACKAGE "/scripts", NULL);
+    gchar *user_dir = g_build_filename (g_get_user_config_dir (), PACKAGE "/scripts", NULL);
     DIR *dp = opendir (user_dir);
     GList *script_list = NULL;
     if (dp != NULL)


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