bigboard r7330 - in trunk/bigboard/stocks: people search



Author: otaylor
Date: Wed May  7 18:57:29 2008
New Revision: 7330
URL: http://svn.gnome.org/viewvc/bigboard?rev=7330&view=rev

Log:
- Use size 48 for the icons in the search results
  (http://bugzilla.mugshot.org/show_bug.cgi?id=1344)
- Provide the icon url for people search results


Modified:
   trunk/bigboard/stocks/people/PeopleStock.py
   trunk/bigboard/stocks/search/SearchStock.py

Modified: trunk/bigboard/stocks/people/PeopleStock.py
==============================================================================
--- trunk/bigboard/stocks/people/PeopleStock.py	(original)
+++ trunk/bigboard/stocks/people/PeopleStock.py	Wed May  7 18:57:29 2008
@@ -200,6 +200,9 @@
         """Returns an icon for the result"""
         return None
 
+    def get_icon_url(self):
+        return self.__person.icon_url
+
     def _on_highlighted(self):
         """Action when user has highlighted the result"""
         pass

Modified: trunk/bigboard/stocks/search/SearchStock.py
==============================================================================
--- trunk/bigboard/stocks/search/SearchStock.py	(original)
+++ trunk/bigboard/stocks/search/SearchStock.py	Wed May  7 18:57:29 2008
@@ -137,7 +137,7 @@
         
         self.__tm = ThemeManager.getInstance()
         
-        self.__icon_size = 24
+        self.__icon_size = 32
         self.__view.insert_column_with_data_func(-1, '',
                                                  ThemedPixbufRenderer(),
                                                  self.__render_icon)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]