1
0
mirror of https://github.com/gryf/wicd.git synced 2026-02-14 12:55:49 +01:00

Fixed wicd-curses to support the new template backend.

Made the cacert and clcert fields optional in the eap-tls template.
This commit is contained in:
Andrew Psaltis
2009-03-08 17:45:38 -04:00
parent 8112851a86
commit e699bd5bcb
3 changed files with 69 additions and 52 deletions

View File

@@ -796,13 +796,18 @@ class appGUI():
about_dialog(self.frame)
if "C" in keys:
focus = self.thePile.get_focus()
if focus == self.wiredCB:
WiredSettingsDialog(self.wiredCB.get_body().
get_selected_profile()).run(ui,self.size,self.frame)
else:
# wireless list only other option
wid,pos = self.thePile.get_focus().get_focus()
WirelessSettingsDialog(pos).run(ui,self.size,self.frame)
try:
if focus == self.wiredCB:
WiredSettingsDialog(self.wiredCB.get_body().
get_selected_profile()).run(ui,self.size,self.frame)
else:
# wireless list only other option
wid,pos = self.thePile.get_focus().get_focus()
WirelessSettingsDialog(pos).run(ui,self.size,self.frame)
except:
# wtf do I need this?
loop.quit()
raise
#self.netentry = NetEntryBase(dbusmanager.get_dbus_ifaces())
#self.netentry.run(ui,self.size,self.frame)
if "I" in keys: