1
0
mirror of https://github.com/gryf/wicd.git synced 2025-12-30 18:32:28 +01:00

branches/experimental

- Add support for entering search domain into static DNS settings.
- Fix some errors in how static setting texboxes were getting set.
- Fixed a bunch of errors/warnings found by pylint.
This commit is contained in:
imdano
2008-09-20 10:22:06 +00:00
parent 244b419f3f
commit c197b5fcbc
13 changed files with 172 additions and 142 deletions

View File

@@ -26,6 +26,7 @@ A module for storing wicd's dbus interfaces.
import dbus
class DBusManager(object):
""" Manages the DBus objects used by wicd. """
def __init__(self):
self._bus = dbus.SystemBus()
self._dbus_ifaces = {}
@@ -35,6 +36,7 @@ class DBusManager(object):
return self._dbus_ifaces
def get_interface(self, iface):
""" Returns a DBus Interface. """
return self._dbus_ifaces[iface]
def get_bus(self):