On 21 Sep 2002 16:12:00 -0500, FVWM CVS wrote: > > Log message: > * ImagePath now supports directories in form "/some/directory;.png" > _ (where semicolon delimits a file extension that all files in > _ /some/directory have. This file extension replace the original > _ image extension (if any) or it is added if an image has no one.
This is useful for users that converted KDE and GNOME images to .xpm in the past, but now may use the original .png images without changing their xpm based configuration, except for one ImagePath line. This is also useful for wm-icons. In fact this is the only way the next wm-icons version (that includes some icon sets in .xpm and some in .png) may work. Here are examples. ImagePath $HOME/.wm-icons:$HOME/.wm-icons;.png Style XTerm Icon norm/terminal.xpm, MiniIcon mini/terminal.xpm The following files are searched with this config: $HOME/.wm-icons/norm/terminal.xpm $HOME/.wm-icons/norm/terminal.png $HOME/.wm-icons/mini/terminal.xpm $HOME/.wm-icons/mini/terminal.png It is now even possible to supress the file extension at all if all directories in ImagePath define their extensions: ImagePath /some/dir;.png:/some/dir;.xbm:/another/dir;.xpm AddMenu SomeMenu "%calculator%Calculator" Exec xcalc The following files are searched: /some/dir/calculator.png /some/dir/calculator.xbm /another/dir/calculator.xpm There is still a logic to search all images twice, once without ".gz" extension and once with it. I think it is pretty redundant now. Because this may be done by "ImagePath /my/gzipped/pixmaps;.xpm.gz". Does anyone think similarly about removing this ".gz" logic? Regards, Mikhael. -- Visit the official FVWM web page at <URL:http://www.fvwm.org/>. To unsubscribe from the list, send "unsubscribe fvwm-workers" in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]