Refactor flow list state management

- Use signal mechanism for state synchronisation
- Move "Copy to clipboard" shortcut to "P"
This commit is contained in:
Aldo Cortesi
2015-04-07 15:59:38 +12:00
parent c7b1234e13
commit e76467e977
7 changed files with 28 additions and 48 deletions

View File

@@ -1,7 +1,7 @@
import urwid
from . import common, signals, grideditor, contentview
from . import select
from . import select, palettes
footer = [
('heading_key', "enter/space"), ":toggle ",
@@ -60,7 +60,7 @@ class Options(urwid.WidgetWrap):
select.Option(
"Palette",
"P",
lambda: False,
lambda: self.master.palette != palettes.DEFAULT,
self.palette
),
select.Option(