SF.net SVN: geany:[5480] trunk

ntrel at users.sourceforge.net ntrel at xxxxx
Thu Dec 9 13:14:50 UTC 2010


Revision: 5480
          http://geany.svn.sourceforge.net/geany/?rev=5480&view=rev
Author:   ntrel
Date:     2010-12-09 13:14:50 +0000 (Thu, 09 Dec 2010)

Log Message:
-----------
Use italic for note labels in the Build Commands dialog.

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/src/build.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2010-12-09 13:03:42 UTC (rev 5479)
+++ trunk/ChangeLog	2010-12-09 13:14:50 UTC (rev 5480)
@@ -3,6 +3,8 @@
  * src/build.c:
    Reduce Set Build Commands dialog column 1 width by using '#' label.
    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>

Modified: trunk/src/build.c
===================================================================
--- trunk/src/build.c	2010-12-09 13:03:42 UTC (rev 5479)
+++ trunk/src/build.c	2010-12-09 13:14:50 UTC (rev 5480)
@@ -2043,7 +2043,9 @@
 	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."));
+	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_table_attach(table, label, 0, DC_N_COL, row, row + 1, GTK_FILL, GTK_FILL | GTK_EXPAND,
 		entry_x_padding, entry_y_padding);
@@ -2062,7 +2064,8 @@
 	gtk_table_attach(table, sep, 0, DC_N_COL, row, row + 1, GTK_FILL, GTK_FILL | GTK_EXPAND,
 		entry_x_padding, sep_padding);
 	++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."));
 	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,


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Commits mailing list