ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/gde/GCE/AttachEditor.pm
(Generate patch)

Comparing deliantra/gde/GCE/AttachEditor.pm (file contents):
Revision 1.2 by elmex, Mon Aug 28 18:24:49 2006 UTC vs.
Revision 1.3 by elmex, Sun Oct 15 15:35:18 2006 UTC

26 unless ($::CFG->{known_attachments}->{$att}) { 26 unless ($::CFG->{known_attachments}->{$att}) {
27 $self->{attach_combobox}->append_text ($att); 27 $self->{attach_combobox}->append_text ($att);
28 $::CFG->{known_attachments}->{$att} = 1; 28 $::CFG->{known_attachments}->{$att} = 1;
29 } 29 }
30} 30}
31
32#sub known_attachments {
33# my ($self) = @_;
34#
35# my $model = $self->{attach_combobox}->get_model;
36# my @known_attachments;
37#
38# my $iter = $model->get_iter_first;
39# while ($iter) {
40# push @known_attachments, $model->get ($iter);
41# $iter = $model->iter_next ($iter);
42# }
43#
44# return @known_attachments;
45#}
46 31
47sub save_layout { 32sub save_layout {
48 my ($self) = @_; 33 my ($self) = @_;
49 $::CFG->{attach_editor} = ::get_pos_and_size ($self); 34 $::CFG->{attach_editor} = ::get_pos_and_size ($self);
50} 35}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines