… | |
… | |
495 | $LOGIN_BUTTON->set_text ("Login"); |
495 | $LOGIN_BUTTON->set_text ("Login"); |
496 | $SETUP_NOTEBOOK->set_current_page ($SETUP_SERVER); |
496 | $SETUP_NOTEBOOK->set_current_page ($SETUP_SERVER); |
497 | $SETUP_DIALOG->show; |
497 | $SETUP_DIALOG->show; |
498 | $PL_WINDOW->hide; |
498 | $PL_WINDOW->hide; |
499 | $SPELL_LIST->clear_spells; |
499 | $SPELL_LIST->clear_spells; |
|
|
500 | $CFPlus::UI::ROOT->emit (stop_game => ! ! $CONN); |
500 | |
501 | |
501 | return unless $CONN; |
502 | return unless $CONN; |
502 | |
503 | |
503 | status "connection closed"; |
504 | status "connection closed"; |
504 | |
505 | |
… | |
… | |
1453 | has_close_button => 1 |
1454 | has_close_button => 1 |
1454 | ; |
1455 | ; |
1455 | |
1456 | |
1456 | my $ntb = |
1457 | my $ntb = |
1457 | $PL_NOTEBOOK = |
1458 | $PL_NOTEBOOK = |
1458 | new CFPlus::UI::Notebook expand => 1, debug => 1; |
1459 | new CFPlus::UI::Notebook expand => 1; |
1459 | |
1460 | |
1460 | $ntb->add ( |
1461 | $ntb->add ( |
1461 | "Statistics (F2)" => $STATS_PAGE = stats_window, |
1462 | "Statistics (F2)" => $STATS_PAGE = stats_window, |
1462 | "Shows statistics, where all your Stats and Resistances are shown." |
1463 | "Shows statistics, where all your Stats and Resistances are shown." |
1463 | ); |
1464 | ); |