openbsd-ports/x11/gdesklets/patches/patch-main_Starter_py
2009-01-31 13:01:26 +00:00

18 lines
740 B
Plaintext

$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"),