Spread the Word | Create Account | My Account  
digsby
Location: Forum Home » Customizing » Custom System Tray Icon
 

Custom System Tray Icon

#1 2009-06-25 09:33:27
Custom System Tray Icon
d4v3.0
New member
Offline

 

I'm currently using the Windows 7 theme from here: http://digsbies.org/site/project/Win7

I would like to replace the digsby icons at the top of the contact list and in the system tray with a custom icon.  I have tried:

Code:

AppDefaults:
   TaskbarIcon: imagenamehere.png

but that doesn't seem to change anything.  I've tried putting a full path name and just the image name (with image in skins root folder). Can anyone help me here?  I have successfully copied over the digsby icons in ..\Digsby\Res\AppDefaults, but that doesnt seem like a very good way to do it.  Thanks in advance.



#2 2009-06-25 09:45:13
Re: Custom System Tray Icon
mike
Digsby Developer
Offline

 

did you restart the program after changing it? that should work, i think.



#3 2009-06-25 09:47:01
Re: Custom System Tray Icon
d4v3.0
New member
Offline

 

yes sir, certainly did.  no luck sad



#4 2009-06-25 10:18:42
Re: Custom System Tray Icon
mike
Digsby Developer
Offline

 

i think i figured out the problem.

* the AppDefaults section, when found in any skin that's not actually the default skin (the underlying backup skin), is removed.
* where that key is actually used, it's specified to use the default only. (this seems to be a mistake)

this means that the only other way to change this icon is to make changes to digsby/res/skins/default/skin.yaml. this is something i really don't like users doing, because it gets reverted on updates and things like that and people get angry about it. for that reason, i'm not sure if this is better or worse than changing the icon. probably about the same ;-p

(this is how it should be done, but as i said that won't work in this case)



#5 2009-06-25 10:53:16
Re: Custom System Tray Icon
d4v3.0
New member
Offline

 

forgive me for being obtuse, but i'm not sure i entirely understand what you're saying here.  i understand how it should be done according to the post you linked, but i'm not understanding why it doesnt work in this particular instance.  are you saying that changing the icons through the skins .yaml doesnt work in general or is the issue specific to the skin i am using?  thanks for helping, i appreciate it.



#6 2009-06-25 11:05:34
Re: Custom System Tray Icon
mike
Digsby Developer
Offline

 

the AppDefaults section of any skin is not used (it's not allowed- they're app defaults for a reason).

however, the part of the program that actually gets the icon from the skin for the tray icon ONLY uses the one specified in the AppDefaults section.

these two things combined basically mean that no skin except the default skin can specify a tray icon. so, your only choice are to change the icon (as you said you did) or edit the default skin.yaml. neither of these are good solutions, but it's a fault of a design decision and a programming error.



#7 2009-06-25 11:09:04
Re: Custom System Tray Icon
d4v3.0
New member
Offline

 

understood, thanks alot for your help



#8 2010-12-10 04:10:16
Re: Custom System Tray Icon
grahamft
Member
Offline

 

Is the same true for other icons, such as that used for generic POP Mail?



Pages: 1 

Board footer


Copyright © 2007-2009 dotSyntax, LLC.   All Rights Reserved