Merge lp:~3v1n0/indicator-session/shell-mode into lp:indicator-session/13.04
| Status: | Merged | ||||
|---|---|---|---|---|---|
| Approved by: | Charles Kerr | ||||
| Approved revision: | 391 | ||||
| Merged at revision: | 386 | ||||
| Proposed branch: | lp:~3v1n0/indicator-session/shell-mode | ||||
| Merge into: | lp:indicator-session/13.04 | ||||
| Diff against target: |
239 lines (+149/-4) 1 file modified
src/session-menu-mgr.c (+149/-4) |
||||
| To merge this branch: | bzr merge lp:~3v1n0/indicator-session/shell-mode | ||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Charles Kerr (community) | Approve | ||
| PS Jenkins bot (community) | continuous-integration | Approve | |
|
Review via email:
|
|||
Commit message
SessionMenuMgr: use unity shutdown dialogs if they're available, hiding Reboot action
Description of the change
To impelment the shutdown dialogs in Unity we're implementing the org.gnome.Shell's org.gnome.
In that case, as the spec says, the indicator-session should not show the "Reboot" actions since both it and the "Shut Down" one are now pointing to the same screen.
So, when the org.gnome.Shell name appears now we hide the unneeded Reboot menu action and we call the GnomeSessionManager methods instead of opening the legacy dialog.
JohnLea has approved this change.
PASSED: Continuous integration, rev:390 jenkins. qa.ubuntu. com/job/ indicator- session- ci/54/ jenkins. qa.ubuntu. com/job/ indicator- session- ci/./build= pbuilder, distribution= coverity- raring, flavor= amd64/54/ console jenkins. qa.ubuntu. com/job/ indicator- session- ci/./build= pbuilder, distribution= raring, flavor= i386/54/ console jenkins. qa.ubuntu. com/job/ indicator- session- ci/./build= pbuilder, distribution= coverity- raring, flavor= amd64/54/ /artifact/ results/ coverity/ NO_COVERITY_ DEFECTS. txt jenkins. qa.ubuntu. com/job/ indicator- session- ci/./build= pbuilder, distribution= raring, flavor= i386/54/ /artifact/ results/ coverity/ NO_COVERITY_ DEFECTS. txt
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
Coverity artifacts:
http://
http://
Click here to trigger a rebuild: jenkins. qa.ubuntu. com/job/ indicator- session- ci/54// rebuild/?
http://