summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2008-07-08 18:53:50 -0300
committerPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2008-07-08 18:53:50 -0300
commited21e75c45e92c4c52f80bdb5fba0e17f5afaca1 (patch)
tree7a73ebe997f161e3521b93606ccce31dfb4baaf5
parentc23ce2ff2439f09d00dc2c226562d44f02ca591a (diff)
CancelFindFile is almost the same as XeditFocus, and could be merged in a
same Xt action. For the moment, automatically leave line_edit in XeditFocus. There is one other bug that should be fixed, that I am trying to repeat (having the same file loaded twice when using tags) before a new release. Thre is also a problem in Xaw when deleting large amounts of selections that crashes xedit, aparently due to Xaw Text widget doing some wrong math and attempting to allocate a huge chunk of memory.
-rw-r--r--util.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/util.c b/util.c
index fb960e9..f65bf4d 100644
--- a/util.c
+++ b/util.c
@@ -578,6 +578,8 @@ XeditFocus(Widget w, XEvent *event, String *params, Cardinal *num_params)
XtSetArg(args[0], XtNstring, NULL);
XtSetValues(filenamewindow, args, 1);
+
+ line_edit = False;
}
void