Fix compile accelerator & load old project file
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4131 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
parent
931f14d2ae
commit
2fe9afdf47
@ -1,3 +1,11 @@
|
||||
2009-08-27 Lex Trotman <elextr(at)gmail(dot)com>
|
||||
|
||||
* src/build.c:
|
||||
Change make custom and make object to ignore make in base path
|
||||
when reading old project file settings. Changed some indent
|
||||
spaces to tabs. Fix missing compile menu accelerator.
|
||||
|
||||
|
||||
2009-08-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
|
||||
|
||||
* doc/plugins.dox:
|
||||
|
||||
@ -1244,7 +1244,7 @@ static void create_build_menu_item(GtkWidget *menu, GeanyKeyGroup *group, GtkAcc
|
||||
|
||||
}
|
||||
gtk_widget_show(item);
|
||||
if (bs->key_binding>0)
|
||||
if (bs->key_binding>=0)
|
||||
add_menu_accel(group, bs->key_binding, ag, item);
|
||||
gtk_container_add(GTK_CONTAINER(menu), item);
|
||||
if (bs->cb!=NULL)
|
||||
@ -2175,9 +2175,9 @@ void build_load_menu(GKeyFile *config, GeanyBuildSource src, gpointer p)
|
||||
if (non_ft_pref[GBO_TO_CMD(GEANY_GBO_MAKE_ALL)].old)
|
||||
setptr(non_ft_pref[GBO_TO_CMD(GEANY_GBO_MAKE_ALL)].entries[GEANY_BC_WORKING_DIR], g_strdup(value) );
|
||||
if (non_ft_pref[GBO_TO_CMD(GEANY_GBO_CUSTOM)].old)
|
||||
setptr(non_ft_pref[GBO_TO_CMD(GEANY_GBO_CUSTOM)].entries[GEANY_BC_WORKING_DIR], g_strdup(value) );
|
||||
setptr(non_ft_pref[GBO_TO_CMD(GEANY_GBO_CUSTOM)].entries[GEANY_BC_WORKING_DIR], g_strdup("%d") );
|
||||
if (non_ft_pref[GBO_TO_CMD(GEANY_GBO_MAKE_OBJECT)].old)
|
||||
setptr(non_ft_pref[GBO_TO_CMD(GEANY_GBO_MAKE_OBJECT)].entries[GEANY_BC_WORKING_DIR], g_strdup(value) );
|
||||
setptr(non_ft_pref[GBO_TO_CMD(GEANY_GBO_MAKE_OBJECT)].entries[GEANY_BC_WORKING_DIR], g_strdup("%d") );
|
||||
value = g_key_file_get_string(config, "project", "run_cmd", NULL);
|
||||
if (value !=NULL)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user