[gnome-games] sudoku: gi port, hack pango_layout_set_markup



commit d82dd926df0968c926a5f42f7bc47649237854a5
Author: John Stowers <john stowers gmail com>
Date:   Sat Apr 9 11:11:16 2011 +1200

    sudoku: gi port, hack pango_layout_set_markup

 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 b4f1a5a..66708cc 100644
--- a/gnome-sudoku/src/lib/number_box.py
+++ b/gnome-sudoku/src/lib/number_box.py
@@ -358,9 +358,9 @@ class NumberBox (Gtk.Widget):
         '''Display the notes for the current view
         '''
         self.top_note_text = self.get_note_display(self.top_note_list)[1]
-        self._top_note_layout.set_markup(self.get_note_display(self.top_note_list)[2])
+        self._top_note_layout.set_markup(self.get_note_display(self.top_note_list)[2], -1)
         self.bottom_note_text = self.get_note_display(self.bottom_note_list)[1]
-        self._bottom_note_layout.set_markup(self.get_note_display(self.bottom_note_list)[2])
+        self._bottom_note_layout.set_markup(self.get_note_display(self.bottom_note_list)[2], -1)
         self.queue_draw()
 
     def set_note_text (self, top_text = None, bottom_text = None, for_hint = False):



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