[gnome-games/gnome-3-0] sudoku: gi port, hack pango_layout_set_markup
- From: Thomas Hindoe Paaboel Andersen <thomashpa src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games/gnome-3-0] sudoku: gi port, hack pango_layout_set_markup
- Date: Fri, 20 May 2011 21:15:47 +0000 (UTC)
commit 31b77bdc3b9d49482a66e9b00465fafd7a0da049
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]