projects
/
vimb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df6ddba
)
Remove -- INPUT -- from inputbox after submitting a form.
author
Daniel Carl
<danielcarl@gmx.de>
Wed, 19 Dec 2012 14:19:29 +0000
(15:19 +0100)
committer
Daniel Carl
<danielcarl@gmx.de>
Wed, 19 Dec 2012 14:19:29 +0000
(15:19 +0100)
src/main.c
patch
|
blob
|
history
diff --git
a/src/main.c
b/src/main.c
index
c9f19c6
..
c45d831
100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-305,6
+305,10
@@
gboolean vp_set_mode(Mode mode, gboolean clean)
if (GET_CLEAN_MODE() == VP_MODE_HINTING) {
hints_clear();
}
+ /* clean the input if current mode is insert to remove -- INPUT -- */
+ if (GET_CLEAN_MODE() == VP_MODE_INSERT) {
+ clean = TRUE;
+ }
gtk_widget_grab_focus(GTK_WIDGET(vp.gui.webview));
break;