Capitalize 'project build menu commands' string, make fully

translatable.
Add column spacing of 6 for project commands table (Gnome HIG).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/build-system@3178 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
Nick Treleaven 2008-11-05 17:57:52 +00:00
parent 55c66f8d37
commit 4b667693e3
2 changed files with 6 additions and 3 deletions

View File

@ -4,6 +4,10 @@
Fix warning with -Wall -Wextra. Fix warning with -Wall -Wextra.
* src/build.c: * src/build.c:
Factor with add_build_command_widgets(). Factor with add_build_command_widgets().
* src/build.c:
Capitalize 'project build menu commands' string, make fully
translatable.
Add column spacing of 6 for project commands table (Gnome HIG).
2008-111-01 Lex Trotman <elextr(at)gmail(dot)com> 2008-111-01 Lex Trotman <elextr(at)gmail(dot)com>

View File

@ -1687,14 +1687,13 @@ static void add_build_command_widgets(GtkWidget *dialog, GtkWidget *vbox, GeanyF
{ {
GtkWidget *align, *frame; GtkWidget *align, *frame;
/* in-dialog heading for the project part of the build commands dialog */ /* in-dialog heading for the project part of the build commands dialog */
gchar *frame_title = g_strdup_printf(_("%s build menu commands"), "project");
struct GeanyProject *proj = app->project; struct GeanyProject *proj = app->project;
frame = ui_frame_new_with_alignment(frame_title, &align); frame = ui_frame_new_with_alignment(_("Project build menu commands"), &align);
gtk_container_add(GTK_CONTAINER(vbox), frame); gtk_container_add(GTK_CONTAINER(vbox), frame);
g_free(frame_title);
pr_table = gtk_table_new(3, 3, FALSE); pr_table = gtk_table_new(3, 3, FALSE);
gtk_table_set_col_spacings(GTK_TABLE(pr_table), 6);
gtk_table_set_row_spacings(GTK_TABLE(pr_table), 6); gtk_table_set_row_spacings(GTK_TABLE(pr_table), 6);
gtk_container_add(GTK_CONTAINER(align), pr_table); gtk_container_add(GTK_CONTAINER(align), pr_table);