extra Window elements: monday and shown_projects

This commit is contained in:
Josh Holtrop 2011-02-22 10:45:40 -05:00
parent 48a377ec6a
commit b24dcf4bad

View File

@ -1,10 +1,14 @@
import gtk
import gobject
from datetime import *
class Window:
def __init__(self, ds):
self.ds = ds
self.shown_projects = []
now = datetime.now()
self.monday = now.date() - timedelta(now.weekday())
# Top-level Window creation
self.window = gtk.Window(gtk.WINDOW_TOPLEVEL)