mirror of
https://github.com/gryf/wicd.git
synced 2025-12-19 12:28:08 +01:00
curses/curses_misc.py:
Added a non-selectable listbox for the wireless network header curses/wicd-curses.py: Updated the wireless list-header generating function and activated it. Removed/deactivated some unused code.
This commit is contained in:
@@ -49,7 +49,12 @@ class SelText(urwid.Text):
|
||||
"""Don't handle any keys."""
|
||||
return key
|
||||
|
||||
# This class is annoying. ^_^
|
||||
# ListBox that can't be selected.
|
||||
class NSelListBox(urwid.ListBox):
|
||||
def selectable(self):
|
||||
return False
|
||||
|
||||
# This class is annoying. :/
|
||||
class DynWrap(urwid.AttrWrap):
|
||||
"""
|
||||
Makes an object have mutable selectivity. Attributes will change like
|
||||
|
||||
Reference in New Issue
Block a user