aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-09-14 00:18:38 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-09-14 00:18:38 +0000
commit4bc6d66d012f8917d99510c285bb15f7f49d923c (patch)
tree4ad312e1c8f81e51389a0c8e0954ec25815d9afb
parent6b336691fc954bd1c4cf21ae995345b0e88a749f (diff)
downloadrpmdrake-4bc6d66d012f8917d99510c285bb15f7f49d923c.tar
rpmdrake-4bc6d66d012f8917d99510c285bb15f7f49d923c.tar.gz
rpmdrake-4bc6d66d012f8917d99510c285bb15f7f49d923c.tar.bz2
rpmdrake-4bc6d66d012f8917d99510c285bb15f7f49d923c.tar.xz
rpmdrake-4bc6d66d012f8917d99510c285bb15f7f49d923c.zip
Disable the "update media" button in removal mode
-rwxr-xr-xrpmdrake1
1 files changed, 1 insertions, 0 deletions
diff --git a/rpmdrake b/rpmdrake
index f5bef93e..6f87a8ba 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -1080,6 +1080,7 @@ Is it ok to continue?",
);
$show_selections_button and $show_selections_button->set_active(!$dont_show_selections);
$> and $action_button->set_sensitive(0), $update_button->set_sensitive(0);
+ $MODE eq 'remove' and $update_button->set_sensitive(0);
$find_entry->grab_focus;
$w->{window}->set_default_size($typical_width*2.7, 500) if !$::isEmbedded;