[Pkg-bazaar-commits] ./bzr-gtk/unstable r109: Fix #70134: Unable to run Olive after maximizing window.

Szilveszter Farkas (Phanatic) Szilveszter.Farkas at gmail.com
Fri Apr 10 07:49:40 UTC 2009


------------------------------------------------------------
revno: 109
committer: Szilveszter Farkas (Phanatic) <Szilveszter.Farkas at gmail.com>
branch nick: bzr-gtk
timestamp: Sat 2006-11-04 00:27:31 +0100
message:
  Fix #70134: Unable to run Olive after maximizing window.
modified:
  olive/__init__.py
-------------- next part --------------
=== modified file 'olive/__init__.py'
--- a/olive/__init__.py	2006-11-02 23:01:58 +0000
+++ b/olive/__init__.py	2006-11-03 23:27:31 +0000
@@ -912,9 +912,9 @@
 
     def set_preference(self, option, value):
         """ Set the value of the given option. """
-        if value == True:
+        if value is True:
             value = 'yes'
-        elif value == False:
+        elif value is False:
             value = 'no'
         
         if self.config.has_section('preferences'):



More information about the Pkg-bazaar-commits mailing list