aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-03-23 06:05:55 +0000
committerThierry Vignaud <tv@mandriva.org>2007-03-23 06:05:55 +0000
commitb8d0897b8f058f99aebaa5d4ac2ec8040ae7ce20 (patch)
tree6681442e72c51a7ebe182a77c18ff9451eb265f8
parentdd2816f30d142dbf5ed1a527a07cca1694db3062 (diff)
downloadrpmdrake-b8d0897b8f058f99aebaa5d4ac2ec8040ae7ce20.tar
rpmdrake-b8d0897b8f058f99aebaa5d4ac2ec8040ae7ce20.tar.gz
rpmdrake-b8d0897b8f058f99aebaa5d4ac2ec8040ae7ce20.tar.bz2
rpmdrake-b8d0897b8f058f99aebaa5d4ac2ec8040ae7ce20.tar.xz
rpmdrake-b8d0897b8f058f99aebaa5d4ac2ec8040ae7ce20.zip
(run_treeview_dialog) do not reset selection if canceling installation
-rwxr-xr-xMandrivaUpdate3
1 files changed, 2 insertions, 1 deletions
diff --git a/MandrivaUpdate b/MandrivaUpdate
index f3258b47..69676e72 100755
--- a/MandrivaUpdate
+++ b/MandrivaUpdate
@@ -154,7 +154,8 @@ sub run_treeview_dialog {
0, my $action_button = gtksignal_connect(
$update_button = Gtk2::Button->new(but_(N("Update"))),
clicked => sub {
- do_action({ tree_mode => 'all_updates' }, $callback_action);
+ my $res = do_action({ tree_mode => 'all_updates' }, $callback_action);
+ $initialized = 0 if !$res;
refresh_packages_list($list, $info, $update_button);
},
),