[geany/geany-plugins] 05f3f8: treebrowser: use xdg-open for external open command

Selivanov Pavel git-noreply at xxxxx
Tue Jan 8 21:18:34 UTC 2019


Branch:      refs/heads/master
Author:      Selivanov Pavel <selivan5 at yandex.ru>
Committer:   GitHub <noreply at github.com>
Date:        Tue, 08 Jan 2019 21:18:34 UTC
Commit:      05f3f8b382b27e5fc90773251ee6eff1cf35ddb7
             https://github.com/geany/geany-plugins/commit/05f3f8b382b27e5fc90773251ee6eff1cf35ddb7

Log Message:
-----------
treebrowser: use xdg-open for external open command

Using generic xdg-open that will open associated file manager is better than hard-coded nautilus that works only for Gnome/Unity.


Modified Paths:
--------------
    treebrowser/src/treebrowser.c

Modified: treebrowser/src/treebrowser.c
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -55,7 +55,7 @@ static gboolean 			flag_on_expand_refresh 		= FALSE;
  * ------------------ */
 
 #ifndef G_OS_WIN32
-# define CONFIG_OPEN_EXTERNAL_CMD_DEFAULT "nautilus '%d'"
+# define CONFIG_OPEN_EXTERNAL_CMD_DEFAULT "xdg-open '%d'"
 # define CONFIG_OPEN_TERMINAL_DEFAULT "xterm"
 #else
 # define CONFIG_OPEN_EXTERNAL_CMD_DEFAULT "explorer '%d'"



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Plugins-Commits mailing list