[geany/geany-plugins] 5364fb: scope: only allow selection of folders for "working dir".

LarsDW223 git-noreply at xxxxx
Wed Oct 11 20:06:24 UTC 2017


Branch:      refs/heads/master
Author:      LarsDW223 <lars_paulsen at web.de>
Committer:   LarsDW223 <lars_paulsen at web.de>
Date:        Wed, 11 Oct 2017 20:06:24 UTC
Commit:      5364fb0bb42e6d9757c9e723436ccbde25722a16
             https://github.com/geany/geany-plugins/commit/5364fb0bb42e6d9757c9e723436ccbde25722a16

Log Message:
-----------
scope: only allow selection of folders for "working dir".

Fixes #304.


Modified Paths:
--------------
    scope/src/program.c

Modified: scope/src/program.c
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -465,7 +465,7 @@ void program_init(void)
 	gtk_entry_set_max_length(working_dir_entry, PATH_MAX);
 	stash_group_add_entry(group, &program_working_dir, "working_dir", "", working_dir_entry);
 	ui_setup_open_button_callback(get_widget("program_working_dir_button"), NULL,
-		GTK_FILE_CHOOSER_ACTION_OPEN, working_dir_entry);
+		GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER, working_dir_entry);
 
 	load_script_entry = GTK_ENTRY(get_widget("program_load_script_entry"));
 	gtk_entry_set_max_length(load_script_entry, PATH_MAX);



--------------
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