Author: duncan
Date: Thu Jun  7 16:26:08 2007
New Revision: 9665

Modified:
   branches/rel-1/freevo/ChangeLog
   branches/rel-1/freevo/src/plugins/buttonbar.py

Log:
[ 1732378 ] Button bar raises an exception when using color actions
Patch from Adam Charrett applied


Modified: branches/rel-1/freevo/ChangeLog
==============================================================================
--- branches/rel-1/freevo/ChangeLog     (original)
+++ branches/rel-1/freevo/ChangeLog     Thu Jun  7 16:26:08 2007
@@ -25,6 +25,7 @@
  * Updated xine video plug-in to process stdout and stderr message (F#1729603)
  * Updated xmltv's use of element tree for Python-2.5 (F#1731775)
  * Fixed audio channel selection for AVI files, when no id is present 
(B#1731232)
+ * Fixed button bar raising an exception when using colour actions (B#1732378)
  * Fixed CD cover image search because of changes to Amazon developer services 
(B#1731835)
  * Fixed fxd parser's setattr not working correctly in all cases (B#1728421)
  * Fixed Panorama skin thumbnail (B#1731877)

Modified: branches/rel-1/freevo/src/plugins/buttonbar.py
==============================================================================
--- branches/rel-1/freevo/src/plugins/buttonbar.py      (original)
+++ branches/rel-1/freevo/src/plugins/buttonbar.py      Thu Jun  7 16:26:08 2007
@@ -299,9 +299,9 @@
         found_color_actions = False
 
         for index in range(0, len(self.colors)):
-            if hasattr(menu, self.colors[index] + '_action'):
+            if hasattr(menu.selected, self.colors[index] + '_action'):
                 found_color_actions = True
-                result[index] = eval('menu.' + color + '_action')
+                result[index] = eval('menu.selected.' +  self.colors[index] + 
'_action')
 
         if found_color_actions:
             return result

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to