Author: jasper
Date: 2006-08-11 18:35:35 +0000 (Fri, 11 Aug 2006)
New Revision: 22716
Modified:
libxfcegui4/trunk/libxfcegui4/netk-util.c
Log:
Restore unmodified font after urgency, don't just remove the bold attribute.
Fixes bug #2050.
Modified: libxfcegui4/trunk/libxfcegui4/netk-util.c
===================================================================
--- libxfcegui4/trunk/libxfcegui4/netk-util.c 2006-08-11 17:02:38 UTC (rev
22715)
+++ libxfcegui4/trunk/libxfcegui4/netk-util.c 2006-08-11 18:35:35 UTC (rev
22716)
@@ -200,21 +200,12 @@
void
p_make_gtk_label_normal (GtkLabel *label)
{
- PangoFontDescription *font_desc;
-
- font_desc = pango_font_description_new ();
-
- pango_font_description_set_weight (font_desc,
- PANGO_WEIGHT_NORMAL);
-
/* This will only affect the weight of the font, the rest is
* from the current state of the widget, which comes from the
* theme or user prefs, since the font desc only has the
* weight flag turned on.
*/
- gtk_widget_modify_font (GTK_WIDGET (label), font_desc);
-
- pango_font_description_free (font_desc);
+ gtk_widget_modify_font (GTK_WIDGET (label), NULL);
}
void
_______________________________________________
Xfce4-commits mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/xfce4-commits