ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/kgsueme/kgsueme/game.pl
(Generate patch)

Comparing kgsueme/kgsueme/game.pl (file contents):
Revision 1.70 by pcg, Tue Jul 22 21:44:00 2003 UTC vs.
Revision 1.71 by pcg, Wed Jul 23 02:03:37 2003 UTC

417 417
418sub event_update_game { 418sub event_update_game {
419 my ($self) = @_; 419 my ($self) = @_;
420 $self->SUPER::event_update_game; 420 $self->SUPER::event_update_game;
421 421
422 return unless $self->{window};
423
422 my $title = defined $self->{channel} 424 my $title = defined $self->{channel}
423 ? $self->owner->as_string . " " . $self->opponent_string 425 ? $self->owner->as_string . " " . $self->opponent_string
424 : "Game Window"; 426 : "Game Window";
425 $self->{window}->set_title("KGS Game $title"); 427 $self->{window}->set_title("KGS Game $title");
426 $self->{title}->set_text ($title); 428 $self->{title}->set_text ($title);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines