[gnome-boxes/wip/fix-theme: 1/4] style: Drop custom 'boxes-property-name-label' class
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes/wip/fix-theme: 1/4] style: Drop custom 'boxes-property-name-label' class
- Date: Wed, 16 Sep 2015 13:52:36 +0000 (UTC)
commit 7ea90b3953375096e461671d8f0d22c5f3dc7f31
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Wed Sep 16 13:52:24 2015 +0100
style: Drop custom 'boxes-property-name-label' class
Just use 'dim-label'.
data/gtk-style.css | 4 ----
src/i-properties-provider.vala | 2 +-
src/libvirt-machine-properties.vala | 2 +-
src/properties-page-widget.vala | 2 +-
4 files changed, 3 insertions(+), 7 deletions(-)
---
diff --git a/data/gtk-style.css b/data/gtk-style.css
index c7e4271..5177532 100644
--- a/data/gtk-style.css
+++ b/data/gtk-style.css
@@ -26,10 +26,6 @@ BoxesResourceGraph {
background-image: none;
}
-.boxes-property-name-label {
- color: @theme_unfocused_fg_color;
-}
-
.boxes-step-label {
color: #989898;
font-size: 11px;
diff --git a/src/i-properties-provider.vala b/src/i-properties-provider.vala
index 539b4d0..f94e088 100644
--- a/src/i-properties-provider.vala
+++ b/src/i-properties-provider.vala
@@ -113,7 +113,7 @@ private class Boxes.SizeProperty : Boxes.Property {
var box = new Gtk.Box (Gtk.Orientation.HORIZONTAL, 0);
var name_label = new Gtk.Label.with_mnemonic (name);
name_label.halign = Gtk.Align.START;
- name_label.get_style_context ().add_class ("boxes-property-name-label");
+ name_label.get_style_context ().add_class ("dim-label");
box.add (name_label);
var value_label = new Gtk.Label ("");
set_size_value_label_msg (value_label, size, allocation, format_flags);
diff --git a/src/libvirt-machine-properties.vala b/src/libvirt-machine-properties.vala
index d0da5cd..bd60b8a 100644
--- a/src/libvirt-machine-properties.vala
+++ b/src/libvirt-machine-properties.vala
@@ -694,7 +694,7 @@ private class Boxes.LibvirtMachineProperties: GLib.Object, Boxes.IPropertiesProv
box.has_tooltip = true;
var label = new Gtk.Label.with_mnemonic (_("_Run in background"));
- label.get_style_context ().add_class ("boxes-property-name-label");
+ label.get_style_context ().add_class ("dim-label");
box.add (label);
var toggle = new Gtk.Switch ();
machine.bind_property ("run-in-bg", toggle, "active",
diff --git a/src/properties-page-widget.vala b/src/properties-page-widget.vala
index e644263..add814c 100644
--- a/src/properties-page-widget.vala
+++ b/src/properties-page-widget.vala
@@ -49,7 +49,7 @@ private class Boxes.PropertiesPageWidget: Gtk.Box {
foreach (var property in properties) {
if (property.description != null) {
var label_name = new Gtk.Label.with_mnemonic (property.description);
- label_name.get_style_context ().add_class ("boxes-property-name-label");
+ label_name.get_style_context ().add_class ("dim-label");
label_name.halign = property.description_alignment;
label_name.hexpand = false;
grid.attach (label_name, 0, current_row, 1, 1);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]