[f-spot] Correct extension method usage.



commit e9b5e1b51cfe04b3e50a8ebc2c9995926c2a5557
Author: Ruben Vermeersch <ruben savanne be>
Date:   Fri May 21 00:20:17 2010 +0200

    Correct extension method usage.

 src/Widgets/TagMenu.cs |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/Widgets/TagMenu.cs b/src/Widgets/TagMenu.cs
index 82d4975..87d5785 100644
--- a/src/Widgets/TagMenu.cs
+++ b/src/Widgets/TagMenu.cs
@@ -1,4 +1,7 @@
 using Gtk;
+#if GTK_2_16
+using GtkBeans;
+#endif
 using System;
 using FSpot;
 using FSpot.Utils;
@@ -28,7 +31,7 @@ public class TagMenu : Menu {
 				this.Image = new Gtk.Image (t.SizedIcon);
 #if GTK_2_16
 				// override Gnome 2.28+ default setting not to show menuitem icons
-				GtkBeans.ImageMenuItemExtensions.SetAlwaysShowImage (this, true);
+				this.SetAlwaysShowImage (true);
 #endif
 			}
 		}



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