X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/93c609c7373cc29da60a05926c6ba3a19e1cabb5..0d53638f7147c18153f63fdfc096b17be6e22a27:/src/gtk/app.cpp diff --git a/src/gtk/app.cpp b/src/gtk/app.cpp index 7e07406519..2bd616a4ba 100644 --- a/src/gtk/app.cpp +++ b/src/gtk/app.cpp @@ -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;