[geany/geany] 8de857: Allow overriding number of independent execute commands
Nick Treleaven
git-noreply at xxxxx
Sat Oct 5 11:31:09 UTC 2019
Branch: refs/heads/build-exec
Author: Nick Treleaven <n at trelsoft.com>
Committer: Nick Treleaven <n at trelsoft.com>
Date: Sat, 05 Oct 2019 11:31:09 UTC
Commit: 8de8571c4c6375fcd6c1d4b5f90a4ff2facaef2e
https://github.com/geany/geany/commit/8de8571c4c6375fcd6c1d4b5f90a4ff2facaef2e
Log Message:
-----------
Allow overriding number of independent execute commands
Modified Paths:
--------------
doc/geany.txt
src/keyfile.c
Modified: doc/geany.txt
2 lines changed, 2 insertions(+), 0 deletions(-)
===================================================================
@@ -2652,6 +2652,8 @@ number_non_ft_menu_items The maximum number of menu items in the 3
independent build section.
number_exec_menu_items The maximum number of menu items in the 2 on restart
execute section of the Build menu.
+number_exec_ind_menu_items The maximum number of menu items in the 2 on restart
+ independent execute section.
================================ =========================================== ========== ===========
Statusbar Templates
Modified: src/keyfile.c
4 lines changed, 4 insertions(+), 0 deletions(-)
===================================================================
@@ -117,6 +117,7 @@ static struct
gint number_ft_menu_items;
gint number_non_ft_menu_items;
gint number_exec_menu_items;
+ gint number_exec_ind_menu_items;
}
build_menu_prefs;
@@ -284,6 +285,8 @@ static void init_pref_groups(void)
"number_non_ft_menu_items", 0);
stash_group_add_integer(group, &build_menu_prefs.number_exec_menu_items,
"number_exec_menu_items", 0);
+ stash_group_add_integer(group, &build_menu_prefs.number_exec_ind_menu_items,
+ "number_exec_ind_menu_items", 0);
}
@@ -1000,6 +1003,7 @@ static void load_dialog_prefs(GKeyFile *config)
build_set_group_count(GEANY_GBG_FT, build_menu_prefs.number_ft_menu_items);
build_set_group_count(GEANY_GBG_NON_FT, build_menu_prefs.number_non_ft_menu_items);
build_set_group_count(GEANY_GBG_EXEC, build_menu_prefs.number_exec_menu_items);
+ build_set_group_count(GEANY_GBG_EXEC_IND, build_menu_prefs.number_exec_ind_menu_items);
build_load_menu(config, GEANY_BCS_PREF, NULL);
}
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Commits
mailing list