From 93336726551dc6474106b3e54b6b2e91e1715346 Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Sat, 19 Mar 2011 20:19:25 -0400 Subject: [PATCH] add some info to About dialog; center Close button --- AboutWindow.py | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/AboutWindow.py b/AboutWindow.py index 9f92345..01bf1b5 100644 --- a/AboutWindow.py +++ b/AboutWindow.py @@ -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()