gnome-games r7616 - in trunk/glchess: . src/lib
- From: rancell svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-games r7616 - in trunk/glchess: . src/lib
- Date: Thu, 10 Apr 2008 05:36:04 +0100 (BST)
Author: rancell
Date: Thu Apr 10 05:36:04 2008
New Revision: 7616
URL: http://svn.gnome.org/viewvc/gnome-games?rev=7616&view=rev
Log:
Abort history saving if cannot create history directory (Bug #523076)
Modified:
trunk/glchess/ChangeLog
trunk/glchess/src/lib/history.py
Modified: trunk/glchess/src/lib/history.py
==============================================================================
--- trunk/glchess/src/lib/history.py (original)
+++ trunk/glchess/src/lib/history.py Thu Apr 10 05:36:04 2008
@@ -101,6 +101,10 @@
"""
if fileName is None:
fileName = self._getFilename(g)
+ if fileName is None:
+ # FIXME: This should be in a dialog
+ print 'Unable to find location to save to'
+ return
lines = g.getLines()
try:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]