1
0
mirror of https://github.com/gryf/wicd.git synced 2025-12-20 12:58:07 +01:00

fixed connection info dialog text alignment

This commit is contained in:
Adam Blackburn
2009-12-30 11:29:59 -10:00
parent aceeaf9f0a
commit 2d0f2869a4

View File

@@ -607,15 +607,15 @@ class TrayIcon(object):
text = ''
# Choose info for the labels
self.list[0].set_text(text)
self.list[0].set_text('\n' + text)
if state == misc.WIRED:
self.list[1].set_text(language['conn_info_wired_labels'])
elif state == misc.WIRELESS:
self.list[1].set_text(language['conn_info_wireless_labels'])
elif state == misc.CONNECTING:
self.list[1].set_text(language['conn_info_connecting'])
self.list[1].set_text(language['connecting'])
elif state in (misc.SUSPENDED, misc.NOT_CONNECTED):
self.list[1].set_text(language['conn_info_not_connected'])
self.list[1].set_text(language['disconnected'])
return True