[gnome-games] quadrapassel: Activate the "show-shadow" preferences toggle



commit 9638c56745feec81d14ff01252f3ffd607849f79
Author: Jeremy Bicha <jbicha ubuntu com>
Date:   Tue Feb 7 21:05:20 2012 -0500

    quadrapassel: Activate the "show-shadow" preferences toggle
    
    This fixes the "Show where the block will land" checkbox always
    appearing as unchecked.

 quadrapassel/src/quadrapassel.vala |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/quadrapassel/src/quadrapassel.vala b/quadrapassel/src/quadrapassel.vala
index bcdcf1e..76f08e6 100644
--- a/quadrapassel/src/quadrapassel.vala
+++ b/quadrapassel/src/quadrapassel.vala
@@ -306,6 +306,7 @@ public class Quadrapassel
         fvbox.pack_start (rotate_counter_clock_wise_toggle, false, false, 0);
 
         show_shadow_toggle = new Gtk.CheckButton.with_mnemonic (_("Show _where the block will land"));
+        show_shadow_toggle.set_active (settings.get_boolean ("show-shadow"));
         show_shadow_toggle.toggled.connect (user_target_toggled_cb);
         fvbox.pack_start (show_shadow_toggle, false, false, 0);
 



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