[geany/geany-plugins] eeff8b: Merge pull request #623 from LarsGit223/scope-workingdir

Frank Lanitz git-noreply at xxxxx
Thu Oct 12 06:08:24 UTC 2017


Branch:      refs/heads/master
Author:      Frank Lanitz <frank at frank.uvena.de>
Committer:   GitHub <noreply at github.com>
Date:        Thu, 12 Oct 2017 06:08:24 UTC
Commit:      eeff8b72e8e268715bb66f62fca896679fe0ebcc
             https://github.com/geany/geany-plugins/commit/eeff8b72e8e268715bb66f62fca896679fe0ebcc

Log Message:
-----------
Merge pull request #623 from LarsGit223/scope-workingdir

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


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