From 4b667693e37a617e4aa0e4aa632d60b9d0c5a75e Mon Sep 17 00:00:00 2001 From: Nick Treleaven Date: Wed, 5 Nov 2008 17:57:52 +0000 Subject: [PATCH] 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 --- ChangeLog | 4 ++++ src/build.c | 5 ++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7bfb3bf4..3cb2c541 100644 --- a/ChangeLog +++ b/ChangeLog @@ -4,6 +4,10 @@ Fix warning with -Wall -Wextra. * src/build.c: 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 diff --git a/src/build.c b/src/build.c index 9e184cd2..03a58fe6 100644 --- a/src/build.c +++ b/src/build.c @@ -1687,14 +1687,13 @@ static void add_build_command_widgets(GtkWidget *dialog, GtkWidget *vbox, GeanyF { GtkWidget *align, *frame; /* 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; - 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); - g_free(frame_title); 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_container_add(GTK_CONTAINER(align), pr_table);