Merge lp:~mvo/software-center/fix-lp994632 into lp:software-center

Proposed by Michael Vogt
Status: Superseded
Proposed branch: lp:~mvo/software-center/fix-lp994632
Merge into: lp:software-center
Diff against target: 81 lines (+27/-9)
4 files modified
debian/changelog (+10/-4)
debian/control (+1/-1)
softwarecenter/ui/gtk3/models/appstore2.py (+8/-0)
softwarecenter/ui/gtk3/views/appdetailsview.py (+8/-4)
To merge this branch: bzr merge lp:~mvo/software-center/fix-lp994632
Reviewer Review Type Date Requested Status
software-store-developers Pending
Review via email: mp+104778@code.launchpad.net

This proposal has been superseded by a proposal from 2012-05-04.

Description of the change

A small branch that ensures that we get the right ubuntu-sso-client-gtk, see LP: #994632

To post a comment you must log in.

Unmerged revisions

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'debian/changelog'
--- debian/changelog 2012-04-30 22:27:29 +0000
+++ debian/changelog 2012-05-04 17:20:29 +0000
@@ -1,12 +1,18 @@
1*** DO NOT UPLOAD YET FROM THIS BRANCH, use the lp:software-center/5.2 1software-center (5.2.2) UNRELEASED; urgency=low
2 BRANCH INSTEAD until "quantal" gets the first upload ***
3
4software-center (5.3.0) UNRELEASED; urgency=low
52
6 [ Michael Vogt ]3 [ Michael Vogt ]
7 * lp:~mvo/software-center/whatsnew-leak-lp985389:4 * lp:~mvo/software-center/whatsnew-leak-lp985389:
8 - search filter fix for the case when the "installed-only"5 - search filter fix for the case when the "installed-only"
9 filter leaks into subsequent searches (LP: #985389)6 filter leaks into subsequent searches (LP: #985389)
7
8 [ Gary Lasker ]
9 * lp:~gary-lasker/software-center/fix-crash-lp969732:
10 - need to explicitly declare the needs-refresh signal in the
11 AppTreeStore class to prevent a crash (LP: #969732)
12 * lp:~gary-lasker/software-center/fix-crash-lp870822:
13 - don't crash if we don't get a pkgversion object back
14 (LP: #870822)
15
1016
11 -- Gary Lasker <gary.lasker@canonical.com> Mon, 30 Apr 2012 18:22:04 -040017 -- Gary Lasker <gary.lasker@canonical.com> Mon, 30 Apr 2012 18:22:04 -0400
1218
1319
=== modified file 'debian/control'
--- debian/control 2012-04-11 08:19:03 +0000
+++ debian/control 2012-05-04 17:20:29 +0000
@@ -41,7 +41,7 @@
41 policykit-1,41 policykit-1,
42 policykit-1-gnome | policykit-1-kde,42 policykit-1-gnome | policykit-1-kde,
43 python-xdg,43 python-xdg,
44 ubuntu-sso-client (>= 0.99.6),44 ubuntu-sso-client-gtk,
45 python-piston-mini-client (>= 0.1+bzr29),45 python-piston-mini-client (>= 0.1+bzr29),
46 oneconf (>= 0.2.6),46 oneconf (>= 0.2.6),
47 python-debtagshw,47 python-debtagshw,
4848
=== modified file 'softwarecenter/ui/gtk3/models/appstore2.py'
--- softwarecenter/ui/gtk3/models/appstore2.py 2012-03-30 09:11:08 +0000
+++ softwarecenter/ui/gtk3/models/appstore2.py 2012-05-04 17:20:29 +0000
@@ -476,6 +476,14 @@
476 """ A treestore based application model476 """ A treestore based application model
477 """477 """
478478
479 __gsignals__ = {
480 # meh, this is a signal from AppPropertiesHelper
481 "needs-refresh": (GObject.SignalFlags.RUN_LAST,
482 None,
483 (str, ),
484 ),
485 }
486
479 def __init__(self, db, cache, icons, icon_size=AppGenericStore.ICON_SIZE,487 def __init__(self, db, cache, icons, icon_size=AppGenericStore.ICON_SIZE,
480 global_icon_cache=True):488 global_icon_cache=True):
481 AppGenericStore.__init__(489 AppGenericStore.__init__(
482490
=== modified file 'softwarecenter/ui/gtk3/views/appdetailsview.py'
--- softwarecenter/ui/gtk3/views/appdetailsview.py 2012-04-18 10:31:00 +0000
+++ softwarecenter/ui/gtk3/views/appdetailsview.py 2012-05-04 17:20:29 +0000
@@ -2024,10 +2024,14 @@
2024 self.app_details.pkg_state == PkgStates.INSTALLED and2024 self.app_details.pkg_state == PkgStates.INSTALLED and
2025 not self.addons_manager.addons_to_install and2025 not self.addons_manager.addons_to_install and
2026 not self.addons_manager.addons_to_remove):2026 not self.addons_manager.addons_to_remove):
2027 pkg = self.cache[self.app_details.pkgname].installed2027 pkg_version = self.cache[self.app_details.pkgname].installed
2028 install_size = GLib.format_size(pkg.installed_size)2028 # we may not always get a pkg_version returned (LP: #870822),
2029 # FIXME: this is not really a good indication of the size on disk2029 # in that case, we'll just have to display "Unknown"
2030 label_string += _("%s on disk") % (install_size)2030 if pkg_version:
2031 install_size = GLib.format_size(pkg_version.installed_size)
2032 # FIXME: this is not really a good indication of the size
2033 # on disk
2034 label_string += _("%s on disk") % (install_size)
2031 elif total_install_size < 0:2035 elif total_install_size < 0:
2032 remove_size = GLib.format_size(-total_install_size)2036 remove_size = GLib.format_size(-total_install_size)
2033 label_string += _("%s to be freed") % (remove_size)2037 label_string += _("%s to be freed") % (remove_size)

Subscribers

People subscribed via source and target branches