diff --git a/include/view.h b/include/view.h index 5a3a0855..96e478a8 100644 --- a/include/view.h +++ b/include/view.h @@ -52,8 +52,6 @@ typedef enum MENU_ERROR_DIALOG = 4, /** INDICATOR */ MENU_INDICATOR = 8, - /** Show column */ - MENU_PROMPT_COLON = 16, } MenuFlags; /** diff --git a/source/rofi.c b/source/rofi.c index 74cc9d36..8199e302 100644 --- a/source/rofi.c +++ b/source/rofi.c @@ -182,7 +182,7 @@ static void run_switcher ( ModeMode mode ) return; } curr_switcher = mode; - RofiViewState * state = rofi_view_create ( modi[mode], config.filter, MENU_PROMPT_COLON, process_result ); + RofiViewState * state = rofi_view_create ( modi[mode], config.filter, 0, process_result ); if ( state ) { rofi_view_set_active ( state ); } diff --git a/source/view.c b/source/view.c index b532c7b2..be5768bc 100644 --- a/source/view.c +++ b/source/view.c @@ -244,14 +244,7 @@ static void rofi_view_update_prompt ( RofiViewState *state ) { if ( state->prompt ) { const char *str = mode_get_display_name ( state->sw ); - if ( ( state->menu_flags & MENU_PROMPT_COLON ) != 0 ) { - char *pr = g_strconcat ( str, ":", NULL ); - textbox_text ( state->prompt, pr ); - g_free ( pr ); - } - else { - textbox_text ( state->prompt, str ); - } + textbox_text ( state->prompt, str ); } }