[banshee] GlobalActions: Hide the Version Information menu unless debugging



commit b8556a38ada716095bfcbffbdca1d1fac9a9ffa2
Author: Gabriel Burt <gabriel burt gmail com>
Date:   Tue Mar 29 17:13:26 2011 -0500

    GlobalActions: Hide the Version Information menu unless debugging

 .../Banshee.Gui/GlobalActions.cs                   |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/Core/Banshee.ThickClient/Banshee.Gui/GlobalActions.cs b/src/Core/Banshee.ThickClient/Banshee.Gui/GlobalActions.cs
index 90d05f7..54add5b 100644
--- a/src/Core/Banshee.ThickClient/Banshee.Gui/GlobalActions.cs
+++ b/src/Core/Banshee.ThickClient/Banshee.Gui/GlobalActions.cs
@@ -116,6 +116,8 @@ namespace Banshee.Gui
                 new ActionEntry("AboutAction", "gtk-about", OnAbout)
             });
 
+            this["VersionInformationAction"].Visible = ApplicationContext.Debugging;
+
             GLib.Timeout.Add (500, delegate {
                 if (ApplicationContext.CommandLine.Contains ("show-import-media")) {
                     OnImport (null, null);



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