summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2017-06-03 16:06:32 +0200
committerDave Davenport <qball@gmpclient.org>2017-06-03 16:06:32 +0200
commit8875118334a73f47cbce27f2575d4063df7fcfa6 (patch)
tree646613ab288138ee5cda3012774b918a69f34bbb /source
parent539172187f60d62c6fceb091296d59bb64e6026b (diff)
Don't popup error dialog, pospone error message.
Diffstat (limited to 'source')
-rw-r--r--source/keyb.c5
-rw-r--r--source/rofi.c5
2 files changed, 4 insertions, 6 deletions
diff --git a/source/keyb.c b/source/keyb.c
index a5a7ceb0..04d498dd 100644
--- a/source/keyb.c
+++ b/source/keyb.c
@@ -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;
}
diff --git a/source/rofi.c b/source/rofi.c
index daf8123c..18eb01a5 100644
--- a/source/rofi.c
+++ b/source/rofi.c
@@ -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