#2 Vanishing Tray Icons #2

open
nobody
None
5
2001-09-24
2001-09-24
Anonymous
No

Hey, let's attach the patch this time...

Looks like kbiff is supposed to prepend the text
"mini-" onto icon names when docked so that you get
big icons when not docked, and the miniature icons
when docked in the tray. The problem is that if you
manually select an icon, it tacks the "mini-" text
onto the absolute path name and so kbiff is unable to
load the icon (e.g.
"mini-/opt/kde/share/apps/kbiff/pics/").

The patch checks for a "/" in icon filenames. If one
is detected, kbiff assumes the icon is an absolute
path and doesn't prepend the "mini-". It's not
perfect: I'm pretty sure you'll have to switch icons
if you dock/undock a lot. I keep kbiff docked all
the time though, and this seems to work. Just save
the patch one directory above kbiff source and run
patch -p0 <icon.patch

Discussion