1
0
mirror of https://github.com/gryf/wicd.git synced 2026-03-15 06:03:40 +01:00

Make backend combobox tooltip display the active backend's description.

Reverse the order of the OK/Cancel button in the Ad-Hoc connection dialog.
Use a new set of icons.
Extend the update invervals for all backends by 1 second.
Try to use en_US.utf8 instead of C as the LANG in misc.Run if it is available.
Add ability to force a network state update.  (Currently not used).
This commit is contained in:
Dan O'Reilly
2008-12-27 18:23:15 -05:00
parent eb2959cdde
commit 9caae86049
58 changed files with 674 additions and 559 deletions

View File

@@ -107,7 +107,7 @@ class TrayIcon(object):
raise NotImplementedError
else:
return self.tr.is_embedded()
class TrayConnectionInfo(object):
""" Class for updating the tray icon status. """
@@ -230,7 +230,7 @@ class TrayIcon(object):
img_file = ''.join([wpath.images, prefix, signal_img, lock, ".png"])
self.tr.set_from_file(img_file)
def get_bandwidth_state(self):
""" Determines what network activity state we are in. """
transmitting = False
@@ -640,7 +640,7 @@ Arguments:
\t-h\t--help\t\tPrint this help information.
\t-a\t--no-animate\tRun the tray without network traffic tray animations.
"""
def setup_dbus(force=True):
global bus, daemon, wireless, wired, DBUS_AVAIL
print "Connecting to daemon..."