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

Comparing kgsueme/kgsueme/gamelist.pl (file contents):
Revision 1.3 by pcg, Sat May 31 14:21:16 2003 UTC vs.
Revision 1.4 by pcg, Sat May 31 16:41:36 2003 UTC

73 73
74 ########### 74 ###########
75 75
76 push @{$self->{rlcolumns}}, my $column = 76 push @{$self->{rlcolumns}}, my $column =
77 Gtk2::TreeViewColumn->new_with_attributes ("Opponent", $gtk::text_renderer, text => 6); 77 Gtk2::TreeViewColumn->new_with_attributes ("Opponent", $gtk::text_renderer, text => 6);
78 $column->set(resizable => 1);
78 $column->set(sizing => 'fixed'); 79 $column->set(sizing => 'fixed');
79 gtk::state $column, "gamelist::model::Opponent", undef, column_size => 120; 80 gtk::state $column, "gamelist::model::Opponent", undef, column_size => 120;
80 $self->{view2}->append_column ($column); 81 $self->{view2}->append_column ($column);
81 82
82 push @{$self->{rlcolumns}}, my $column = 83 push @{$self->{rlcolumns}}, my $column =
85 $column->set(sizing => 'grow-only'); 86 $column->set(sizing => 'grow-only');
86 $self->{view2}->append_column ($column); 87 $self->{view2}->append_column ($column);
87 88
88 push @{$self->{rlcolumns}}, my $column = 89 push @{$self->{rlcolumns}}, my $column =
89 Gtk2::TreeViewColumn->new_with_attributes ("Mv", $gtk::int_renderer, text => 9); 90 Gtk2::TreeViewColumn->new_with_attributes ("Mv", $gtk::int_renderer, text => 9);
90 $column->set_sort_column_id(7); 91 $column->set_sort_column_id(7);
91 $column->set(sizing => 'grow-only'); 92 $column->set(sizing => 'grow-only');
92 $self->{view2}->append_column ($column); 93 $self->{view2}->append_column ($column);
93 94
94 push @{$self->{rlcolumns}}, my $column = 95 push @{$self->{rlcolumns}}, my $column =
95 Gtk2::TreeViewColumn->new_with_attributes ("Ob", $gtk::int_renderer, text => 10); 96 Gtk2::TreeViewColumn->new_with_attributes ("Ob", $gtk::int_renderer, text => 10);
96 $column->set_sort_column_id(8); 97 $column->set_sort_column_id(8);
97 $column->set(sizing => 'grow-only'); 98 $column->set(sizing => 'grow-only');
98 $self->{view2}->append_column ($column); 99 $self->{view2}->append_column ($column);
99 100
100 push @{$self->{rlcolumns}}, my $column = 101 push @{$self->{rlcolumns}}, my $column =
101 Gtk2::TreeViewColumn->new_with_attributes ("Info", $gtk::text_renderer, text => 11); 102 Gtk2::TreeViewColumn->new_with_attributes ("Info", $gtk::text_renderer, text => 11);
155 1, $room, 156 1, $room,
156 2, $_->type, 157 2, $_->type,
157 3, $owner->{name}, 158 3, $owner->{name},
158 4, $owner->rank_string, 159 4, $owner->rank_string,
159 5, $owner->rank, 160 5, $owner->rank,
160 6, $_->{user1}->{name}, 161 6, $_->opponent_string,
161 7, $_->{user1}->rank_string, 162 7, $_->{user1}->rank_string,
162 8, $_->{user1}->rank, 163 8, $_->{user1}->rank,
163 9, $_->moves, 164 9, $_->moves,
164 10, $_->{observers}, 165 10, $_->{observers},
165 11, "info", 166 11, "info",

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines