mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-25 13:55:34 -05:00
Don't popup error dialog, pospone error message.
This commit is contained in:
parent
539172187f
commit
8875118334
3 changed files with 5 additions and 7 deletions
|
@ -97,7 +97,7 @@ rofi.kb-primary-paste: Control+Shift+v,Shift+Insert
|
|||
! "Paste clipboard" Set from: File
|
||||
rofi.kb-secondary-paste: Control+v,Insert
|
||||
! "Clear input line" Set from: File
|
||||
rofi.kb-clear-line: Control+u
|
||||
rofi.kb-clear-line: Control+w
|
||||
! "Beginning of line" Set from: File
|
||||
rofi.kb-move-front: Control+a
|
||||
! "End of line" Set from: File
|
||||
|
|
|
@ -164,8 +164,9 @@ gboolean parse_keys_abe ( NkBindings *bindings )
|
|||
g_free ( keystr );
|
||||
}
|
||||
if ( error_msg->len > 0 ) {
|
||||
rofi_view_error_dialog ( error_msg->str, TRUE );
|
||||
g_string_free ( error_msg, TRUE );
|
||||
//rofi_view_error_dialog ( error_msg->str, TRUE );
|
||||
rofi_add_error_message ( error_msg );
|
||||
// g_string_free ( error_msg, TRUE );
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
|
|
@ -827,10 +827,7 @@ int main ( int argc, char *argv[] )
|
|||
config_parse_cmd_options ( );
|
||||
TICK_N ( "Load cmd config " );
|
||||
|
||||
if ( !parse_keys_abe ( bindings ) ) {
|
||||
cleanup ();
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
parse_keys_abe ( bindings );
|
||||
|
||||
if ( !dmenu_mode ) {
|
||||
// setup_modi
|
||||
|
|
Loading…
Reference in a new issue