diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-03-23 06:05:55 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-03-23 06:05:55 +0000 |
commit | b8d0897b8f058f99aebaa5d4ac2ec8040ae7ce20 (patch) | |
tree | 6681442e72c51a7ebe182a77c18ff9451eb265f8 /MandrivaUpdate | |
parent | dd2816f30d142dbf5ed1a527a07cca1694db3062 (diff) | |
download | rpmdrake-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
Diffstat (limited to 'MandrivaUpdate')
-rwxr-xr-x | MandrivaUpdate | 3 |
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); }, ), |