aboutsummaryrefslogtreecommitdiff
path: root/ide/command_windows.ml
diff options
context:
space:
mode:
authormonate2003-05-20 09:50:46 +0000
committermonate2003-05-20 09:50:46 +0000
commit225ad4789372846314da206091d8f146dcda8384 (patch)
treee9c0d51b843c06c91228dfd26a628aa0388a4474 /ide/command_windows.ml
parent7eb3b862ab4220b1781fbea69ad4658ac93e7bb1 (diff)
command_windows fix
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@4038 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'ide/command_windows.ml')
-rw-r--r--ide/command_windows.ml3
1 files changed, 2 insertions, 1 deletions
diff --git a/ide/command_windows.ml b/ide/command_windows.ml
index 6c0048ca3c..1fe1fd90b7 100644
--- a/ide/command_windows.ml
+++ b/ide/command_windows.ml
@@ -63,7 +63,7 @@ object(self)
~packing:notebook#append_page
()
in
- notebook#next_page ();
+ notebook#goto_page (notebook#page_num frame#coerce);
let vbox = GPack.vbox ~homogeneous:false ~packing:frame#add () in
let hbox = GPack.hbox ~homogeneous:false ~packing:vbox#pack () in
let combo = GEdit.combo ~popdown_strings:Coq_commands.state_preserving
@@ -97,6 +97,7 @@ object(self)
result#buffer#set_text s
in
ignore (combo#entry#connect#activate ~callback:(on_activate callback));
+ ignore (ok_b#connect#clicked ~callback:(on_activate callback));
begin match command,term with
| None,None -> ()