[banshee] [GtkBaseClient] Call g_set_application_name



commit 6dae398cd754cbe6a25942504a86305839d02f16
Author: Aaron Bockover <abockover novell com>
Date:   Sun Nov 1 10:14:08 2009 -0500

    [GtkBaseClient] Call g_set_application_name
    
    Set the global application name to "Banshee" because we should.
    Causes PulseAudio to show "Banshee" instead of "Nereid" in
    the stream dialog.
    
    cf. http://pulseaudio.org/wiki/ApplicationProperties
        http://0pointer.de/blog/projects/tagging-audio.html

 .../Banshee.Gui/GtkBaseClient.cs                   |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/Core/Banshee.ThickClient/Banshee.Gui/GtkBaseClient.cs b/src/Core/Banshee.ThickClient/Banshee.Gui/GtkBaseClient.cs
index ae543f7..6953c6a 100644
--- a/src/Core/Banshee.ThickClient/Banshee.Gui/GtkBaseClient.cs
+++ b/src/Core/Banshee.ThickClient/Banshee.Gui/GtkBaseClient.cs
@@ -121,6 +121,7 @@ namespace Banshee.Gui
             ThreadAssist.InitializeMainThread ();
             
             Gdk.Global.ProgramClass = Application.InternalName;
+            GLib.Global.ApplicationName = "Banshee";
 
             if (ApplicationContext.Debugging) {
                 GLib.Log.SetLogHandler ("Gtk", GLib.LogLevelFlags.Critical, GLib.Log.PrintTraceLogFunction);



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