[gnome-boxes] resource-graph: Don't style using classnames
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] resource-graph: Don't style using classnames
- Date: Tue, 15 Mar 2016 18:26:40 +0000 (UTC)
commit 4f16e8e8abfedc21fb7fe9bbcbd83ba636e7d975
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Tue Mar 15 18:15:06 2016 +0000
resource-graph: Don't style using classnames
This doesn't work anymore with latest gtk+.
https://bugzilla.gnome.org/show_bug.cgi?id=763677
data/gtk-style.css | 2 +-
data/ui/resource-graph.ui | 3 +++
2 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/data/gtk-style.css b/data/gtk-style.css
index 9a5ec12..9f9efc2 100644
--- a/data/gtk-style.css
+++ b/data/gtk-style.css
@@ -15,7 +15,7 @@
background-color: @theme_fg_color;
}
-BoxesResourceGraph {
+.boxes-resource-graph {
background-color: @boxes_bg_color;
border-color: @theme_fg_color;
color: @theme_bg_color;
diff --git a/data/ui/resource-graph.ui b/data/ui/resource-graph.ui
index 9b382ac..578a867 100644
--- a/data/ui/resource-graph.ui
+++ b/data/ui/resource-graph.ui
@@ -5,5 +5,8 @@
<property name="visible">True</property>
<property name="width-request">32</property>
<property name="hexpand">True</property>
+ <style>
+ <class name="boxes-resource-graph"/>
+ </style>
</template>
</interface>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]