From 6825cf053d66aca32c8efbaa8c88a5429fefd806 Mon Sep 17 00:00:00 2001 From: Adam Blackburn Date: Sat, 9 Jan 2010 15:30:55 -1000 Subject: [PATCH] mark ioctl not supported in wicd-gtk --- gtk/prefs.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gtk/prefs.py b/gtk/prefs.py index 7985de7..7b2d356 100644 --- a/gtk/prefs.py +++ b/gtk/prefs.py @@ -405,10 +405,12 @@ class PreferencesDialog(object): for x in self.backends: if x: + if x == 'ioctl': + x = 'ioctl NOT SUPPORTED' self.backendcombo.append_text(x) def be_combo_changed(self, combo): """ Update the description label for the given backend. """ self.backendcombo.set_tooltip_text( - self.be_descriptions[combo.get_active_text()] + self.be_descriptions[self.backends[combo.get_active()]] )