summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-06-18 13:47:52 +0000
committerThierry Vignaud <tv@mandriva.org>2008-06-18 13:47:52 +0000
commitc172237707d506b15e4932d31a690a5142a64995 (patch)
tree5a517d377c7fcf808f452fe4b846b99e29f2dbea /perl-install
parentee7ce8fbf40e625929f53a4e1cb103d23baf2447 (diff)
downloaddrakx-c172237707d506b15e4932d31a690a5142a64995.tar
drakx-c172237707d506b15e4932d31a690a5142a64995.tar.gz
drakx-c172237707d506b15e4932d31a690a5142a64995.tar.bz2
drakx-c172237707d506b15e4932d31a690a5142a64995.tar.xz
drakx-c172237707d506b15e4932d31a690a5142a64995.zip
(_find_imgfile) handle jpeg icons (needed for next rpmdrake)
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/NEWS1
-rw-r--r--perl-install/mygtk2.pm2
2 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index 70d131753..ce693584c 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,3 +1,4 @@
+- handle jpeg icons (needed for next rpmdrake)
- draksound:
o do not set snd-ac97-codec's "power_save=1" options on MIPS
diff --git a/perl-install/mygtk2.pm b/perl-install/mygtk2.pm
index 014725b46..cfcd1cd52 100644
--- a/perl-install/mygtk2.pm
+++ b/perl-install/mygtk2.pm
@@ -1015,7 +1015,7 @@ sub _find_imgfile {
$name;
} else {
foreach my $path (_icon_paths()) {
- foreach ('', '.png', '.xpm') {
+ foreach ('', '.png', '.xpm', '.jpg') {
my $file = "$path/$name$_";
-f $file and return $file;
}