Package: pygmy
Version 0.48-3
This bug where reported from a Ubuntu bug report, but the problem is still
alive on debian unstable.
After there's the patch from the ubuntu package.
Starting pygmy in a terminal window, and right-clicking on the tray icon
from pygmy will show the following error message in the terminal:
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/pygmy.py", line 1349, in
_motion_cb
self._remove_timer()
File "/usr/lib/python2.4/site-packages/pygmy.py", line 1363, in
_remove_timer
gobject.source_remove(self.timer_tag)
TypeError: an integer is required
pygmy still works, at least I didnt notice anything peculier.
Thanks.
--
-gaspa-
-----------------------------------------------
-------- https://launchpad.net/~gaspa ---------
------ HomePage: iogaspa.altervista.org -------
-Il lunedi'dell'arrampicatore: www.lunedi.org -
diff -u pygmy-0.48/debian/changelog pygmy-0.48/debian/changelog
--- pygmy-0.48/debian/changelog
+++ pygmy-0.48/debian/changelog
@@ -1,3 +1,9 @@
+pygmy (0.48-4) hardy; urgency=low
+
+ * Right-click on tray icon gives error message
+
+ -- Andrea Gasparini <[EMAIL PROTECTED]> Mon, 19 Nov 2007 14:21:50 +0100
+
pygmy (0.48-3) unstable; urgency=low
* Corrected watch file (Closes: #449982)
only in patch2:
unchanged:
--- pygmy-0.48.orig/pygmy.py
+++ pygmy-0.48/pygmy.py
@@ -1360,8 +1360,9 @@
def _remove_timer(self):
self.hide()
- gobject.source_remove(self.timer_tag)
- self.timer_tag = None
+ if self.timer_tag != None:
+ gobject.source_remove(self.timer_tag)
+ self.timer_tag = None
# from gtktooltips.c:gtk_tooltips_paint_window
def _on__expose_event(self, window, event):