zaheer - in flumotion/trunk: . flumotion/admin/gtk

flumotion-commit at lists.fluendo.com flumotion-commit at lists.fluendo.com
Mon Jul 2 16:34:32 CEST 2007


Author: zaheer
Date: Mon Jul  2 16:34:29 2007
New Revision: 5281

Modified:
   flumotion/trunk/ChangeLog
   flumotion/trunk/flumotion/admin/gtk/componentview.py
Log:
	* flumotion/admin/gtk/componentview.py
	  (ComponentView.object_active_to_inactive):
	Keep compatibility with managers running older code.



Modified: flumotion/trunk/ChangeLog
==============================================================================
--- flumotion/trunk/ChangeLog	(original)
+++ flumotion/trunk/ChangeLog	Mon Jul  2 16:34:29 2007
@@ -1,5 +1,11 @@
 2007-07-02  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
 
+	* flumotion/admin/gtk/componentview.py
+	  (ComponentView.object_active_to_inactive):
+	Keep compatibility with managers running older code.
+
+2007-07-02  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
+
 	* flumotion/component/combiners/switch/patternswitch.py
 	  (PatternEventSwitcher, PatternEventSwitcher.do_check,
 	  PatternEventSwitcher.checkConfig,

Modified: flumotion/trunk/flumotion/admin/gtk/componentview.py
==============================================================================
--- flumotion/trunk/flumotion/admin/gtk/componentview.py	(original)
+++ flumotion/trunk/flumotion/admin/gtk/componentview.py	Mon Jul  2 16:34:29 2007
@@ -154,7 +154,9 @@
             # widget maybe a gtk.Label or a NodeBook
             if hasattr(self.widget, 'admingtk'):
                 if self.widget.admingtk:
-                    self.widget.admingtk.cleanup()
+                    # needed for compatibility with managers with old code
+                    if hasattr(self.widget.admingtk, 'cleanup'):
+                        self.widget.admingtk.cleanup()
                     del self.widget.admingtk
             self.widget = None
         


More information about the flumotion-commit mailing list