[f-spot] Show application icons in Open With menu even with Gnome 2.28+
- From: Ruben Vermeersch <rubenv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [f-spot] Show application icons in Open With menu even with Gnome 2.28+
- Date: Thu, 24 Jun 2010 18:38:28 +0000 (UTC)
commit fa145ec3c0ee7b5bd2bbfcaae623a49a6bf792c4
Author: Anton Keks <anton azib net>
Date: Sun Jun 13 20:54:41 2010 +0300
Show application icons in Open With menu even with Gnome 2.28+
src/Widgets/OpenWithMenu.cs | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/Widgets/OpenWithMenu.cs b/src/Widgets/OpenWithMenu.cs
index ad31871..bb52763 100644
--- a/src/Widgets/OpenWithMenu.cs
+++ b/src/Widgets/OpenWithMenu.cs
@@ -19,6 +19,7 @@ using System.Collections.Generic;
using Gtk;
using Gdk;
using GLib;
+using GtkBeans;
using Mono.Unix;
@@ -117,6 +118,9 @@ namespace FSpot.Widgets {
return;
Image = GtkBeans.Image.NewFromIcon (app.Icon, IconSize.Menu);
+#if GTK_2_16
+ this.SetAlwaysShowImage (true);
+#endif
}
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]