The vncviewer does not have an icon. Looking at the code, it's immediately clear
why: The build system installs icons to where it makes sense -
/usr/share/icons/hicolor/{size}x{size}/apps/tigervnc.png

but the vncviewer code has this line:

      sprintf(icon_path, "%s/icons/hicolor/%dx%d/tigervnc.png",

Note the discrepancy.


diff -ur tigervnc.orig/vncviewer/vncviewer.cxx tigervnc/vncviewer/vncviewer.cxx
--- tigervnc.orig/vncviewer/vncviewer.cxx       2012-09-01 17:48:34.938207580 
+0200
+++ tigervnc/vncviewer/vncviewer.cxx    2012-09-04 01:05:41.433792558 +0200
@@ -156,7 +156,7 @@
       char icon_path[PATH_MAX];
       bool exists;
 
-      sprintf(icon_path, "%s/icons/hicolor/%dx%d/tigervnc.png",
+      sprintf(icon_path, "%s/icons/hicolor/%dx%d/apps/tigervnc.png",
               DATA_DIR, icon_sizes[i], icon_sizes[i]);
 
 #ifndef WIN32



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Tigervnc-devel mailing list
Tigervnc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-devel

Reply via email to