Package: screenlets Version: 0.1.1-1 Severity: minor Tags: patch I'm using screenlets in a XFCE environment. On restart screenlets don't keep the sticky attribute; if I right click on the screenlet and go on the "window" menu, it pretends to be sticky, but appears on just one desktop. Deselecting the attribute and then reselecting it fixes the problem until the next restart. In the shared function finish_loading in __init__.py there is already a workaround for the "keep above" and "keep below" attributes; this patch just does the same for sticky. It seems to be working for me.
- -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.24-1-686 (SMP w/2 CPU cores) Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages screenlets depends on: ii python 2.5.2-1 An interactive high-level object-o ii python-central 0.6.6 register and build utility for Pyt ii python-dbus 0.82.4-2 simple interprocess messaging syst ii python-gnome2 2.22.0-1 Python bindings for the GNOME desk ii python-gnome2-desktop 2.22.0-1 Python bindings for the GNOME desk ii python-gtk2 2.12.1-1 Python bindings for the GTK+ widge ii python-xdg 0.15-1.1 A python library to access freedes Versions of packages screenlets recommends: ii gnome-keyring 2.22.0-2 GNOME keyring services (daemon and ii iceweasel 2.0.0.13-1 lightweight web browser based on M ii python-feedparser 4.1-10 Universal Feed Parser for Python ii python-gmenu 2.22.1-1 an implementation of the freedeskt ii python-gnome2-extras 2.14.3-1+b1 Python bindings for the GNOME desk ii python-numeric 24.2-8.2 Numerical (matrix-oriented) Mathem - -- no debconf information
--- /usr/share/pyshared/screenlets/__init__.py 2008-05-07 14:54:09.000000000 +0200 +++ __init__patched.py 2008-05-11 15:53:53.000000000 +0200 @@ -1138,12 +1138,13 @@ self.window.present() - # the keep above and keep bellow must be reset after the window is shown this is absolutly necessary + # the is sticky, keep above and keep below must be reset after the window is shown this is absolutly necessary self.window.hide() self.window.move(self.x, self.y) self.window.present() self.has_started = True self.is_dragged = False + self.is_sticky = self.is_sticky self.keep_above= self.keep_above self.keep_below= self.keep_below self.skip_taskbar = self.skip_taskbar