[gnome-games] Always set showing tracker to bold
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] Always set showing tracker to bold
- Date: Tue, 25 May 2010 01:40:13 +0000 (UTC)
commit 608c0ed8bc75a7aba7f083dc79123e4cf1387b52
Author: Jim Ross <jimbo dimensia com>
Date: Tue May 25 11:40:05 2010 +1000
Always set showing tracker to bold
gnome-sudoku/src/lib/main.py | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/gnome-sudoku/src/lib/main.py b/gnome-sudoku/src/lib/main.py
index 1b5dfa6..c300c15 100644
--- a/gnome-sudoku/src/lib/main.py
+++ b/gnome-sudoku/src/lib/main.py
@@ -793,9 +793,7 @@ class TrackerBox (gtk.VBox):
self.tracker_actions.set_sensitive(False)
def draw_tracker_name(self, column, cell, model, iter):
- if model.get_value(iter, 0) == self.tinfo.showing_tracker and \
- self.tinfo.showing_tracker != tracker_info.NO_TRACKER and \
- self.tinfo.showing_tracker != self.tinfo.current_tracker:
+ if model.get_value(iter, 0) == self.tinfo.showing_tracker:
cell.set_property('weight', pango.WEIGHT_BOLD)
else:
cell.set_property('weight', pango.WEIGHT_NORMAL)
@@ -899,6 +897,7 @@ class TrackerBox (gtk.VBox):
self.main_ui.gsd.update_all_notes()
self.set_tracker_action_sense(False)
self.redraw_row(hiding_tracker)
+ self.redraw_row(tracker_info.NO_TRACKER)
@simple_debug
def apply_tracker_cb (self, action):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]