As I explained in bug 1156566, the session menu is not the only place that offers restart: Software Updater and Software & Updates settings do as well, and maybe other places I don't know about. So just removing the menu item wouldn't solve the problem. The problem is in Unity.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1250262 Title: Calling EndSessionDialog.Open(Restart) opens the dialog with a focused 'Shutdown' button To manage notifications about this bug go to: https://bugs.launchpad.net/indicator-session/+bug/1250262/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs