add some info to About dialog; center Close button

This commit is contained in:
Josh Holtrop 2011-03-19 20:19:25 -04:00
parent 502de1354c
commit 9333672655

View File

@ -9,10 +9,18 @@ class AboutWindow:
self.window.connect("key-press-event", self.window_key_press_event)
vbox = gtk.VBox()
vbox.pack_start(gtk.Label('About'))
vbox.pack_start(gtk.Label('''Experimental DornerWorks Time Tracker
Authors:
Josh Holtrop
Andrew Buter'''))
close = gtk.Button('Close')
close.connect("clicked", self.close_clicked)
vbox.pack_end(close)
hbox = gtk.HBox()
hbox.pack_start(gtk.Label())
hbox.pack_start(close, expand = False)
hbox.pack_start(gtk.Label())
vbox.pack_end(hbox)
self.window.add(vbox)
self.window.show_all()