summaryrefslogtreecommitdiffstats
path: root/perl-install/my_gtk.pm
diff options
context:
space:
mode:
authordamien <damien@mandriva.com>2001-09-13 20:58:39 +0000
committerdamien <damien@mandriva.com>2001-09-13 20:58:39 +0000
commit81220a1b422b45732a14f4d545b197869a803928 (patch)
treed767bb8bcf0d268b3e06a94593ed113d1d9c2cec /perl-install/my_gtk.pm
parent12bee50e28f9d6523c62f90b537419c48aba1b74 (diff)
downloaddrakx-backup-do-not-use-81220a1b422b45732a14f4d545b197869a803928.tar
drakx-backup-do-not-use-81220a1b422b45732a14f4d545b197869a803928.tar.gz
drakx-backup-do-not-use-81220a1b422b45732a14f4d545b197869a803928.tar.bz2
drakx-backup-do-not-use-81220a1b422b45732a14f4d545b197869a803928.tar.xz
drakx-backup-do-not-use-81220a1b422b45732a14f4d545b197869a803928.zip
addde /usr/share/icons in path for pixmaps search
Diffstat (limited to 'perl-install/my_gtk.pm')
-rw-r--r--perl-install/my_gtk.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/my_gtk.pm b/perl-install/my_gtk.pm
index 9b3b0ea1a..2f5137cff 100644
--- a/perl-install/my_gtk.pm
+++ b/perl-install/my_gtk.pm
@@ -349,7 +349,7 @@ sub gtkcreate_xpm {
sub gtkcreate_png {
my ($f) = @_;
$f =~ m|.png$| or $f="$f.png";
- if ( $f !~ /\//) { -e "$_/$f" and $f="$_/$f", last foreach $ENV{SHARE_PATH}, "$ENV{SHARE_PATH}/libDrakX/pixmaps", "pixmaps" }
+ if ( $f !~ /\//) { -e "$_/$f" and $f="$_/$f", last foreach $ENV{SHARE_PATH}, "$ENV{SHARE_PATH}/icons", "$ENV{SHARE_PATH}/libDrakX/pixmaps", "pixmaps" }
my $im = Gtk::Gdk::ImlibImage->load_image($f) or die "gtkcreate_png: missing png file $f";
$im->render($im->rgb_width, $im->rgb_height);
($im->move_image(), $im->move_mask);