Add a popover menu to switch languages

This commit is contained in:
Dorota Czaplejewicz
2019-09-13 14:45:14 +00:00
parent dcd4dbf931
commit 47c4119ab7
14 changed files with 623 additions and 34 deletions

View File

@ -509,10 +509,7 @@ fn create_action(
&view_names
),
},
Some(Action::ShowPrefs) => ::action::Action::Submit {
text: None,
keys: Vec::new(),
},
Some(Action::ShowPrefs) => ::action::Action::ShowPreferences,
None => ::action::Action::Submit {
text: None,
keys: keysyms.into_iter().map(::action::KeySym).collect(),