[Elisa-commits] Changeset 4498 by benjamin

Linda linda at fluendo.com
Thu Jan 3 14:24:54 CET 2008


Hola,

I'm Linda, the friendly SVN commit spy.

On Thu, 03 Jan 2008 13:24:52 -0000, benjamin has committed some new stuff. The
log message was:

"""
	* elisa/plugins/bad/raval_frontend/shaded_list_view.py:
	change the loading and action image on frontend change


"""

Maintainers of changed files are:



Please see https://code.fluendo.com/elisa/trac/changeset/4498 for details about this commit!
Diff of the changeset appears below:

--- trunk/ChangeLog 
+++ trunk/ChangeLog 
@@ -1,3 +1,8 @@
+2008-01-03  Benjamin Kampmann  <benjamin at fluendo.com>
+
+	* elisa/plugins/bad/raval_frontend/shaded_list_view.py:
+	change the loading and action image on frontend change
+
 2008-01-03  Lionel Martin  <lionel at fluendo.com>
 
 	* elisa/core/application.py:
--- trunk/elisa/plugins/bad/raval_frontend/shaded_list_view.py 
+++ trunk/elisa/plugins/bad/raval_frontend/shaded_list_view.py 
@@ -139,6 +139,11 @@
     def frontend_changed(self, previous_frontend, new_frontend):
         super(ShadedListView, self).frontend_changed(previous_frontend,
                                                      new_frontend)
+
+        if self.frontend:
+            self._list_selector.loading_image_path = self.frontend.theme.get_media('small_waiting_icon')
+            self._list_selector.action_done_image_path = self.frontend.theme.get_media('action_done_icon')
+        
         #FIXME find a way to remove this
         if hasattr(self, 'preview'):
             self.preview.frontend_changed(previous_frontend, new_frontend)
@@ -243,9 +248,6 @@
         list_item = ListItem(description=text)
         self.frontend.context.set_image_to_drawable(icon, list_item.thumbnail)
         
-        self._list_selector.loading_image_path = self.frontend.theme.get_media('small_waiting_icon')
-        self._list_selector.action_done_image_path = self.frontend.theme.get_media('action_done_icon')
-
         uri = model.thumbnail_source
         if uri != None:
             self._thumbnail_source_to_image(uri, list_item.thumbnail)


Feel free to slap benjamin if he did something wrong. I'm not
able to determine that.

Cheers,
Linda


More information about the Elisa-commits mailing list