Make area switcher usable when KDevelop runs on an appmenu-enabled system

Review Request #105116 - Created May 31, 2012 and submitted

Information
Aurélien Gâteau
kdevplatform
Reviewers
kdevelop
apol
When running on an appmenu-enabled system, one cannot add widgets in the menubar corner. This patch detects this (by checking QMenuBar::isNativeMenuBar()) and creates an action to hold the area switcher widget in this case. KDevelop itself needs a simple patch to integrate this action in its main toolbar (see https://git.reviewboard.kde.org/r/105117/ ).
Tested with and without appmenu running. With appmenu the switcher appears on the left of the main toolbar, without appmenu it appears on the right of the menubar, as before.

Issues

  • 1
  • 0
  • 0
  • 1
Description From Last Updated
Looks like these changes should be in the UiController Aleix Pol Gonzalez Aleix Pol Gonzalez
Aleix Pol Gonzalez
Aurélien Gâteau
Aleix Pol Gonzalez
Commit Hook
Aurélien Gâteau
Review request changed

Status: Closed (submitted)

Loading...