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:
@@ -607,15 +607,15 @@ class TrayIcon(object):
|
|||||||
text = ''
|
text = ''
|
||||||
|
|
||||||
# Choose info for the labels
|
# Choose info for the labels
|
||||||
self.list[0].set_text(text)
|
self.list[0].set_text('\n' + text)
|
||||||
if state == misc.WIRED:
|
if state == misc.WIRED:
|
||||||
self.list[1].set_text(language['conn_info_wired_labels'])
|
self.list[1].set_text(language['conn_info_wired_labels'])
|
||||||
elif state == misc.WIRELESS:
|
elif state == misc.WIRELESS:
|
||||||
self.list[1].set_text(language['conn_info_wireless_labels'])
|
self.list[1].set_text(language['conn_info_wireless_labels'])
|
||||||
elif state == misc.CONNECTING:
|
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):
|
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
|
return True
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user