summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-09-08 10:26:36 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-09-08 10:26:36 +0000
commit10d22b5b7bf94507ec4bf06d51195a861e4ae354 (patch)
tree2afcb3319b46dfe87dfe9a3f59c98e1bcc59b63c
parenta17b713c1728a4b4fcb076d340cbb5616caa20cb (diff)
downloaddrakx-10d22b5b7bf94507ec4bf06d51195a861e4ae354.tar
drakx-10d22b5b7bf94507ec4bf06d51195a861e4ae354.tar.gz
drakx-10d22b5b7bf94507ec4bf06d51195a861e4ae354.tar.bz2
drakx-10d22b5b7bf94507ec4bf06d51195a861e4ae354.tar.xz
drakx-10d22b5b7bf94507ec4bf06d51195a861e4ae354.zip
insensitive categories for which file is missing, thus preventing
crashing (#16935)
-rwxr-xr-xperl-install/standalone/logdrake5
1 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/standalone/logdrake b/perl-install/standalone/logdrake
index 586df98e7..b98c30d8e 100755
--- a/perl-install/standalone/logdrake
+++ b/perl-install/standalone/logdrake
@@ -141,7 +141,10 @@ gtkadd($my_win->{window},
clicked => sub {
$refcount_search++;
gtkset_sensitive($yy, $refcount_search);
- }) } sort keys %files,
+ });
+ $toggle{$_}->set_sensitive(0) if !-f $files{$_}{file};
+ $toggle{$_};
+ } sort keys %files,
)
),
0, gtkadd(gtkset_border_width(Gtk2::Frame->new(N("Calendar")),2),