[gnome-games] sudoku: fix hidden notes



commit 2844a25e5fd420d28fc29072cd9d970cde2b3d1b
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 39dc4a6..1b3a8ce 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]