banshee r4019 - in trunk/banshee: . src/Clients/Nereid/Nereid



Author: abock
Date: Thu May 29 00:56:09 2008
New Revision: 4019
URL: http://svn.gnome.org/viewvc/banshee?rev=4019&view=rev

Log:
2008-05-28  Aaron Bockover  <abock gnome org>

    * src/Clients/Nereid/Nereid/Client.cs: Force the gtk-menu-popup-delay
    setting to be 225ms (the GTK+ default value) to avoid a nasty bug when
    it is possibly set to 0ms by some gtkrc files (BGO #524706)



Modified:
   trunk/banshee/ChangeLog
   trunk/banshee/src/Clients/Nereid/Nereid/Client.cs

Modified: trunk/banshee/src/Clients/Nereid/Nereid/Client.cs
==============================================================================
--- trunk/banshee/src/Clients/Nereid/Nereid/Client.cs	(original)
+++ trunk/banshee/src/Clients/Nereid/Nereid/Client.cs	Thu May 29 00:56:09 2008
@@ -58,6 +58,10 @@
             if (File.Exists (user_gtkrc) && !ApplicationContext.CommandLine.Contains ("no-gtkrc")) {
                 Gtk.Rc.AddDefaultFile (user_gtkrc);
             } 
+            
+            // Ugly hack to avoid stupid themes that set this to 0, causing a huge
+            // bug when constructing the "add to playlist popup menu (BGO #524706)
+            Gtk.Rc.ParseString ("gtk-menu-popup-delay = 225");
 
             // Boot the client
             Banshee.Gui.GtkBaseClient.Entry<Client> ();



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