aboutsummaryrefslogtreecommitdiffstats
path: root/rpmdrake.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-07-16 13:47:14 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-07-16 13:47:14 +0000
commita94f7555c7f5478968551d6948e2b51a05a7dc60 (patch)
tree52eaaaa971e108ede38a040c0e46407e98f0d673 /rpmdrake.pm
parent36d685aaaa298d58f9cb368a99e5ac84da6f211e (diff)
downloadrpmdrake-a94f7555c7f5478968551d6948e2b51a05a7dc60.tar
rpmdrake-a94f7555c7f5478968551d6948e2b51a05a7dc60.tar.gz
rpmdrake-a94f7555c7f5478968551d6948e2b51a05a7dc60.tar.bz2
rpmdrake-a94f7555c7f5478968551d6948e2b51a05a7dc60.tar.xz
rpmdrake-a94f7555c7f5478968551d6948e2b51a05a7dc60.zip
2.1-25mdk: switch to gtk2-perl-xs
Diffstat (limited to 'rpmdrake.pm')
-rw-r--r--rpmdrake.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm
index 03a96d0a..c09469c6 100644
--- a/rpmdrake.pm
+++ b/rpmdrake.pm
@@ -309,7 +309,7 @@ the case when the architecture of your processor is not supported
by Mandrake Linux Official Updates.")), return '';
my $w = ugtk2->new('rpmdrake', grab => 1);
- my $tree_model = Gtk2::TreeStore->new(Gtk2::GType->STRING);
+ my $tree_model = Gtk2::TreeStore->new("Glib::String");
my $tree = Gtk2::TreeView->new_with_model($tree_model);
$tree->get_selection->set_mode('browse');
my $column = Gtk2::TreeViewColumn->new_with_attributes(undef, Gtk2::CellRendererText->new, 'text' => 0);
@@ -378,7 +378,7 @@ sub show_urpm_progress {
$pb->set_fraction(1.0);
$label->set_label($label->get_label . N(" failed!"));
}
- Gtk2->update_ui;
+ Gtk2->main_iteration while Gtk2->events_pending;
}
sub update_sources {