The code seems to have to prevent that happening:

"  /* Shutdown and Restart are the same dialog prompt in Unity,
     so disable the redundant 'Restart' menuitem in that mode */
  if (!g_settings_get_boolean (p->indicator_settings, 
"suppress-shutdown-menuitem"))
    if (get_prompt_status(self) == PROMPT_WITH_UNITY)
      return FALSE;"


Trying to debug a bit on IRC, "gsettings get com.canonical.indicator.session 
suppress-logout-restart-shutdown" returns false, and from the screenshots the 
unity prompt are being used ... not sure why the item is not being hidden then 
:/

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to indicator-session in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/1230381

Title:
  restart option is available from indicator on 13.10

Status in “indicator-session” package in Ubuntu:
  New

Bug description:
  on my 13.10 machine I've the following options avialble via the cog.:Log 
out... suspend Restart and shut down
  http://ubuntuone.com/1RzqQEuuyV8It33tUYfkhT

  When I click on restart from there

  two large boxes appear restart and shut down but the shut down box is always 
the one preselected. 
  http://ubuntuone.com/6XofXspMei4dIUgRjwJuHU

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: indicator-session 12.10.5+13.10.20130823-0ubuntu1
  ProcVersionSignature: Ubuntu 3.11.0-8.15-generic 3.11.1
  Uname: Linux 3.11.0-8-generic x86_64
  ApportVersion: 2.12.4-0ubuntu1
  Architecture: amd64
  Date: Wed Sep 25 17:02:41 2013
  InstallationDate: Installed on 2013-06-29 (88 days ago)
  InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130621)
  MarkForUpload: True
  SourcePackage: indicator-session
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/indicator-session/+bug/1230381/+subscriptions

-- 
Mailing list: https://launchpad.net/~dx-packages
Post to     : dx-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dx-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to