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
This commit is contained in:
Nick Treleaven 2009-09-21 12:58:05 +00:00
parent 77b060e1cc
commit cd97d9b446
2 changed files with 9 additions and 4 deletions

View File

@ -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 <enrico(dot)troeger(at)uvena(dot)de>

View File

@ -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);