ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/Deliantra-Client/bin/pclient
(Generate patch)

Comparing deliantra/Deliantra-Client/bin/pclient (file contents):
Revision 1.237 by elmex, Tue May 23 17:51:18 2006 UTC vs.
Revision 1.238 by elmex, Tue May 23 18:10:52 2006 UTC

838} 838}
839 839
840sub open_quit_dialog { 840sub open_quit_dialog {
841 unless ($QUIT_DIALOG) { 841 unless ($QUIT_DIALOG) {
842 842
843 my $QUIT_DIALOG = new CFClient::UI::FancyFrame title => "Really Quit?"; 843 $QUIT_DIALOG = new CFClient::UI::FancyFrame title => "Really Quit?";
844 844
845 $QUIT_DIALOG->add (my $vb = new CFClient::UI::VBox expand => 1); 845 $QUIT_DIALOG->add (my $vb = new CFClient::UI::VBox expand => 1);
846 846
847 $vb->add (new CFClient::UI::Label 847 $vb->add (new CFClient::UI::Label
848 text => "You should find a savebed and apply it first!", 848 text => "You should find a savebed and apply it first!",
859 connect_activate => sub { exit 1 }, 859 connect_activate => sub { exit 1 },
860 expand => 1 860 expand => 1
861 ); 861 );
862 $hb->add (new CFClient::UI::Label "You should find a savebed and apply it first!"); 862 $hb->add (new CFClient::UI::Label "You should find a savebed and apply it first!");
863 863
864 $QUIT_DIALOG->show; 864 $QUIT_DIALOG->show_centered;
865 } else { 865 } else {
866 $QUIT_DIALOG->show; 866 $QUIT_DIALOG->show_centered;
867 } 867 }
868} 868}
869 869
870sub make_inventory_window { 870sub make_inventory_window {
871 my $invwin = new CFClient::UI::FancyFrame 871 my $invwin = new CFClient::UI::FancyFrame
1532 ); 1532 );
1533 1533
1534 $entry->focus_in; 1534 $entry->focus_in;
1535 } 1535 }
1536 1536
1537 $dialog->show; 1537 $dialog->show_centered;
1538} 1538}
1539 1539
1540sub conn::drawinfo { 1540sub conn::drawinfo {
1541 my ($self, $color, $text) = @_; 1541 my ($self, $color, $text) = @_;
1542 1542

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines