1
0
mirror of https://github.com/gryf/wicd.git synced 2026-02-19 00:15:47 +01:00

Add new wired GUI icon.

This commit is contained in:
Dan O'Reilly
2009-01-25 00:44:51 -05:00
parent 9d6a7c9d78
commit a2e757a64d
2 changed files with 685 additions and 4 deletions

View File

@@ -535,10 +535,10 @@ class WiredNetworkEntry(NetworkEntry):
""" Load the wired network entry. """
NetworkEntry.__init__(self, dbus_ifaces)
# Center the picture and pad it a bit
self.image.set_alignment(.5, 0)
self.image.set_padding(0, 0)
self.image.set_alignment(.5, .5)
self.image.set_size_request(60, -1)
#self.image.set_from_icon_name("network-wired", 6)
self.image.set_from_file(wpath.images + "wired.png")
self.image.set_from_file(wpath.images + "wired-gui.svg")
self.image.show()
self.connect_button.show()
@@ -729,7 +729,6 @@ class WirelessNetworkEntry(NetworkEntry):
self.image.set_alignment(.5, .5)
self.image.set_size_request(60, -1)
self.image.show()
#self.image.set_from_icon_name("network-wired", 6)
self.essid = noneToBlankString(wireless.GetWirelessProperty(networkID,
"essid"))
self.lbl_strength = GreyLabel()