- make the trayer icon work in gnome-panel

"great!" ajacoutot@
This commit is contained in:
jasper 2009-01-31 13:01:26 +00:00
parent 34fbe976bc
commit 80bb50e63c
2 changed files with 19 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.7 2008/12/21 10:36:30 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.8 2009/01/31 13:01:26 jasper Exp $
SHARED_ONLY= Yes
@ -6,6 +6,7 @@ COMMENT= mini programs for your desktop
V= 0.36.1
DISTNAME= gdesklets-${V}
PKGNAME= ${DISTNAME}p0
CATEGORIES= x11
HOMEPAGE= http://www.gdesklets.de/

View File

@ -0,0 +1,17 @@
$OpenBSD: patch-main_Starter_py,v 1.1 2009/01/31 13:01:26 jasper Exp $
Make the trayicon work in gnome-panel.
--- main/Starter.py.orig Sat Jan 31 13:51:31 2009
+++ main/Starter.py Sat Jan 31 13:52:07 2009
@@ -98,8 +98,8 @@ class Starter:
# setup a nice systray icon
if (settings.show_tray_icon):
from main.TrayIcon import TrayIcon
- trayicon = TrayIcon()
- trayicon.set_menu([(None, _("_Manage desklets"),
+ self.__trayicon = TrayIcon()
+ self.__trayicon.set_menu([(None, _("_Manage desklets"),
self.__handle_manage),
(),
(gtk.STOCK_PROPERTIES, _("_Configuration"),