when we edit a transport, we print 'edit %s' instead of 'register to %s'
This commit is contained in:
parent
4142f76b44
commit
9bc2c5781e
|
@ -1432,7 +1432,10 @@ class Service_registration_window:
|
||||||
self.plugin = plugin
|
self.plugin = plugin
|
||||||
self.account = account
|
self.account = account
|
||||||
self.window = self.xml.get_widget('service_registration_window')
|
self.window = self.xml.get_widget('service_registration_window')
|
||||||
self.window.set_title(_('Register to %s') % service)
|
if infos.has_key('registered'):
|
||||||
|
self.window.set_title(_('Edit ' + service)
|
||||||
|
else:
|
||||||
|
self.window.set_title(_('Register to ' + service)
|
||||||
self.xml.get_widget('label').set_text(infos['instructions'])
|
self.xml.get_widget('label').set_text(infos['instructions'])
|
||||||
self.entries = {}
|
self.entries = {}
|
||||||
self.draw_table()
|
self.draw_table()
|
||||||
|
|
Loading…
Reference in New Issue