blam r624 - trunk/src



Author: cmartin
Date: Fri Sep  5 11:57:20 2008
New Revision: 624
URL: http://svn.gnome.org/viewvc/blam?rev=624&view=rev

Log:
Use a sensible icon for item status.

Use stock books. Green for unread old, red for unread new and
and open book for read.

Modified:
   trunk/src/ItemList.cs

Modified: trunk/src/ItemList.cs
==============================================================================
--- trunk/src/ItemList.cs	(original)
+++ trunk/src/ItemList.cs	Fri Sep  5 11:57:20 2008
@@ -287,16 +287,16 @@
         string icon = null;
 
         if(item.Unread == true){
-            icon = "gtk-file";
+            icon = "stock_book_red";
         } else {
-            icon = "gtk-find";
+            icon = "stock_book_open";
         }
 
         if(item.Old == true && item.Unread == true){
-            icon = "gtk-about";
+            icon = "stock_book_green";
         }
 
-        (cell as CellRendererPixbuf).StockId = icon;
+        (cell as CellRendererPixbuf).IconName = icon;
     }
 	
 	private void EmitItemSelected (Imendio.Blam.Item item) 



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