From 263cdb558e10ec1147fc7bdbabb59e275c83954b Mon Sep 17 00:00:00 2001 From: Sven Neumann Date: Sat, 25 Jun 2005 00:30:20 +0000 Subject: [PATCH] app/dialogs/preferences-dialog.c use italic text for info labels. 2005-06-25 Sven Neumann * app/dialogs/preferences-dialog.c * modules/cdisplay_lcms.c: use italic text for info labels. --- ChangeLog | 5 +++++ app/dialogs/preferences-dialog.c | 3 +++ modules/cdisplay_lcms.c | 18 ++++++++++-------- 3 files changed, 18 insertions(+), 8 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5e07312627..848f7ed6c2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-06-25 Sven Neumann + + * app/dialogs/preferences-dialog.c + * modules/cdisplay_lcms.c: use italic text for info labels. + 2005-06-25 Sven Neumann * app/widgets/gimpcolordisplayeditor.c: use a GtkVPaned. diff --git a/app/dialogs/preferences-dialog.c b/app/dialogs/preferences-dialog.c index 281aa34e1d..9f2edfb3b0 100644 --- a/app/dialogs/preferences-dialog.c +++ b/app/dialogs/preferences-dialog.c @@ -553,6 +553,9 @@ prefs_keyboard_shortcuts_dialog (GtkWidget *widget, "xalign", 0.0, "yalign", 0.5, NULL); + gimp_label_set_attributes (GTK_LABEL (label), + PANGO_ATTR_STYLE, PANGO_STYLE_ITALIC, + -1); gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 0); gtk_widget_show (label); diff --git a/modules/cdisplay_lcms.c b/modules/cdisplay_lcms.c index ce133dd2e3..1e0e5d3faa 100644 --- a/modules/cdisplay_lcms.c +++ b/modules/cdisplay_lcms.c @@ -271,15 +271,17 @@ cdisplay_lcms_configure (GimpColorDisplay *display) gtk_widget_show (image); label = g_object_new (GTK_TYPE_LABEL, - "label", _("This filter takes its configuration " - "from the Color Management " - "section in the Preferences dialog."), - "use-markup", TRUE, - "wrap", TRUE, - "justify", GTK_JUSTIFY_LEFT, - "xalign", 0.0, - "yalign", 0.5, + "label", _("This filter takes its configuration " + "from the Color Management section " + "in the Preferences dialog."), + "wrap", TRUE, + "justify", GTK_JUSTIFY_LEFT, + "xalign", 0.0, + "yalign", 0.5, NULL); + gimp_label_set_attributes (GTK_LABEL (label), + PANGO_ATTR_STYLE, PANGO_STYLE_ITALIC + -1); gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 0); gtk_widget_show (label);