Merge lp:~yofel/ubuntu/precise/software-properties/944876 into lp:ubuntu/precise/software-properties

Proposed by Philip Muškovac on 2012-04-25
Status: Merged
Merge reported by: Micah Gersten
Merged at revision: not available
Proposed branch: lp:~yofel/ubuntu/precise/software-properties/944876
Merge into: lp:ubuntu/precise/software-properties
Diff against target: 40 lines (+15/-0)
2 files modified
debian/changelog (+7/-0)
softwareproperties/kde/SoftwarePropertiesKDE.py (+8/-0)
To merge this branch: bzr merge lp:~yofel/ubuntu/precise/software-properties/944876
Reviewer Review Type Date Requested Status
Ubuntu branches 2012-04-25 Pending
Review via email: mp+103549@code.launchpad.net

Description of the Change

Precise fix for bug 944876

To post a comment you must log in.
Micah Gersten (micahg) wrote :

This was already uplaoded to precise-proposed

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 2012-03-13 19:12:54 +0000
3+++ debian/changelog 2012-04-25 19:26:45 +0000
4@@ -1,3 +1,10 @@
5+software-properties (0.82.7.1) precise-proposed; urgency=low
6+
7+ * manually shift the policy index to work around wrong upgrade policy being
8+ set. (LP: #944876)
9+
10+ -- Philip Muškovac <yofel@kubuntu.org> Wed, 25 Apr 2012 21:11:57 +0200
11+
12 software-properties (0.82.7) precise; urgency=low
13
14 * software-properties-dbus: Use GLib instead of the deprecated gobject.
15
16=== modified file 'softwareproperties/kde/SoftwarePropertiesKDE.py'
17--- softwareproperties/kde/SoftwarePropertiesKDE.py 2011-11-21 16:32:49 +0000
18+++ softwareproperties/kde/SoftwarePropertiesKDE.py 2012-04-25 19:26:45 +0000
19@@ -149,6 +149,10 @@
20 def init_release_upgrades(self):
21 " setup the widgets that allow configuring the release upgrades "
22 i = self.get_release_upgrades_policy()
23+
24+ # FIXME: hack for LP: #944876
25+ i = (i + 1) % 3
26+
27 self.userinterface.combobox_release_upgrades.setCurrentIndex(i)
28 kapp.connect(self.userinterface.combobox_release_upgrades, SIGNAL("currentIndexChanged(int)"), self.on_combobox_release_upgrades_changed)
29
30@@ -395,6 +399,10 @@
31 def on_combobox_release_upgrades_changed(self, combobox):
32 """ set the release upgrades policy """
33 i = self.userinterface.combobox_release_upgrades.currentIndex()
34+
35+ # FIXME: hack for LP: #944876
36+ i = (i - 1) % 3
37+
38 self.set_release_upgrades_policy(i)
39
40 def on_combobox_server_changed(self, combobox):

Subscribers

People subscribed via source and target branches