[quadrapassel] Dim labels based on designer review



commit 5e984531ea921ac3bc4aa0cbfba7086c1364c32e
Author: Robert Roth <robert roth off gmail com>
Date:   Wed Oct 22 22:35:04 2014 +0300

    Dim labels based on designer review
    
    https://bugzilla.gnome.org/show_bug.cgi?id=710618

 src/quadrapassel.vala |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/src/quadrapassel.vala b/src/quadrapassel.vala
index 8fc59a3..ca3093a 100644
--- a/src/quadrapassel.vala
+++ b/src/quadrapassel.vala
@@ -157,7 +157,8 @@ public class Quadrapassel : Gtk.Application
         game_grid.attach (preview_frame, 2, 1, 1, 3);
         game_grid.show ();
 
-        var label = new Gtk.Label (_("Score"));
+        var label = new Gtk.Label (null);
+        label.set_markup ("<span color='gray'>%s</span>".printf (_("Score")));
         label.set_alignment (0.5f, 0.5f);
         label.show ();
         game_grid.attach (label, 2, 5, 1, 1);
@@ -167,7 +168,8 @@ public class Quadrapassel : Gtk.Application
         score_label.show ();
         game_grid.attach (score_label, 2, 6, 1, 2);
 
-        label = new Gtk.Label (_("Lines"));
+        label = new Gtk.Label (null);
+        label.set_markup ("<span color='gray'>%s</span>".printf (_("Lines")));
         label.set_alignment (0.5f, 0.5f);
         label.show ();
         game_grid.attach (label, 2, 9, 1, 1);
@@ -177,7 +179,8 @@ public class Quadrapassel : Gtk.Application
         n_destroyed_label.show ();
         game_grid.attach (n_destroyed_label, 2, 10, 1, 2);
 
-        label = new Gtk.Label (_("Level"));
+        label = new Gtk.Label (null);
+        label.set_markup ("<span color='gray'>%s</span>".printf (_("Level")));
         label.set_alignment (0.5f, 0.5f);
         label.show ();
         game_grid.attach (label, 2, 13, 1, 1);


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