gnome-games r9001 - trunk/gnome-sudoku/src/lib
- From: thomashpa svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-games r9001 - trunk/gnome-sudoku/src/lib
- Date: Mon, 6 Apr 2009 23:48:25 +0000 (UTC)
Author: thomashpa
Date: Mon Apr 6 23:48:25 2009
New Revision: 9001
URL: http://svn.gnome.org/viewvc/gnome-games?rev=9001&view=rev
Log:
Don't indicate availability of notes-editor on read-only fields. Patch by Zhang Sen. Fixes bug #578140
Modified:
trunk/gnome-sudoku/src/lib/gsudoku.py
Modified: trunk/gnome-sudoku/src/lib/gsudoku.py
==============================================================================
--- trunk/gnome-sudoku/src/lib/gsudoku.py (original)
+++ trunk/gnome-sudoku/src/lib/gsudoku.py Mon Apr 6 23:48:25 2009
@@ -165,7 +165,7 @@
self.npicker = None
def motion_notify_cb (self, *args):
- if self.is_focus():
+ if self.is_focus() and not self.read_only:
self._toggle_box_drawing_(True)
else:
self._toggle_box_drawing_(False)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]