Kaydet (Commit) 4ba5b4c2 authored tarafından Nick Treleaven's avatar Nick Treleaven

Use italic for note labels in the Build Commands dialog.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5480 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst df2e2c9e
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
* src/build.c: * src/build.c:
Reduce Set Build Commands dialog column 1 width by using '#' label. Reduce Set Build Commands dialog column 1 width by using '#' label.
Fix memory leak. Fix memory leak.
* src/build.c:
Use italic for note labels in the Build Commands dialog.
2010-12-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com> 2010-12-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
......
...@@ -2043,7 +2043,9 @@ GtkWidget *build_commands_table(GeanyDocument *doc, GeanyBuildSource dst, BuildT ...@@ -2043,7 +2043,9 @@ GtkWidget *build_commands_table(GeanyDocument *doc, GeanyBuildSource dst, BuildT
gtk_widget_set_sensitive(fields->nonfileregex, sensitivity); gtk_widget_set_sensitive(fields->nonfileregex, sensitivity);
gtk_widget_set_sensitive(clear, sensitivity); gtk_widget_set_sensitive(clear, sensitivity);
++row; ++row;
label = gtk_label_new(_("Note: Item 2 opens a dialog and appends the response to the command.")); label = gtk_label_new(NULL);
ui_label_set_markup(GTK_LABEL(label), "<i>%s</i>",
_("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_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, gtk_table_attach(table, label, 0, DC_N_COL, row, row + 1, GTK_FILL, GTK_FILL | GTK_EXPAND,
entry_x_padding, entry_y_padding); entry_x_padding, entry_y_padding);
...@@ -2062,7 +2064,8 @@ GtkWidget *build_commands_table(GeanyDocument *doc, GeanyBuildSource dst, BuildT ...@@ -2062,7 +2064,8 @@ GtkWidget *build_commands_table(GeanyDocument *doc, GeanyBuildSource dst, BuildT
gtk_table_attach(table, sep, 0, DC_N_COL, row, row + 1, GTK_FILL, GTK_FILL | GTK_EXPAND, gtk_table_attach(table, sep, 0, DC_N_COL, row, row + 1, GTK_FILL, GTK_FILL | GTK_EXPAND,
entry_x_padding, sep_padding); entry_x_padding, sep_padding);
++row; ++row;
label = gtk_label_new( label = gtk_label_new(NULL);
ui_label_set_markup(GTK_LABEL(label), "<i>%s</i>",
_("%d, %e, %f, %p are substituted in command and directory fields, see manual for details.")); _("%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_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, gtk_table_attach(table, label, 0, DC_N_COL, row, row + 1, GTK_FILL, GTK_FILL | GTK_EXPAND,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment