[gnome-disk-utility/udisks2-port] Use dim-label style for the devices label instead of hard-coding color #555555
- From: David Zeuthen <davidz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-disk-utility/udisks2-port] Use dim-label style for the devices label instead of hard-coding color #555555
- Date: Thu, 12 Jan 2012 17:14:38 +0000 (UTC)
commit 22418c2d2807155640719d5eb798b624be889133
Author: David Zeuthen <davidz redhat com>
Date: Thu Jan 12 12:14:02 2012 -0500
Use dim-label style for the devices label instead of hard-coding color #555555
Signed-off-by: David Zeuthen <davidz redhat com>
data/ui/palimpsest.ui | 5 ++++-
src/palimpsest/gduwindow.c | 3 +--
2 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/data/ui/palimpsest.ui b/data/ui/palimpsest.ui
index 0f8ff55..f9906e3 100644
--- a/data/ui/palimpsest.ui
+++ b/data/ui/palimpsest.ui
@@ -593,7 +593,10 @@
<property name="selectable">True</property>
<property name="ellipsize">end</property>
<property name="single_line_mode">True</property>
- </object>
+ <style>
+ <class name="dim-label"/>
+ </style>
+ </object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
diff --git a/src/palimpsest/gduwindow.c b/src/palimpsest/gduwindow.c
index c7fa096..63f7121 100644
--- a/src/palimpsest/gduwindow.c
+++ b/src/palimpsest/gduwindow.c
@@ -1529,8 +1529,7 @@ update_device_page_for_drive (GduWindow *window,
gtk_label_set_markup (GTK_LABEL (window->devtab_drive_name_label), s);
gtk_widget_show (window->devtab_drive_name_label);
g_free (s);
- s = g_strdup_printf ("<small><span foreground=\"#555555\">%s</span></small>",
- str->str);
+ s = g_strdup_printf ("<small>%s</small>", str->str);
gtk_label_set_markup (GTK_LABEL (window->devtab_drive_devices_label), s);
gtk_widget_show (window->devtab_drive_devices_label);
g_free (s);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]