[Pychord-commits] r50 - in trunk: . pychord2
danilo at garage.maemo.org
danilo at garage.maemo.org
Sun Mar 9 17:57:49 EET 2008
Author: danilo
Date: 2008-03-09 17:57:47 +0200 (Sun, 09 Mar 2008)
New Revision: 50
Removed:
trunk/pyupdate.py
Modified:
trunk/pychord.py
trunk/pychord2/__init__.py
trunk/pychord2/main_window.py
Log:
- Restoring configurations options
Modified: trunk/pychord.py
===================================================================
--- trunk/pychord.py 2008-03-09 15:36:49 UTC (rev 49)
+++ trunk/pychord.py 2008-03-09 15:57:47 UTC (rev 50)
@@ -123,7 +123,7 @@
os.chdir( dir )
- pyc = None#pyc_def()
+ pyc = pyc_def()
options = parse_opts( argv )
app = pychord2( options[ "resolution" ], options[ "fullscreen" ] or maemo_fullscreen(), pyc)
Modified: trunk/pychord2/__init__.py
===================================================================
--- trunk/pychord2/__init__.py 2008-03-09 15:36:49 UTC (rev 49)
+++ trunk/pychord2/__init__.py 2008-03-09 15:57:47 UTC (rev 50)
@@ -5,7 +5,7 @@
from pygame.locals import *
from pygame.sprite import RenderUpdates
from pygame.time import Clock
-#import pysqlite2 as sqlite
+import sqlite3
class pychord2:
@@ -25,7 +25,7 @@
self.screen_size = self.screen.get_size()
pygame.mouse.set_visible( not fullscreen )
- pygame.display.set_caption( 'PyChords' )
+ pygame.display.set_caption( 'PyChord' )
self.pyc = pyc
Modified: trunk/pychord2/main_window.py
===================================================================
--- trunk/pychord2/main_window.py 2008-03-09 15:36:49 UTC (rev 49)
+++ trunk/pychord2/main_window.py 2008-03-09 15:57:47 UTC (rev 50)
@@ -71,7 +71,7 @@
def onKeyPress(self, key):
+ if key == K_F7:
+ self.chordList.fontUp()
if key == K_F8:
- self.chordList.fontUp()
- if key == K_F7:
self.chordList.fontDown()
\ No newline at end of file
Deleted: trunk/pyupdate.py
===================================================================
--- trunk/pyupdate.py 2008-03-09 15:36:49 UTC (rev 49)
+++ trunk/pyupdate.py 2008-03-09 15:57:47 UTC (rev 50)
@@ -1,24 +0,0 @@
-"""
-This class is unuseful.
-Just for tests
-another test
-"""
-class classe1(object):
-
- elements = []
- def __init__(self, objlst):
-
- for i in objlst:
- self.elements.append(i)
-
- def show(self):
- for i in self.elements:
-
- print i
-
-if __name__ == '__main__':
- a = classe1([1,2,3,4])
-
- b = classe1([5,6,7,8])
- a.show()
- b.show()
More information about the Pychord-commits
mailing list