mirror of
https://github.com/davatorium/rofi.git
synced 2025-04-07 17:33:14 -04:00
[Theme] Add sidebar as alias to mode-switcher
This commit is contained in:
parent
aa35ecc40a
commit
c3caa20df8
1 changed files with 1 additions and 1 deletions
|
@ -1647,7 +1647,7 @@ static void rofi_view_add_widget ( RofiViewState *state, widget *parent_widget,
|
|||
/**
|
||||
* MODE SWITCHER
|
||||
*/
|
||||
else if ( strcmp ( name, "mode-switcher" ) == 0 ) {
|
||||
else if ( strcmp ( name, "mode-switcher" ) == 0 || strcmp ( name, "sidebar" ) == 0 ) {
|
||||
if ( state->sidebar_bar != NULL ) {
|
||||
g_error ( "Mode-switcher can only be added once to the layout." );
|
||||
return;
|
||||
|
|
Loading…
Add table
Reference in a new issue