[beagle] Make beagle-settings use WidgetFu to load icon.



commit 5cb9026f18024715360a1db14c0bdefeea49e7bf
Author: D Bera <dbera web gmail com>
Date:   Tue May 26 22:58:19 2009 -0400

    Make beagle-settings use WidgetFu to load icon.
---
 beagle/Util/Makefile.am  |    2 +-
 beagle/Util/WidgetFu.cs  |    2 +-
 beagle/tools/Settings.cs |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/beagle/Util/Makefile.am b/beagle/Util/Makefile.am
index f0623f4..6738a3a 100644
--- a/beagle/Util/Makefile.am
+++ b/beagle/Util/Makefile.am
@@ -214,9 +214,9 @@ $(UTIL_TARGET): $(UTIL_TARGET_FILES)
 
 UI_UTIL_CSFILES =				\
 	$(srcdir)/CompatFileChooser.cs		\
-	$(srcdir)/GnomeFu.cs              	\
 	$(srcdir)/GtkUtils.cs			\
 	$(srcdir)/HigMessageDialog.cs		\
+	$(srcdir)/WidgetFu.cs			\
 	$(srcdir)/XKeybinder.cs
 
 UI_UTIL_ASSEMBLIES =				\
diff --git a/beagle/Util/WidgetFu.cs b/beagle/Util/WidgetFu.cs
index 9a2cd0a..2a74eb3 100644
--- a/beagle/Util/WidgetFu.cs
+++ b/beagle/Util/WidgetFu.cs
@@ -1,7 +1,7 @@
 using System;
 using System.Runtime.InteropServices;
 
-namespace Beagle.Search {
+namespace Beagle.Util {
 
 	public static class WidgetFu {
 		
diff --git a/beagle/tools/Settings.cs b/beagle/tools/Settings.cs
index 3bfb4ae..7bc5e1b 100644
--- a/beagle/tools/Settings.cs
+++ b/beagle/tools/Settings.cs
@@ -132,7 +132,7 @@ public class SettingsDialog
 		Glade.XML glade = new Glade.XML (null, "settings.glade", "settings_dialog", "beagle");
 		glade.Autoconnect (this);
 
-		settings_dialog.Icon = IconTheme.Default.LoadIcon ("system-search", 16, IconLookupFlags.NoSvg);
+		settings_dialog.Icon = WidgetFu.LoadThemeIcon ("system-search", 16);
 		administration_frame.Visible = (Environment.UserName == "root");
 
 		include_view = new IncludeView ();



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