I’m working on kicker & kdesktop, to run a program from the KMenu as other user in an easy & friendly way.In order to run a program as another user you just have to click with the right button of your mouse on each application item of the Menu. After clicking “run as other user”, from the service menu, it calls popupExecuteCommand(QString command,bool runAsOther). In this way, the kicker calls popupexecutecommand(”command”,true), and the kdesktop will show the dialog “minicli” with the voice “Run as other User” checked and visible.That’s all! =)Note: I’ve added a new DCop call “popupExecuteCommand(QString command,bool runAsOther)”to the kdesktop!
The patch contains also a Bug Fix:
Kicker 3.5.3 (kubuntu)
popupMenu_ pointer is deleted only when the the parent panel is deleted or when a panel button
1)when the popupMenu_ is shown, if you click on the screen around the kmenu, the hightlighted item on a submenu is executed!
2)When the popupMenu_ is shown, if you change the hightlighted item, the popupMenu_ is not destroyed!
3)Every Menu can show more popupMenus at the same time…