Pornview seems to be unmaintained, and the latest version isn't compatible with the freedesktop.org systray standard. On my Gnome 2.10 desktop, it spawned a new little window for the tray icon instead of putting it into the notification area. I modified the relevant feature (dock.c) to use EggTrayIcon (eggtrayicon.c/eggtrayicon.h), which resolves the issue. Reproducible: Always Steps to Reproduce: 1. run pornview 2. 3. Actual Results: system tray icon appears in separate window Expected Results: system tray icon should appear in the notification area xorg-x11 6.8.2-r1 gnome 2.10 emerge info: Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.5-r0, 2.6.11-gentoo-r9 i686) ================================================================= System uname: 2.6.11-gentoo-r9 i686 AMD Athlon(TM) XP 1900+ Gentoo Base System version 1.6.12 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.8 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r9 sys-devel/libtool: 1.5.18 virtual/os-headers: 2.6.11 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O3 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildpkg distcc sfperms strict" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo ftp://gentoo.mirrors.tds.net/gentoo http://gentoo.mirrors.tds.net/gentoo ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/ ftp://gentoo.blueyonder.co.uk/mirrors/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowex X aac aalib acl acpi adns alsa apache2 apm arts artswrappersuid async audiofile avi berkdb bitmap-fonts bonobo bzlib cddb cdparanoia cdr cdrom cgi chroot codecs cpdflib crypt cscope cups curl curlwrappers dba dga directfb divx4linux dmx dvd dvdread eds emacs emacs-w3 emboss encode escreen esd etwin exif faac faad fam fastcgi fax fbcon flac flash foomaticdb fortran freetts freetype ftp gcj gd gdbm ggi gif gimp gimpprint glade glut gnome gphoto2 gpm graphviz gs gstreamer gtk gtk2 gtkhtml guile icq imagemagick imlib imlib2 inifile insecure-drivers ipv6 ithreads jack java javascript jbig jikes jp2 jpeg junit kde kerberos ladcca ldap lesstif libcaca libg++ libsamplerate libwww live lufsusermount lzo lzw lzw-tiff mad mikmod mime mmx mmx2 mng motif mozaccess mozilla moznocompose moznoirc moznomail mozsvg mp3 mpeg mpeg4 mplayer msn mysql mythtv nas ncurses network nls nptl ntlm oav offensive ogg oggvorbis openal opengl operanom2 oscar oss pam pdf pdflib perl php png pnp posix ppds python qt quicktime readline rtc samba sasl scanner sdl session sftplogging simplexml slang slp sndfile snmp sockets speex spell sse ssl stencil-buffer svg svga szip tcltk tcpd tga tidy tiff timidity tokenizer truetype truetype-fonts trusted type1-fonts unicode usb v4l v4l2 vhosts vorbis wmf wxwindows xchatdccserver xine xinerama xml xml2 xmlrpc xmms xosd xpm xprint xrandr xsl xv xvid xvmc yahoo yv12 zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Created attachment 59510 [details, diff] Patches the dockapp to use eggtrayicon
Created attachment 59511 [details] Ebuild modified to apply traypatch.diff
Commited in -r1