diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2009-04-17 21:45:45 +0200 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2009-04-17 21:46:47 +0200 |
commit | ab9077633a539229533d03f56c627be9e88a7865 (patch) | |
tree | ba3049a4ec7c055a6900d7eea756c6ec3eb488b7 /todolist.py | |
parent | 42dcfdbebbbbf8d0ce7d4acdc8507a96911323e0 (diff) | |
download | todolist-ab9077633a539229533d03f56c627be9e88a7865.tar.gz todolist-ab9077633a539229533d03f56c627be9e88a7865.tar.xz todolist-ab9077633a539229533d03f56c627be9e88a7865.zip |
started gui creation
added first window with menu, statusbar and aboutbox
added license file with gpl3 and version
remove some debuging output from storage.sqlite
Diffstat (limited to 'todolist.py')
-rwxr-xr-x | todolist.py | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/todolist.py b/todolist.py index c062bbf..d2ab10c 100755 --- a/todolist.py +++ b/todolist.py @@ -3,22 +3,24 @@ import storage.factory import item -import random +from ui.ui_pygtk import ui_pygtk +import random from time import time def main(): store = storage.factory.getStorage() items = store.load() - items += item.item('asda', 12345678, 231) + #items += item.item('asda', 12345678, 231) - for i in items: - print i.getTitle() - print i.getCreatedAt() - print i.getPriority() - print '========================================' - i.priority = random.randint(0,10) + #for i in items: + # print i.getTitle() + # print i.getCreatedAt() + # print i.getPriority() + # print '========================================' + # i.priority = random.randint(0,10) + ui_pygtk(items) return if __name__ == '__main__': |