--- deliantra/Deliantra-Client/bin/cfplus 2006/06/05 05:23:21 1.56 +++ deliantra/Deliantra-Client/bin/cfplus 2006/06/05 21:10:04 1.57 @@ -712,6 +712,7 @@ name => 'metaserver_dialog', x => 'center', y => 'center', + z => 3, child => (my $vbox = new CFClient::UI::VBox), on_visibility_change => sub { update_metaserver if $_[1]; @@ -1149,12 +1150,13 @@ $buttons->add (new CFClient::UI::Button text => $label, on_activate => sub { - my $pom = CFClient::load_pod CFClient::find_rcfile "pod/$pod.pod"; + my $pom = CFClient::load_pod CFClient::find_rcfile "pod/$pod.pod", + doc_viewer => 1, sub { CFClient::pod_to_pango_list $_[0] }; $viewer->clear; $viewer->add_paragraph ([1, 1, 1, 1], $_->[1], $_->[0]) - for @{ CFClient::pod_to_pango_list $pom }; + for @$pom; $viewer->set_offset (0); }, @@ -1288,7 +1290,7 @@ $SETUP_NOTEBOOK->add (Spells => $SETUP_SPELLS = spell_setup, "Displays all spells you have and lets you edit keyboard shortcuts for them."); - $BUTTONBAR = new CFClient::UI::HBox x => 0, y => 0; + $BUTTONBAR = new CFClient::UI::Buttonbar x => 0, y => 0, z => 200; # put on top $BUTTONBAR->add (new CFClient::UI::Flopper text => "Setup", other => $SETUP_DIALOG, tooltip => "Toggles a dialog where you can configure all aspects of this client.");