roper2121 / tunnelblick

Automatically exported from code.google.com/p/tunnelblick
0 stars 0 forks source link

Custom icon set detected but not loaded from /Library/Application Support/Tunnelblick/Shared/IconSets #227

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. create custom icon set in /Library/Application 
Support/Tunnelblick/Shared/IconSets

cd /Library/Application\ Support/Tunnelblick/Shared
mkdir IconSets

2. for testing purposes create a copy of a standard set with a different name.

rsync -a 
/Applications/Tunnelblick.app/Contents/Resources/IconSets/TunnelBlick-black-whit
e.TBMenuIcons/ IconSets/simple-black-white.TBMenuIcons/

ls -l IconSets/simple-black-white.TBMenuIcons
total 24K
-rw-r--r-- 1 root wheel 3.2K Jan  8 17:11 0.png
-rw-r--r-- 1 root wheel 3.3K Jan  8 17:11 1.png
-rw-r--r-- 1 root wheel 3.3K Jan  8 17:11 2.png
-rw-r--r-- 1 root wheel 3.3K Jan  8 17:11 3.png
-rw-r--r-- 1 root wheel  565 Jan  8 17:11 closed.png
-rw-r--r-- 1 root wheel  587 Jan  8 17:11 open.png

3. (re)start Tunnelblick.app and open VPN Details -> Appearance, then choose 
the newly created icon set "simple-black-white" from the drop down menu (see 
screen shot).

4. observe syslog in console.

What is the expected output?

Tunnelblick should load the specified icon set.

What do you see instead?

The selected icon set is not loaded. Instead a standard set is loaded and the 
following lines are logged:
Icon set 'simple-black-white.TBMenuIcons' not found
Using icon set TunnelBlick.TBMenuIcons

What version of Tunnelblick are you using? On what version of OS X?

Build 2891.3099 and 3114.3185 on 10.6.8.

Original issue reported on code.google.com by rec...@yahoo.com on 25 Jan 2013 at 7:23

Attachments:

GoogleCodeExporter commented 9 years ago
The use of icon sets may not be documented properly. A change was made when the 
status window feature was added. If you add an icon set named xxx.TBMenuIcons, 
you must also add an icon set named large-xxx.TBMenuIcons. That set should 
contain icons that are exactly three times larger (54 pixels wide by 48 pixels 
high) than the standard icons, which are 18 pixels wide by 16 pixels high.

If the large-xxx.TBMenuIcons set

These "large" icons are used in the status window. 

Original comment by jkbull...@gmail.com on 25 Jan 2013 at 8:07

GoogleCodeExporter commented 9 years ago
I have fixed the Icon Animation page [1] to reflect the need for the "large-" 
folder.

[1] http://code.google.com/p/tunnelblick/wiki/cIconAnimation

Original comment by jkbull...@gmail.com on 25 Jan 2013 at 8:19

GoogleCodeExporter commented 9 years ago
Thanks for updating the documentation. However, the error message is 
misleading. It should read: "Icon set 'large-simple-black-white.TBMenuIcons' 
not found". Then I probably would have figured out by myself that the 
documentation is incomplete :) Anyway, thanks for pointing out.

Original comment by rec...@yahoo.com on 25 Jan 2013 at 8:44