Branch: refs/heads/master Author: Colomban Wendling ban@herbesfolles.org Committer: Colomban Wendling ban@herbesfolles.org Date: Mon, 27 Oct 2014 18:24:09 UTC Commit: fc5d8d145a7b14e8e3a82fa55e9b489c1a2285c6 https://github.com/geany/geany/commit/fc5d8d145a7b14e8e3a82fa55e9b489c1a2285...
Log Message: ----------- Merge pull request #362 from ntrel/fb-cmd
Make File Browser use explorer as default open command on Windows
Modified Paths: -------------- plugins/filebrowser.c
Modified: plugins/filebrowser.c 6 lines changed, 5 insertions(+), 1 deletions(-) =================================================================== @@ -33,6 +33,10 @@
#ifdef G_OS_WIN32 # include <windows.h> + +# define OPEN_CMD "explorer "%d"" +#else +# define OPEN_CMD "nautilus "%d"" #endif
GeanyPlugin *geany_plugin; @@ -987,7 +991,7 @@ static void load_settings(void) "filebrowser", G_DIR_SEPARATOR_S, "filebrowser.conf", NULL); g_key_file_load_from_file(config, config_file, G_KEY_FILE_NONE, NULL);
- open_cmd = utils_get_setting_string(config, "filebrowser", "open_command", "nautilus "%d""); + open_cmd = utils_get_setting_string(config, "filebrowser", "open_command", OPEN_CMD); /* g_key_file_get_boolean defaults to FALSE */ show_hidden_files = g_key_file_get_boolean(config, "filebrowser", "show_hidden_files", NULL); hide_object_files = utils_get_setting_boolean(config, "filebrowser", "hide_object_files", TRUE);
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).