From c172237707d506b15e4932d31a690a5142a64995 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 18 Jun 2008 13:47:52 +0000 Subject: (_find_imgfile) handle jpeg icons (needed for next rpmdrake) --- perl-install/NEWS | 1 + perl-install/mygtk2.pm | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'perl-install') 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; } -- cgit v1.2.1