changeset f6f16e7e3737 in /home/hg/repos/gajim
details:http://hg.gajim.org/gajim?cmd=changeset;node=f6f16e7e3737 description: [louizatakk] fix bash completion patch. Fixes #5328
diffstat:
src/groupchat_control.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r 8de463f88280 -r f6f16e7e3737 src/groupchat_control.py --- a/src/groupchat_control.py Fri Oct 16 19:51:29 2009 +0200 +++ b/src/groupchat_control.py Sat Oct 17 10:18:11 2009 +0200 @@ -1848,7 +1848,7 @@ # have to accomodate for the added space from last # completion start_iter.backward_chars(len(begin) + 2) - elif self.last_key_tabs: + elif self.last_key_tabs and not gajim.config.get('shell_like_completion'): # have to accomodate for the added space from last # completion start_iter.backward_chars(len(begin) + 1) @@ -1871,7 +1871,7 @@ end = True cur = cur[:-1] completion = cur - add = "" # if nick is not complete, don't but any comma or so + add = "" # if nick is not complete, don't add anything message_buffer.insert_at_cursor(completion + add) self.last_key_tabs = True return True