Fix saving project indent prefs straight after using project

properties.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5302 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
Nick Treleaven 2010-10-18 14:16:08 +00:00
parent 0582366a53
commit cb262580b3
2 changed files with 5 additions and 1 deletions

View File

@ -6,6 +6,9 @@
Add D2 keywords.
* tagmanager/c.c:
Parse Vala functions with contracts (#3080232).
* src/project.c:
Fix saving project indent prefs straight after using project
properties.
2010-10-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>

View File

@ -582,7 +582,6 @@ static void show_project_properties(gboolean show_build)
g_signal_emit_by_name(geany_object, "project-dialog-confirmed", e->notebook);
write_config(TRUE);
ui_set_statusbar(TRUE, _("Project \"%s\" saved."), app->project->name);
stash_group_update(indent_group, e->dialog);
break;
}
}
@ -757,6 +756,8 @@ static gboolean update_config(const PropertyDialogElements *e)
gtk_text_buffer_get_end_iter(buffer, &end);
setptr(p->description, g_strdup(gtk_text_buffer_get_text(buffer, &start, &end, FALSE)));
stash_group_update(indent_group, e->dialog);
/* read the project build menu */
oldvalue = ft ? ft->projfilecmds : NULL;
build_read_project(ft, e->build_properties);