Merge lp:~seb128/software-properties/dont-use-deprecated-reboot-commands into lp:software-properties

Proposed by Sebastien Bacher
Status: Merged
Merged at revision: 884
Proposed branch: lp:~seb128/software-properties/dont-use-deprecated-reboot-commands
Merge into: lp:software-properties
Diff against target: 28 lines (+6/-1)
2 files modified
debian/changelog (+5/-0)
softwareproperties/gtk/SoftwarePropertiesGtk.py (+1/-1)
To merge this branch: bzr merge lp:~seb128/software-properties/dont-use-deprecated-reboot-commands
Reviewer Review Type Date Requested Status
Ubuntu Core Development Team Pending
Review via email: mp+191720@code.launchpad.net

Commit message

Don't use a deprecated binary to reboot

Description of the change

Don't use a deprecated binary to reboot

To post a comment you must log in.
Revision history for this message
Michael Vogt (mvo) wrote :

On Thu, Oct 17, 2013 at 09:13:32PM -0000, Sebastien Bacher wrote:
> Sebastien Bacher has proposed merging lp:~seb128/software-properties/dont-use-deprecated-reboot-commands into lp:software-properties.
>
> Commit message:
> Don't use a deprecated binary to reboot
>
> Requested reviews:
> Ubuntu Core Development Team (ubuntu-core-dev)
> Related bugs:
> Bug #1241210 in software-properties (Ubuntu): "shouldn't use deprecated gtk-logout-helper"
> https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1241210
>
> For more details, see:
> https://code.launchpad.net/~seb128/software-properties/dont-use-deprecated-reboot-commands/+merge/191720
>
> Don't use a deprecated binary to reboot

Looks good, +1

Cheers,
 Michael

Revision history for this message
Sebastien Bacher (seb128) wrote :

repushed with a changelog entry and merging to trunk, thanks for the review!

884. By Sebastien Bacher

softwareproperties/gtk/SoftwarePropertiesGtk.py: don't use the
gtk-logout-helper command, it has been deprecated and dropped from the
indicator-session binary, use gnome-session instead (lp: #1241210)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2013-10-16 19:54:01 +0000
3+++ debian/changelog 2013-10-21 15:14:24 +0000
4@@ -12,6 +12,11 @@
5 * debian/manpages/add-apt-repository.1: Documented options -m and -s of
6 add-apt-repository (LP: #1229092)
7
8+ [ Sebastien Bacher ]
9+ * softwareproperties/gtk/SoftwarePropertiesGtk.py: don't use the
10+ gtk-logout-helper command, it has been deprecated and dropped from the
11+ indicator-session binary, use gnome-session instead (lp: #1241210)
12+
13 -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 16 Oct 2013 16:13:19 +0200
14
15 software-properties (0.92.27) saucy; urgency=low
16
17=== modified file 'softwareproperties/gtk/SoftwarePropertiesGtk.py'
18--- softwareproperties/gtk/SoftwarePropertiesGtk.py 2013-10-10 21:59:05 +0000
19+++ softwareproperties/gtk/SoftwarePropertiesGtk.py 2013-10-21 15:14:24 +0000
20@@ -1089,7 +1089,7 @@
21 self.clear_changes()
22
23 def on_driver_restart_clicked(self, button_restart):
24- subprocess.call(['/usr/lib/indicator-session/gtk-logout-helper', '--restart'])
25+ subprocess.call(['gnome-session-quit', '--reboot'])
26
27 def clear_changes(self):
28 self.orig_selection = {}

Subscribers

People subscribed via source and target branches

to status/vote changes: