blam r626 - trunk/src
- From: cmartin svn gnome org
- To: svn-commits-list gnome org
- Subject: blam r626 - trunk/src
- Date: Sat, 6 Sep 2008 10:34:14 +0000 (UTC)
Author: cmartin
Date: Sat Sep 6 10:34:14 2008
New Revision: 626
URL: http://svn.gnome.org/viewvc/blam?rev=626&view=rev
Log:
Only update the icon name when needed.
Modified:
trunk/src/ItemList.cs
Modified: trunk/src/ItemList.cs
==============================================================================
--- trunk/src/ItemList.cs (original)
+++ trunk/src/ItemList.cs Sat Sep 6 10:34:14 2008
@@ -296,7 +296,9 @@
icon = "stock_book_green";
}
- (cell as CellRendererPixbuf).IconName = icon;
+ if((cell as CellRendererPixbuf).IconName != 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]