1
0
mirror of https://github.com/gryf/wicd.git synced 2025-12-22 22:27:59 +01:00

Remove unneeded parameter from PreferencesDialog constructor.

This commit is contained in:
Dan O'Reilly
2009-02-03 19:38:07 -05:00
parent 11c1c48b92
commit 5a6bdbdef4
2 changed files with 2 additions and 3 deletions

View File

@@ -300,8 +300,7 @@ class appGui(object):
def settings_dialog(self, widget, event=None):
""" Displays a general settings dialog. """
if not self.pref:
self.pref = PreferencesDialog(self.wTree,
dbusmanager.get_dbus_ifaces())
self.pref = PreferencesDialog(self.wTree)
else:
self.pref.load_preferences_diag()
if self.pref.run() == 1: