Example of non-working code: class QercusApp(QtGui.QMainWindow):
self.functionMenu = QtGui.QMenu(self.tr("F&unctions"), self) self.functionMenu.addAction(self.overviewAct) self.menuBar().addMenu(self.functionMenu) ## This line has no effect on Unity (but is ok on Kubuntu). self.functionMenu.setEnabled(False) I will soon release program Qercus 0.23b2 - which will delete rather than disable unwanted entries in the menu bar. This looks neater anyway. So fixing this bug is not a priority for me. Andrew. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/876947 Title: setEnabled(False) does not work on menu actions To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/unity/+bug/876947/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs