diff options
author | Chris Lumens <clumens@redhat.com> | 2012-05-15 16:36:01 -0400 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2012-05-15 16:36:01 -0400 |
commit | d77353a3f96ad36a0f7f881c7fadcd2ecf1443a3 (patch) | |
tree | a26668f4b8aea0920aa8b60a99379f4eea1e1000 /widgets | |
parent | a157498368c20dc0e353452b31bc825c716bafe4 (diff) | |
download | anaconda-d77353a3f96ad36a0f7f881c7fadcd2ecf1443a3.tar.gz anaconda-d77353a3f96ad36a0f7f881c7fadcd2ecf1443a3.tar.xz anaconda-d77353a3f96ad36a0f7f881c7fadcd2ecf1443a3.zip |
Make spoke status messages always grey.
Really, I'd like them to be grey only when the spoke is not ready and then
turn black afterwards. But I can't make that work, and it has to be done
in C since the labels aren't exposed outside of that. So this will have
to work for now.
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/src/SpokeSelector.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/widgets/src/SpokeSelector.c b/widgets/src/SpokeSelector.c index d825bf753..f4247a6f7 100644 --- a/widgets/src/SpokeSelector.c +++ b/widgets/src/SpokeSelector.c @@ -182,7 +182,7 @@ static void anaconda_spoke_selector_init(AnacondaSpokeSelector *spoke) { /* Create the status label. */ spoke->priv->status_label = gtk_label_new(NULL); - markup = g_markup_printf_escaped("<span style='italic' size='large'>%s</span>", _(DEFAULT_STATUS)); + markup = g_markup_printf_escaped("<span style='italic' size='large' foreground='grey'>%s</span>", _(DEFAULT_STATUS)); gtk_label_set_markup(GTK_LABEL(spoke->priv->status_label), markup); gtk_misc_set_alignment(GTK_MISC(spoke->priv->status_label), 0, 0); gtk_label_set_ellipsize(GTK_LABEL(spoke->priv->status_label), PANGO_ELLIPSIZE_MIDDLE); @@ -229,7 +229,7 @@ static void anaconda_spoke_selector_set_property(GObject *object, guint prop_id, break; case PROP_STATUS: { - char *markup = g_markup_printf_escaped("<span style='italic' size='large'>%s</span>", g_value_get_string(value)); + char *markup = g_markup_printf_escaped("<span style='italic' size='large' foreground='grey'>%s</span>", g_value_get_string(value)); gtk_label_set_markup(GTK_LABEL(priv->status_label), markup); g_free(markup); break; |