summaryrefslogtreecommitdiff
path: root/src/completion.c
diff options
context:
space:
mode:
authorDaniel Carl <danielcarl@gmx.de>2013-07-04 23:51:48 +0200
committerDaniel Carl <danielcarl@gmx.de>2013-07-04 23:51:48 +0200
commit04cbd6dc550e1759d1a473064e7cca187f41fcc8 (patch)
treed0bd3a0dbf4c76167258dc9937af265dd6029a8f /src/completion.c
parentca1bee0a48beb81c123e8222dd0a6e8f36f6a622 (diff)
Write completion content direct to inputbox (#38).
This prevent the cropping of completed content which leads to the new generation of completion which in fact does only find a single item.
Diffstat (limited to 'src/completion.c')
-rw-r--r--src/completion.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/completion.c b/src/completion.c
index 5f94cc2..99321ef 100644
--- a/src/completion.c
+++ b/src/completion.c
@@ -271,7 +271,7 @@ static gboolean tree_selection_func(GtkTreeSelection *selection,
comp.text = g_strdup_printf("%s%s", comp.prefix, value);
}
/* print the text also into inputbox */
- vb_echo_force(VB_MSG_NORMAL, false, "%s", comp.text);
+ PUT_TEXT(comp.text);
g_free(value);
}