[gnome-games/gnome-3-0] sudoku: fix hidden notes



commit 0afe159c0616213e5712cefedc1ba28fd1a6f1f0
Author: John Stowers <john stowers gmail com>
Date:   Thu May 5 13:46:51 2011 +1200

    sudoku: fix hidden notes

 gnome-sudoku/src/lib/number_box.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gnome-sudoku/src/lib/number_box.py b/gnome-sudoku/src/lib/number_box.py
index 8a0eeaa..496a5a3 100644
--- a/gnome-sudoku/src/lib/number_box.py
+++ b/gnome-sudoku/src/lib/number_box.py
@@ -666,7 +666,7 @@ class NumberBox (Gtk.DrawingArea):
                 0,
                 )
             PangoCairo.update_layout(cr, self._top_note_layout)
-            PangoCairo.update_layout(cr, self._top_note_layout)
+            PangoCairo.show_layout(cr, self._top_note_layout)
         if self._bottom_note_layout:
             fontw, fonth = self._bottom_note_layout.get_pixel_size()
             cr.move_to(
@@ -674,7 +674,7 @@ class NumberBox (Gtk.DrawingArea):
                 BASE_SIZE-fonth,
                 )
             PangoCairo.update_layout(cr, self._bottom_note_layout)
-            PangoCairo.update_layout(cr, self._bottom_note_layout)
+            PangoCairo.show_layout(cr, self._bottom_note_layout)
 
     def set_text_color (self, color, shadow = None):
         self.shadow_color = shadow



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