Merge lp:~kiwinote/software-center/bug960260 into lp:software-center

Proposed by Kiwinote
Status: Merged
Merged at revision: 2904
Proposed branch: lp:~kiwinote/software-center/bug960260
Merge into: lp:software-center
Diff against target: 29 lines (+8/-3)
2 files modified
debian/changelog (+7/-0)
softwarecenter/ui/gtk3/widgets/apptreeview.py (+1/-3)
To merge this branch: bzr merge lp:~kiwinote/software-center/bug960260
Reviewer Review Type Date Requested Status
Michael Vogt Approve
Review via email: mp+98451@code.launchpad.net

Description of the change

sorry, messed up the fix for bug 959530 earlier today - this branch will restore normal behaviour

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

Thanks! That looks good.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'debian/changelog'
--- debian/changelog 2012-03-20 13:19:27 +0000
+++ debian/changelog 2012-03-20 16:39:21 +0000
@@ -1,3 +1,10 @@
1software-center (5.1.14) UNRELEASED; urgency=low
2
3 * softwarecenter/ui/gtk3/apptreeview.py:
4 - fix UnboundLocalError in expand_path() (LP: #960260)
5
6 -- Kiwinote <kiwinote@gmail.com> Tue, 20 Mar 2012 16:30:53 +0000
7
1software-center (5.1.13) precise; urgency=low8software-center (5.1.13) precise; urgency=low
29
3 [ Anthony Lenton ]10 [ Anthony Lenton ]
411
=== modified file 'softwarecenter/ui/gtk3/widgets/apptreeview.py'
--- softwarecenter/ui/gtk3/widgets/apptreeview.py 2012-03-20 10:00:06 +0000
+++ softwarecenter/ui/gtk3/widgets/apptreeview.py 2012-03-20 16:39:21 +0000
@@ -143,9 +143,7 @@
143 self.expanded_path = path143 self.expanded_path = path
144144
145 if old is not None:145 if old is not None:
146 res = self.get_visible_range()146 start, end = self.get_visible_range() or (None, None)
147 if res:
148 start, end = res
149 if (start and start.compare(old) != -1) or \147 if (start and start.compare(old) != -1) or \
150 (end and end.compare(old) != 1):148 (end and end.compare(old) != 1):
151 self._needs_collapse.append(old)149 self._needs_collapse.append(old)

Subscribers

People subscribed via source and target branches