extra Window elements: monday and shown_projects
This commit is contained in:
parent
48a377ec6a
commit
b24dcf4bad
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user