From cd97d9b4462891f560438335617a5d0b5507c22c Mon Sep 17 00:00:00 2001 From: Nick Treleaven Date: Mon, 21 Sep 2009 12:58:05 +0000 Subject: [PATCH] Split Build Commands dialog notes label and edit text. git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4216 ea778897-0a13-0410-b9d1-a72fbfd435f5 --- ChangeLog | 2 ++ src/build.c | 11 +++++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 362ed3e09..5b00eb240 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,8 @@ browser delay on displaying a big directory, e.g. /usr/bin. * src/build.c: Expand command entry width when expanding Build Commands dialog. + * src/build.c: + Split Build Commands dialog notes label and edit text. 2009-09-20 Enrico Tröger diff --git a/src/build.c b/src/build.c index 8d922dc2f..52596e9d7 100644 --- a/src/build.c +++ b/src/build.c @@ -1870,6 +1870,11 @@ GtkWidget *build_commands_table(GeanyDocument *doc, GeanyBuildSource dst, TableD gtk_widget_set_sensitive(fields->nonfileregex, sensitivity); gtk_widget_set_sensitive(clear, sensitivity); ++row; + label = gtk_label_new(_("Note: Item 2 opens a dialog and appends the response to the command.")); + gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5); + gtk_table_attach(table, label, 0, DC_N_COL, row, row + 1, GTK_FILL, GTK_FILL | GTK_EXPAND, + entry_x_padding, entry_y_padding); + ++row; sep = gtk_hseparator_new(); gtk_table_attach(table, sep, 0, DC_N_COL, row, row + 1, GTK_FILL, GTK_FILL | GTK_EXPAND, entry_x_padding, entry_y_padding); @@ -1888,10 +1893,8 @@ GtkWidget *build_commands_table(GeanyDocument *doc, GeanyBuildSource dst, TableD gtk_table_attach(table, sep, 0, DC_N_COL, row, row + 1, GTK_FILL, GTK_FILL | GTK_EXPAND, entry_x_padding, entry_y_padding); ++row; - label = gtk_label_new(_( - "Notes:\n" - " %d, %e, %f, %p are substituted in Commands and Working dir, see manual for details\n" - " Non-filetype menu Item 2 opens a dialog and appends the reponse to the command")); + label = gtk_label_new( + _("%d, %e, %f, %p are substituted in command and directory fields, see manual for details.")); gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5); gtk_table_attach(table, label, 0, DC_N_COL, row, row + 1, GTK_FILL, GTK_FILL | GTK_EXPAND, entry_x_padding, entry_y_padding);