]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/app.cpp
Fix wxHtmlHelpData::SetTempDir() to behave correctly without trailing slash.
[wxWidgets.git] / src / gtk / app.cpp
index 7e07406519552f19f992052e8f7f43e222d6563e..2bd616a4ba5f4cf5783d18eccbda3aabd16f89ef 100644 (file)
@@ -2,7 +2,6 @@
 // Name:        src/gtk/app.cpp
 // Purpose:
 // Author:      Robert Roebling
-// Id:          $Id$
 // Copyright:   (c) 1998 Robert Roebling, Julian Smart
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
@@ -542,7 +541,7 @@ bool wxApp::GTKIsUsingGlobalMenu()
         // XDG_CURRENT_DESKTOP env var being set to "Unity".
         wxString proxy;
         s_isUsingGlobalMenu = wxGetEnv("UBUNTU_MENUPROXY", &proxy) &&
-                                !proxy.empty();
+                                !proxy.empty() && proxy != "0";
     }
 
     return s_isUsingGlobalMenu == 1;