summaryrefslogtreecommitdiffstats
path: root/src/widgets/ruler.cpp
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2016-05-07 08:48:16 +0000
committertavmjong-free <tavmjong@free.fr>2016-05-07 08:48:16 +0000
commit01a611b9d6b1884f25e3deabfa20326168985563 (patch)
tree5cd50471a58e357acd85cea8fb3bd8e13c356a4e /src/widgets/ruler.cpp
parentPrevent scrollbar overlay from covering swatches in GTK3 build. (diff)
downloadinkscape-01a611b9d6b1884f25e3deabfa20326168985563.tar.gz
inkscape-01a611b9d6b1884f25e3deabfa20326168985563.zip
Temporarily hard code GTK3 ruler background to off white.
(bzr r14872)
Diffstat (limited to 'src/widgets/ruler.cpp')
-rw-r--r--src/widgets/ruler.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/widgets/ruler.cpp b/src/widgets/ruler.cpp
index fe851d592..5c715b0be 100644
--- a/src/widgets/ruler.cpp
+++ b/src/widgets/ruler.cpp
@@ -284,9 +284,11 @@ sp_ruler_init (SPRuler *ruler)
priv->font_scale = DEFAULT_RULER_FONT_SCALE;
#if GTK_CHECK_VERSION(3,0,0)
+ // Hard code off-white for the moment. Where is @bg_color defined?
const gchar *str =
"SPRuler {\n"
- " background-color: @bg_color;\n"
+// " background-color: @bg_color;\n"
+ " background-color: #f8f8f8;\n"
"}\n";
GtkCssProvider *css = gtk_css_provider_new ();
gtk_css_provider_load_from_data (css, str, -1, NULL);