add some info to About dialog; center Close button
This commit is contained in:
parent
502de1354c
commit
9333672655
@ -9,10 +9,18 @@ class AboutWindow:
|
|||||||
self.window.connect("key-press-event", self.window_key_press_event)
|
self.window.connect("key-press-event", self.window_key_press_event)
|
||||||
|
|
||||||
vbox = gtk.VBox()
|
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 = gtk.Button('Close')
|
||||||
close.connect("clicked", self.close_clicked)
|
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.add(vbox)
|
||||||
self.window.show_all()
|
self.window.show_all()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user