[gnome-boxes] gtk-style: Remove unneeded hardcoded colors
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] gtk-style: Remove unneeded hardcoded colors
- Date: Mon, 18 Aug 2014 18:09:28 +0000 (UTC)
commit 46d46e6df5f5651b9b1d3c08adc52e80f3dac4a1
Author: Lasse Schuirmann <lasse schuirmann gmail com>
Date: Sun Aug 17 19:43:26 2014 +0200
gtk-style: Remove unneeded hardcoded colors
The inherited values look almost the same and provide better
maintainability due to less hardcoded colors and less code in general.
https://bugzilla.gnome.org/show_bug.cgi?id=731952
data/gtk-style.css | 8 --------
src/wizard.vala | 2 --
2 files changed, 0 insertions(+), 10 deletions(-)
---
diff --git a/data/gtk-style.css b/data/gtk-style.css
index f917fe0..6a668f0 100644
--- a/data/gtk-style.css
+++ b/data/gtk-style.css
@@ -84,14 +84,6 @@ BoxesMiniGraph {
color: #bebebe;
}
-.boxes-wizard-summary-prop-value-label {
- color: white;
-}
-
-.boxes-wizard-summary-customize-button {
- color: white;
-}
-
.boxes-wizard-media-os-label {
color: #d8d8d8;
font-weight: bold;
diff --git a/src/wizard.vala b/src/wizard.vala
index 3484f64..082a2f0 100644
--- a/src/wizard.vala
+++ b/src/wizard.vala
@@ -697,7 +697,6 @@ private class Boxes.WizardSummary: Gtk.Grid {
attach (label_name, 0, current_row, 1, 1);
var label_value = new Gtk.Label (value);
- label_value.get_style_context ().add_class ("boxes-wizard-summary-prop-value-label");
label_value.set_ellipsize (Pango.EllipsizeMode.END);
label_value.set_max_width_chars (32);
label_name.halign = Gtk.Align.START;
@@ -713,7 +712,6 @@ private class Boxes.WizardSummary: Gtk.Grid {
return;
var button = new Gtk.Button.with_mnemonic (_("C_ustomize..."));
- button.get_style_context ().add_class ("boxes-wizard-summary-customize-button");
attach (button, 2, current_row - 1, 1, 1);
button.show ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]