diff options
author | portix <portix@gmx.net> | 2013-05-13 16:28:44 +0200 |
---|---|---|
committer | portix <portix@gmx.net> | 2013-05-13 16:28:44 +0200 |
commit | 6bcabf64b98e18e6e70fb7da35572b2b34bfcf05 (patch) | |
tree | d244fef371c03953aca5c5f4eaa04a51d1e5f6cc /src | |
parent | 97921f6872a8d30340d1b5583349ff85c94f7961 (diff) | |
download | dwb-6bcabf64b98e18e6e70fb7da35572b2b34bfcf05.zip |
Enable entry shortcuts for util.tabComplete
Diffstat (limited to 'src')
-rw-r--r-- | src/callback.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/callback.c b/src/callback.c index 05916830..30b2b707 100644 --- a/src/callback.c +++ b/src/callback.c @@ -88,7 +88,10 @@ callback_entry_key_press(GtkWidget* entry, GdkEventKey *e) return true; } else if (mode & COMPLETE_SCRIPTS && !DWB_COMPLETE_KEY(e)) - return dwb.state.script_comp_readonly; + if (dwb.state.script_comp_readonly) + return true; + else + goto skip; else if (e->keyval == GDK_KEY_BackSpace && !complete) return false; else if (mode == HINT_MODE) |