[gnome-builder] style: fix style for realtime graphs
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] style: fix style for realtime graphs
- Date: Tue, 16 Feb 2016 05:40:15 +0000 (UTC)
commit beaf0487f39085ebb55ed82ab8ad2c69e6121ee5
Author: Christian Hergert <chergert redhat com>
Date: Mon Feb 15 21:40:02 2016 -0800
style: fix style for realtime graphs
contrib/rg/rg-graph.c | 2 ++
plugins/sysmon/theme/Adwaita-dark.css | 2 +-
plugins/sysmon/theme/Adwaita.css | 2 +-
3 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/contrib/rg/rg-graph.c b/contrib/rg/rg-graph.c
index efd097f..7176d39 100644
--- a/contrib/rg/rg-graph.c
+++ b/contrib/rg/rg-graph.c
@@ -375,6 +375,8 @@ rg_graph_class_init (RgGraphClass *klass)
(G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_properties (object_class, LAST_PROP, properties);
+
+ gtk_widget_class_set_css_name (widget_class, "rggraph");
}
static void
diff --git a/plugins/sysmon/theme/Adwaita-dark.css b/plugins/sysmon/theme/Adwaita-dark.css
index ea07391..f5da6d1 100644
--- a/plugins/sysmon/theme/Adwaita-dark.css
+++ b/plugins/sysmon/theme/Adwaita-dark.css
@@ -1,4 +1,4 @@
-RgGraph {
+rggraph {
background-color: #2e3436;
background-size: 8px 8px;
background-image: repeating-linear-gradient(0deg, #32383a, #32383a 1px, transparent 1px, transparent 8px),
diff --git a/plugins/sysmon/theme/Adwaita.css b/plugins/sysmon/theme/Adwaita.css
index 09e6241..93a2319 100644
--- a/plugins/sysmon/theme/Adwaita.css
+++ b/plugins/sysmon/theme/Adwaita.css
@@ -1,4 +1,4 @@
-RgGraph {
+rggraph {
background-color: #f6f7f8;
background-size: 8px 8px;
background-image: repeating-linear-gradient(0deg, #f0f1f2, #f0f1f2 1px, transparent 1px, transparent 8px),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]