- make test case label contain initial test name instead of `owl:1'
- switch to move generation tab after loading new test case if appropriate
Paul
--- view.pike 10 Jan 2005 15:20:22 +0200 1.15
+++ view.pike 05 Apr 2005 20:04:48 +0300
@@ -1471,7 +1471,7 @@ class Controller
->attach_defaults(sgf_viewer_entry, 1, 2, 1, 2);
new_testcase_entry = GTK.Entry();
- new_testcase_entry->set_text("owl:1");
+ new_testcase_entry->set_text(testcase);
new_testcase_entry->set_editable(1);
new_testcase_button = GTK.Button("Load new testcase");
new_testcase_button->signal_connect_new("clicked", new_testcase);
@@ -1845,6 +1845,12 @@ class Controller
testcase_label->set_text(full_testcase * "\n");
viewers->new_testcase(complete_testcase, testcase_command);
viewers->handle_testcase();
+
+ if (has_prefix(testcase_command, "reg_genmove")
+ || has_prefix(testcase_command, "restricted_genmove")) {
+ controller_notebook->show_all();
+ controller_notebook->set_page(1);
+ }
}
_______________________________________________
gnugo-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnugo-devel