[Python-apps-commits] r2857 - in packages/screenlets/trunk/debian/patches (3 files)
gilir-guest at users.alioth.debian.org
gilir-guest at users.alioth.debian.org
Tue May 5 09:52:21 UTC 2009
Date: Tuesday, May 5, 2009 @ 09:52:21
Author: gilir-guest
Revision: 2857
Update patches
Modified:
packages/screenlets/trunk/debian/patches/13-opacity-option.patch
packages/screenlets/trunk/debian/patches/14-configuration-save.patch
packages/screenlets/trunk/debian/patches/16-clearweather-catch-connection-error.patch
Modified: packages/screenlets/trunk/debian/patches/13-opacity-option.patch
===================================================================
--- packages/screenlets/trunk/debian/patches/13-opacity-option.patch 2009-05-04 21:57:27 UTC (rev 2856)
+++ packages/screenlets/trunk/debian/patches/13-opacity-option.patch 2009-05-05 09:52:21 UTC (rev 2857)
@@ -9,7 +9,7 @@
self.first_run = True
self.window.hide()
-+ #Make opacity available only when composite is enable
++ #Make opacity available only when composite is enabled
+ if not self.window.is_composited () :
+ self.disable_option('opacity')
+
@@ -38,7 +38,7 @@
return True
return False
+
-+ def enable_option (self, name):
++ def enable_option(self, name):
+ """Enable the inputs for a certain Option."""
+ for o in self.__options__:
+ if o.name == name:
Modified: packages/screenlets/trunk/debian/patches/14-configuration-save.patch
===================================================================
--- packages/screenlets/trunk/debian/patches/14-configuration-save.patch 2009-05-04 21:57:27 UTC (rev 2856)
+++ packages/screenlets/trunk/debian/patches/14-configuration-save.patch 2009-05-05 09:52:21 UTC (rev 2857)
@@ -43,7 +43,7 @@
+ try:
+ # Is posible to fail with encoding error?
+ for el in lst:
-+ newini += el[0] + '=' + el[1] + "\n"
++ newini += "%s=%s\n" % (el[0], el[1])
+ except:
+ isOk = False
+ print _("error while convert config to string (encoding error?), I lose your last changes :'(")
Modified: packages/screenlets/trunk/debian/patches/16-clearweather-catch-connection-error.patch
===================================================================
--- packages/screenlets/trunk/debian/patches/16-clearweather-catch-connection-error.patch 2009-05-04 21:57:27 UTC (rev 2856)
+++ packages/screenlets/trunk/debian/patches/16-clearweather-catch-connection-error.patch 2009-05-05 09:52:21 UTC (rev 2857)
@@ -56,7 +56,7 @@
dialog.add_buttons(gtk.STOCK_OK, gtk.RESPONSE_OK)
- label = gtk.Label("Could not reach weather.com. Check your internet connection and location and try again.")
-+ reasonstr = "\nReason: %s"%str(reason) if reason is not None else ""
++ reasonstr = "\nReason: %s" % reason if reason is not None else ""
+
+ label = gtk.Label("Could not reach weather.com. Check your internet connection and location and try again."+reasonstr)
dialog.vbox.add(label)
More information about the Python-apps-commits
mailing list