[gnome-maps] transitPrintLayout: Set the "printing-text" class



commit ea1594ecf1d56b41d2138c33fc9267123fcc5e85
Author: Marcus Lundblad <ml update uu se>
Date:   Wed Jun 28 22:45:12 2017 +0200

    transitPrintLayout: Set the "printing-text" class
    
    Otherwise the rendered instructions will look bad the dark
    theme is in use.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=784308

 src/transitPrintLayout.js |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/transitPrintLayout.js b/src/transitPrintLayout.js
index 41d5dd5..f6efd06 100644
--- a/src/transitPrintLayout.js
+++ b/src/transitPrintLayout.js
@@ -196,6 +196,8 @@ const TransitPrintLayout = new Lang.Class({
         widget.width_request = width;
         widget.height_request = height;
 
+        widget.get_style_context().add_class('printing-text');
+
         // Paint the background of the row to be transparent
         widget.connect('draw', (function(widget, cr) {
             cr.setSourceRGBA(0.0, 0.0, 0.0, 0.0);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]