From 1b04dfddf01053acce779d32fbf089411899f507 Mon Sep 17 00:00:00 2001 From: Antonio Gallo Date: Wed, 25 May 2011 15:18:52 +0000 Subject: h-client:added create new account and request new password links --- h-client/hclient.py | 25 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) diff --git a/h-client/hclient.py b/h-client/hclient.py index 378f776..3d8af58 100644 --- a/h-client/hclient.py +++ b/h-client/hclient.py @@ -470,7 +470,7 @@ class hclient: self.loginWindow.add(vbox) - table = gtk.Table(2, 2, True) + table = gtk.Table(4, 2, True) table.set_border_width(10) label = gtk.Label("login to the server") @@ -502,6 +502,21 @@ class hclient: #add the input to the table table.attach(self.passwordEntry, 1, 2, 1, 2) + ### create new account + label = gtk.Label("Create new account") + label.set_use_markup(True) + label.set_alignment(0.98,0.5) + #add the label + table.attach(label, 0, 2, 2, 3) + + ### request new password + label = gtk.Label("Request new password") + label.set_use_markup(True) + label.set_alignment(0.98,0.5) + #add the label + table.attach(label, 0, 2, 3, 4) + + hbox = gtk.HBox(False, 0) hbox.set_border_width(10) applyButton = gtk.Button(stock=gtk.STOCK_APPLY) @@ -1026,6 +1041,10 @@ class hclient: hboxBelowEntries.pack_end(self.resetButton, False, True, 0) hboxBelowEntries.pack_start(self.submitButton, False, True, 0) hboxBelowEntries.show_all() + + #lFrame = gtk.Frame() + #lFrame.add(rhbox) + #lFrame.set_border_width(5) #start the left vertical box self.rightWindow = gtk.VBox(False, 0) @@ -1039,9 +1058,7 @@ class hclient: rhbox = gtk.HBox(False, 0) rhbox.pack_start(self.rightWindow, True, True, 5) - #rFrame = gtk.Frame() - #rFrame.add(rhbox) - #rFrame.set_border_width(5) + rvbox = gtk.VBox(False, 0) -- cgit v1.2.3