From 4d82399affc7a805cca90e38e75c7e264eb50244 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 25 Sep 2007 11:50:46 +0000 Subject: do not hardcode column id --- MandrivaUpdate | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'MandrivaUpdate') diff --git a/MandrivaUpdate b/MandrivaUpdate index aaef04d7..b72f2902 100755 --- a/MandrivaUpdate +++ b/MandrivaUpdate @@ -184,7 +184,7 @@ sub run_treeview_dialog { $list->get_selection->signal_connect(changed => sub { my ($model, $iter) = $_[0]->get_selected; $model && $iter or return; - gtktext_insert($info, get_info($model->get($iter, 2), $w->{real_window}->window)); + gtktext_insert($info, get_info($model->get($iter, $pkg_columns{text}), $w->{real_window}->window)); $info->scroll_to_iter($info->get_buffer->get_start_iter, 0, 0, 0, 0); }); -- cgit v1.2.1