diff options
Diffstat (limited to 'libempathy-gtk/empathy-status-preset-dialog.c')
-rw-r--r-- | libempathy-gtk/empathy-status-preset-dialog.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libempathy-gtk/empathy-status-preset-dialog.c b/libempathy-gtk/empathy-status-preset-dialog.c index 957a17d58..2c36cb332 100644 --- a/libempathy-gtk/empathy-status-preset-dialog.c +++ b/libempathy-gtk/empathy-status-preset-dialog.c @@ -351,12 +351,12 @@ status_preset_dialog_set_add_combo_changed (EmpathyStatusPresetDialog *self, gtk_widget_set_sensitive (priv->add_button, state); if (state) { - gtk_widget_modify_text (entry, GTK_STATE_NORMAL, NULL); + gtk_widget_override_color (entry, 0, NULL); } else { - GdkColor colour; + GdkRGBA color; - gdk_color_parse ("Gray", &colour); /* FIXME - theme */ - gtk_widget_modify_text (entry, GTK_STATE_NORMAL, &colour); + if (gdk_rgba_parse (&color, "Gray")) /* FIXME - theme */ + gtk_widget_override_color (entry, 0, &color); if (reset_text) { priv->block_add_combo_changed++; |