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.131 by elmex, Fri Jun 4 14:17:53 2004 UTC vs.
Revision 1.132 by elmex, Sat Jun 5 15:58:00 2004 UTC

174 174
175 if ($self->{name}->get_text ne $user->as_string) { 175 if ($self->{name}->get_text ne $user->as_string) {
176 $self->{name}->set_text ($user->as_string); 176 $self->{name}->set_text ($user->as_string);
177 177
178 $self->{imagebox}->remove ($_) for $self->{imagebox}->get_children; 178 $self->{imagebox}->remove ($_) for $self->{imagebox}->get_children;
179 if (0) { 179 unless ($::config{suppress_userpic}) {
180 $self->{imagebox}->add (gtk::image_from_data undef); 180 $self->{imagebox}->add (gtk::image_from_data undef);
181 } 181 }
182 $self->{imagebox}->show_all; 182 $self->{imagebox}->show_all;
183 183
184 if ($user->has_pic) { 184 if ($user->has_pic) {
186 $app->userpic ($user->{name}, sub { 186 $app->userpic ($user->{name}, sub {
187 return unless $self->{imagebox}; 187 return unless $self->{imagebox};
188 188
189 if ($_[0]) { 189 if ($_[0]) {
190 $self->{imagebox}->remove ($_) for $self->{imagebox}->get_children; 190 $self->{imagebox}->remove ($_) for $self->{imagebox}->get_children;
191 if (0) { 191 unless ($::config{suppress_userpic}) {
192 $self->{imagebox}->add (gtk::image_from_data $_[0]); 192 $self->{imagebox}->add (gtk::image_from_data $_[0]);
193 } 193 }
194 $self->{imagebox}->show_all; 194 $self->{imagebox}->show_all;
195 } 195 }
196 }); 196 });

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines