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

Comparing kgsueme/kgsueme/app.pl (file contents):
Revision 1.9 by pcg, Thu May 20 23:09:53 2004 UTC vs.
Revision 1.10 by pcg, Thu May 20 23:17:25 2004 UTC

19 $::self->{status}->pop ($context_id{$type}) if $context_id{$type}; 19 $::self->{status}->pop ($context_id{$type}) if $context_id{$type};
20 $::self->{status}->push ($context_id{$type} ||= $::self->{status}->get_context_id ($type), $text) if $text; 20 $::self->{status}->push ($context_id{$type} ||= $::self->{status}->get_context_id ($type), $text) if $text;
21} 21}
22 22
23sub new { 23sub new {
24 my $self = shift; 24 my ($self, %arg) = @_;
25 $self = $self->Glib::Object::new; 25 $self = $self->Glib::Object::new;
26 $self->{$_} = delete $arg{$_} for keys %arg;
26 27
27 Scalar::Util::weaken ($::self = $self); # singleton... 28 Scalar::Util::weaken ($::self = $self); # singleton...
28 29
29 $self->{conn} = new KGS::Protocol::Client; 30 $self->{conn} = new KGS::Protocol::Client;
30 31

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines