diff options
author | Dave Davenport <qball@gmpclient.org> | 2019-05-04 11:01:09 +0200 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2019-05-04 11:04:54 +0200 |
commit | 52c5592a6f6d55897a03bb9691031c3cf8c71b46 (patch) | |
tree | 5340e54fd1cf64608301f8228def4c141540a890 /source/view.c | |
parent | e7da00dbff338327c5beb8ced42ab84016a18ed7 (diff) |
[ListView|Textbox] Add user-settable ellipsize mode.
Fixes: #917
Diffstat (limited to 'source/view.c')
-rw-r--r-- | source/view.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/view.c b/source/view.c index e35035fd..e9b4d8d8 100644 --- a/source/view.c +++ b/source/view.c @@ -1149,6 +1149,11 @@ static void rofi_view_trigger_global_action ( KeyBindingAction action ) case SCREENSHOT: rofi_capture_screenshot ( ); break; + case CHANGE_ELLIPSIZE: + if ( state->list_view ) { + listview_toggle_ellipsizing ( state->list_view ); + } + break; case TOGGLE_SORT: if ( state->case_indicator != NULL ) { config.sort = !config.sort; |