[Python-apps-commits] r150 - in /packages/screenlets/trunk/debian: changelog patches/08-Fix-error-type-pager-windowslist.patch patches/09-Add-python-to-autostart-files.patch

gilir-guest at users.alioth.debian.org gilir-guest at users.alioth.debian.org
Sun Oct 21 17:15:38 UTC 2007


Author: gilir-guest
Date: Sun Oct 21 17:15:38 2007
New Revision: 150

URL: http://svn.debian.org/wsvn/python-apps/?sc=1&rev=150
Log:
* Add 09 patch to make sure screenlets in autstart really start on login
* Really add the 08 patch

Added:
    packages/screenlets/trunk/debian/patches/08-Fix-error-type-pager-windowslist.patch
    packages/screenlets/trunk/debian/patches/09-Add-python-to-autostart-files.patch
Modified:
    packages/screenlets/trunk/debian/changelog

Modified: packages/screenlets/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/python-apps/packages/screenlets/trunk/debian/changelog?rev=150&op=diff
==============================================================================
--- packages/screenlets/trunk/debian/changelog (original)
+++ packages/screenlets/trunk/debian/changelog Sun Oct 21 17:15:38 2007
@@ -14,6 +14,8 @@
   to the screenlets-daemon.desktop
   * debian/patches/08-Fix-error-type-pager-windowslist.patch : Fix TypeError in 
   active_window_changed() when Pager and Windowlist screenlets are running.
+  * debian/patches/09-Add-python-to-autostart-files.patch : add "python" to autostart
+  files to make sure they start at login.
 
   [ Kumar Appaiah ]
   * debian/patches/07-Remove-encoding.patch : Remove `Encoding' from all .desktop files.

Added: packages/screenlets/trunk/debian/patches/08-Fix-error-type-pager-windowslist.patch
URL: http://svn.debian.org/wsvn/python-apps/packages/screenlets/trunk/debian/patches/08-Fix-error-type-pager-windowslist.patch?rev=150&op=file
==============================================================================
--- packages/screenlets/trunk/debian/patches/08-Fix-error-type-pager-windowslist.patch (added)
+++ packages/screenlets/trunk/debian/patches/08-Fix-error-type-pager-windowslist.patch Sun Oct 21 17:15:38 2007
@@ -1,0 +1,23 @@
+--- screenlets-0.0.10/src/share/screenlets/Windowlist/WindowlistScreenlet.py	2007-07-15 22:43:20.000000000 +0200
++++ screenlets-0.0.10/src/share/screenlets/Windowlist/WindowlistScreenlet.py	2007-10-21 15:28:47.000000000 +0200
+@@ -177,7 +177,7 @@
+ 	# ---------------------------------------------------------------------
+ 	
+ 	# called when the active window has changed
+-	def active_window_changed (self, screen=None):
++	def active_window_changed (self, screen=None, data=None):
+ 		if screen==None:
+ 			screen = wnck.screen_get_default()
+ 		active_win = screen.get_active_window()
+
+--- screenlets-0.0.10/src/share/screenlets/Pager/PagerScreenlet.py	2007-07-20 16:13:39.000000000 +0200
++++ screenlets-0.0.10/src/share/screenlets/Pager/PagerScreenlet.py	2007-10-21 15:30:32.000000000 +0200
+@@ -152,7 +152,7 @@
+ 	# ---------------------------------------------------------------------
+ 	
+ 	# called when the active window has changed
+-	def active_window_changed (self, screen=None):
++	def active_window_changed (self, screen=None, data=None):
+ 		if screen==None:
+ 			screen = wnck.screen_get_default()
+ 		active_win = screen.get_active_window()

Added: packages/screenlets/trunk/debian/patches/09-Add-python-to-autostart-files.patch
URL: http://svn.debian.org/wsvn/python-apps/packages/screenlets/trunk/debian/patches/09-Add-python-to-autostart-files.patch?rev=150&op=file
==============================================================================
--- packages/screenlets/trunk/debian/patches/09-Add-python-to-autostart-files.patch (added)
+++ packages/screenlets/trunk/debian/patches/09-Add-python-to-autostart-files.patch Sun Oct 21 17:15:38 2007
@@ -1,0 +1,11 @@
+--- screenlets-0.0.10/src/share/screenlets-manager/screenlets-manager.py	2007-08-19 23:14:14.000000000 +0200
++++ screenlets-0.0.10/src/share/screenlets-manager/screenlets-manager.py	2007-10-21 15:00:42.000000000 +0200
+@@ -187,7 +187,7 @@
+ 				code.append('Name=%sScreenlet' % name)
+ 				code.append('Encoding=UTF-8')
+ 				code.append('Version=1.0')
+-				code.append('Exec=%s/%sScreenlet.py > /dev/null' % (path, name))
++				code.append('Exec= python %s/%sScreenlet.py > /dev/null' % (path, name))
+ 				code.append('X-GNOME-Autostart-enabled=true')
+ 				#print code
+ 				f = open(starter, 'w')




More information about the Python-apps-commits mailing list