aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-05-06 11:03:04 +0000
committerThierry Vignaud <tv@mandriva.org>2009-05-06 11:03:04 +0000
commitafd9d35fad9df8972ce230c5180a3f20fb820b0e (patch)
tree4fd7bb42681c1cbe173528fcd450cfd120aa0321
parent4f84956b350714da35dbe2784b8b8ad8da893475 (diff)
downloadrpmdrake-afd9d35fad9df8972ce230c5180a3f20fb820b0e.tar
rpmdrake-afd9d35fad9df8972ce230c5180a3f20fb820b0e.tar.gz
rpmdrake-afd9d35fad9df8972ce230c5180a3f20fb820b0e.tar.bz2
rpmdrake-afd9d35fad9df8972ce230c5180a3f20fb820b0e.tar.xz
rpmdrake-afd9d35fad9df8972ce230c5180a3f20fb820b0e.zip
(run_treeview_dialog) save "Compute updates on startup" setting
-rw-r--r--NEWS3
-rwxr-xr-xrpmdrake4
2 files changed, 5 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 0d5e08a9..c5a3c133 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+- rpmdrake:
+ o save "Compute updates on startup" setting
+
Version 5.16.2 - 30 April 2009, Thierry Vignaud
- rpmdrake:
diff --git a/rpmdrake b/rpmdrake
index 82b46232..3fd95bc1 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -566,7 +566,7 @@ sub run_treeview_dialog {
$dont_show_selections->[0] = !$checkbox_show_autoselect->get_active;
}, undef, '<CheckItem>' ],
[ $updates_string, undef, sub {
- $::rpmdrake_options{compute_updates} = $check_boxes{$updates_string}->get_active;
+ $compute_updates = $check_boxes{$updates_string}->get_active;
}, undef, '<CheckItem>' ],
),
[ N("/_View"), undef, undef, undef, '<Branch>' ],
@@ -619,7 +619,7 @@ sub run_treeview_dialog {
$_ => $factory->get_widget("<main>" . $get_path->($_));
} ($auto_string, $noclean_string, $updates_string);
$check_boxes{$auto_string}->set_active($::rpmdrake_options{auto}) if !$>;
- $check_boxes{$updates_string}->set_active($::rpmdrake_options{compute_updates}) if !$>;
+ $check_boxes{$updates_string}->set_active($compute_updates) if !$>;
$check_boxes{$noclean_string}->set_active(!$::noclean);
$checkbox_show_autoselect = $factory->get_widget("<main>" . strip_first_underscore(N("/_Options"), N("/_Show automatically selected packages")))