aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-09-14 03:18:41 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-09-14 03:18:41 +0000
commit8cd20c9545a6a7ead0c367e84ff41759c1553704 (patch)
tree37a9b2222086dbf3504330df2bcb686304df16ee
parent213f05f06e8b7a0d0d14afd4efeff9344441863f (diff)
downloadrpmdrake-8cd20c9545a6a7ead0c367e84ff41759c1553704.tar
rpmdrake-8cd20c9545a6a7ead0c367e84ff41759c1553704.tar.gz
rpmdrake-8cd20c9545a6a7ead0c367e84ff41759c1553704.tar.bz2
rpmdrake-8cd20c9545a6a7ead0c367e84ff41759c1553704.tar.xz
rpmdrake-8cd20c9545a6a7ead0c367e84ff41759c1553704.zip
(run_treeview_dialog) C like usage of comma decrease readibility
-rwxr-xr-xrpmdrake7
1 files changed, 5 insertions, 2 deletions
diff --git a/rpmdrake b/rpmdrake
index 6f87a8ba..b6576b82 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -1079,8 +1079,11 @@ 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);
+ $update_button->set_sensitive($MODE eq 'remove');
+ if ($>) {
+ $action_button->set_sensitive(0);
+ $update_button->set_sensitive(0);
+ }
$find_entry->grab_focus;
$w->{window}->set_default_size($typical_width*2.7, 500) if !$::isEmbedded;