Re: [Cooker] typo in my_gtk.pm?

2002-02-23 Thread Pixel

garrick <[EMAIL PROTECTED]> writes:

> At line 383 of my_gtk.pm, @icon_paths is missing "/usr/share/libDrakX/pixmaps".  
>@icon_paths is set on line 367 as:
>   my @icon_paths = ($ENV{SHARE_PATH}, "$ENV{SHARE_PATH}/icons",
>   "/usr/lib/libDrakX/icons", "/usr/lib/libDrakX/pixmaps", "pixmaps");
> 
> However, "/usr/lib/libDrakX/pixmaps" doesn't exist.  It should be
> /usr/share/libDrakX/pixmaps.  Or that pixmaps directory is in the wrong place.

thanks, fixing (hey, i really love bug reports that include the fix :)




[Cooker] typo in my_gtk.pm?

2002-02-22 Thread garrick

installed as beta3, updated everything to cooker, XFdrake fails to run:

[root@polop root]# XFdrake
  ... [snip] ...
gtkcreate_png: missing png file monitor-640.png at
/usr/lib/libDrakX/my_gtk.pm line 383.
[root@polop root]# urpmf monitor-640.png
drakxtools:/usr/share/libDrakX/pixmaps/monitor-640.png
[root@polop root]# rpm -q drakxtools
drakxtools-1.1.7-78mdk
[root@polop root]# ls -al /usr/share/libDrakX/pixmaps/monitor-640.png
-rw-r--r--1 root root11629 Feb 22 07:43
/usr/share/libDrakX/pixmaps/monitor-640.png
[root@polop root]# rpm -qf /usr/lib/libDrakX/my_gtk.pm
drakxtools-1.1.7-78mdk

At line 383 of my_gtk.pm, @icon_paths is missing "/usr/share/libDrakX/pixmaps".  
@icon_paths is set on line 367 as:
  my @icon_paths = ($ENV{SHARE_PATH}, "$ENV{SHARE_PATH}/icons",
  "/usr/lib/libDrakX/icons", "/usr/lib/libDrakX/pixmaps", "pixmaps");

However, "/usr/lib/libDrakX/pixmaps" doesn't exist.  It should be
/usr/share/libDrakX/pixmaps.  Or that pixmaps directory is in the wrong place.

Hope that helps.