2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
authorClaudio Saavedra <csaavedra@igalia.com>
Thu, 29 Jan 2009 12:22:40 +0000 (12:22 +0000)
committerClaudio Saavedra <csaavedra@igalia.com>
Thu, 29 Jan 2009 12:22:40 +0000 (12:22 +0000)
* src/hildon-button.c: (hildon_button_init): Set the
button style during initialization to give it the proper
label color.

Fixes: NB#99713 (HildonButton value label color is wrong)

ChangeLog
src/hildon-button.c

index 6094250..80a87e3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2009-01-29  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * src/hildon-button.c: (hildon_button_init): Set the
+       button style during initialization to give it the proper
+       label color.
+
+       Fixes: NB#99713 (HildonButton value label color is wrong)
+
 2009-01-28  Claudio Saavedra  <csaavedra@igalia.com>
 
        * src/hildon-touch-selector.c: Document
index de5f1ef..7397ce1 100644 (file)
@@ -327,6 +327,8 @@ hildon_button_init                              (HildonButton *self)
     gtk_widget_set_name (GTK_WIDGET (priv->title), "hildon-button-title");
     gtk_widget_set_name (GTK_WIDGET (priv->value), "hildon-button-value");
 
+    hildon_button_set_style (self, HILDON_BUTTON_STYLE_NORMAL);
+
     gtk_misc_set_alignment (GTK_MISC (priv->title), 0, 0.5);
     gtk_misc_set_alignment (GTK_MISC (priv->value), 0, 0.5);