projects
/
vimb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
394abf6
)
Do not add inputbox observers if hint will be fired.
author
Daniel Carl
<danielcarl@gmx.de>
Sat, 22 Dec 2012 23:43:15 +0000
(
00:43
+0100)
committer
Daniel Carl
<danielcarl@gmx.de>
Sat, 22 Dec 2012 23:43:15 +0000
(
00:43
+0100)
src/hints.c
patch
|
blob
|
history
diff --git
a/src/hints.c
b/src/hints.c
index
8e9b9c1
..
8f81cdb
100644
(file)
--- a/
src/hints.c
+++ b/
src/hints.c
@@
-128,10
+128,10
@@
void hints_create(const gchar* input, guint mode, const guint prefixLength)
if (g_list_length(hints->list) == 1) {
/* only one element hinted - we can fire it */
hints_fire(1);
+ } else {
+ /* add event hanlder for inputbox */
+ hints_observe_input(TRUE);
}
-
- /* add event hanlder for inputbox */
- hints_observe_input(TRUE);
}
void hints_update(const gulong num)