Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.4
NetworkManager-kde4
no_dbusmenu.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File no_dbusmenu.diff of Package NetworkManager-kde4
http://lists.kde.org/?l=kde-core-devel&m=127289860021646&w=2 https://bugs.kde.org/show_bug.cgi?id=243987 diff --git a/monolithic/main.cpp b/monolithic/main.cpp index eef81f8..d744871 100644 --- a/monolithic/main.cpp +++ b/monolithic/main.cpp @@ -17,6 +17,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ +#include <stdlib.h> #include <KAboutData> #include <KCmdLineArgs> @@ -30,6 +31,10 @@ static const char version[] = "v0.9"; int main( int argc, char** argv ) { + // Super ugly hack: DBusMenu can't represent the custom menu items + // KNetworkManager creates, so let's disable it for now + setenv("KSNI_NO_DBUSMENU", "1", 1 /* overwrite */); + KAboutData about("knetworkmanager", 0, ki18n("KNetworkManager"), version, ki18n(description), KAboutData::License_GPL, ki18n("(C) 2009 Will Stephenson"), KLocalizedString(), "http://techbase.kde.org/Projects/Network_Management"); about.addAuthor( ki18n("Will Stephenson"), ki18n("Original Author, Maintainer"), "wstephenson@kde.org" ); about.addAuthor( ki18n("Paul Marchouk"), ki18n("User Interface Polish"), "pmarchouk@gmail.com" );
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor