extra Window elements: monday and shown_projects
This commit is contained in:
1 parent
48a377ec6a
commit
b24dcf4bad
1 file changed
+4
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user