diff options
| author | glatzor@ubuntu.com <> | 2006-09-11 19:29:59 +0200 |
|---|---|---|
| committer | glatzor@ubuntu.com <> | 2006-09-11 19:29:59 +0200 |
| commit | b83afc695eb3d983d694ad9b8c9bad7a469b5a80 (patch) | |
| tree | 44fb84a5a3df6bfdd88360beee7803050e0488af | |
| parent | 886ba2ffebef39bfb4ec11d4a0a6a3e13b2416bd (diff) | |
| download | python-apt-b83afc695eb3d983d694ad9b8c9bad7a469b5a80.tar.gz | |
* Gtk seems to require that you set the activatable property of a cell
renderer explictly to True if there is one with False
* Rebuild channel templates
| -rw-r--r-- | UpdateManager/UpdateManager.py | 8 | ||||
| -rw-r--r-- | data/channels/Ubuntu.info | 14 |
2 files changed, 19 insertions, 3 deletions
diff --git a/UpdateManager/UpdateManager.py b/UpdateManager/UpdateManager.py index 9880b528..af1ec6c3 100644 --- a/UpdateManager/UpdateManager.py +++ b/UpdateManager/UpdateManager.py @@ -248,7 +248,7 @@ class UpdateList: # sort by origin for pkg in cache: - if pkg.markedUpgrade or pkg.markedInstall or pkg.isUpgradable: + if pkg.isUpgradable: # TRANSLATORS: updates from an 'unknown' origin originstr = _("Other updates") for aorigin in pkg.candidateOrigin: @@ -262,7 +262,7 @@ class UpdateList: self.pkgs[origin_node] = [] self.pkgs[origin_node].append(pkg) self.num_updates = self.num_updates + 1 - if pkg.isUpgradable: + if pkg.isUpgradable and not (pkg.markedUpgrade or pkg.markedInstall): self.held_back.append(pkg.name) for l in self.pkgs.keys(): self.pkgs[l].sort(lambda x,y: cmp(x.name,y.name)) @@ -392,7 +392,9 @@ class UpdateManager(SimpleGladeApp): renderer.set_property("active", to_install) if pkg.name in self.list.held_back: renderer.set_property("activatable", False) - + else: + renderer.set_property("activatable", True) + def package_column_view_func(self, cell_layout, renderer, model, iter): self.header_column_func(cell_layout, renderer, model, iter) diff --git a/data/channels/Ubuntu.info b/data/channels/Ubuntu.info index 93ec83d2..379da07d 100644 --- a/data/channels/Ubuntu.info +++ b/data/channels/Ubuntu.info @@ -40,6 +40,7 @@ ParentSuite: edgy RepositoryType: deb BaseURI: http://security.ubuntu.com/ubuntu/ MatchURI: archive.ubuntu.com/ubuntu|security.ubuntu.com +MirrorsFile: /usr/share/update-manager/mirrors.cfg Description: Important security updates Suite: edgy-updates @@ -47,6 +48,7 @@ ParentSuite: edgy RepositoryType: deb BaseURI: http://archive.ubuntu.com/ubuntu/ MatchURI: archive.ubuntu.com/ubuntu +MirrorsFile: /usr/share/update-manager/mirrors.cfg Description: Recommended updates Suite: edgy-proposed @@ -54,6 +56,7 @@ ParentSuite: edgy RepositoryType: deb BaseURI: http://archive.ubuntu.com/ubuntu/ MatchURI: archive.ubuntu.com/ubuntu +MirrorsFile: /usr/share/update-manager/mirrors.cfg Description: Proposed updates Suite: edgy-backports @@ -61,6 +64,7 @@ ParentSuite: edgy RepositoryType: deb BaseURI: http://archive.ubuntu.com/ubuntu/ MatchURI: archive.ubuntu.com/ubuntu +MirrorsFile: /usr/share/update-manager/mirrors.cfg Description: Backported updates Suite: dapper @@ -103,6 +107,7 @@ ParentSuite: dapper RepositoryType: deb BaseURI: http://security.ubuntu.com/ubuntu/ MatchURI: archive.ubuntu.com/ubuntu|security.ubuntu.com +MirrorsFile: /usr/share/update-manager/mirrors.cfg Description: Important security updates Suite: dapper-updates @@ -110,6 +115,7 @@ ParentSuite: dapper RepositoryType: deb BaseURI: http://archive.ubuntu.com/ubuntu/ MatchURI: archive.ubuntu.com/ubuntu +MirrorsFile: /usr/share/update-manager/mirrors.cfg Description: Recommended updates Suite: dapper-proposed @@ -117,6 +123,7 @@ ParentSuite: dapper RepositoryType: deb BaseURI: http://archive.ubuntu.com/ubuntu/ MatchURI: archive.ubuntu.com/ubuntu +MirrorsFile: /usr/share/update-manager/mirrors.cfg Description: Proposed updates Suite: dapper-backports @@ -124,6 +131,7 @@ ParentSuite: dapper RepositoryType: deb BaseURI: http://archive.ubuntu.com/ubuntu/ MatchURI: archive.ubuntu.com/ubuntu +MirrorsFile: /usr/share/update-manager/mirrors.cfg Description: Backported updates Suite: breezy @@ -162,6 +170,7 @@ ParentSuite: breezy RepositoryType: deb BaseURI: http://security.ubuntu.com/ubuntu/ MatchURI: archive.ubuntu.com/ubuntu|security.ubuntu.com +MirrorsFile: /usr/share/update-manager/mirrors.cfg Description: Ubuntu 5.10 Security Updates Suite: breezy-updates @@ -169,6 +178,7 @@ ParentSuite: breezy RepositoryType: deb BaseURI: http://archive.ubuntu.com/ubuntu/ MatchURI: archive.ubuntu.com/ubuntu +MirrorsFile: /usr/share/update-manager/mirrors.cfg Description: Ubuntu 5.10 Updates Suite: breezy-backports @@ -176,6 +186,7 @@ ParentSuite: breezy RepositoryType: deb BaseURI: http://archive.ubuntu.com/ubuntu/ MatchURI: archive.ubuntu.com/ubuntu +MirrorsFile: /usr/share/update-manager/mirrors.cfg Description: Ubuntu 5.10 Backports Suite: hoary @@ -214,6 +225,7 @@ ParentSuite: hoary RepositoryType: deb BaseURI: http://security.ubuntu.com/ubuntu/ MatchURI: archive.ubuntu.com/ubuntu|security.ubuntu.com +MirrorsFile: /usr/share/update-manager/mirrors.cfg Description: Ubuntu 5.04 Security Updates Suite: hoary-updates @@ -221,6 +233,7 @@ ParentSuite: hoary RepositoryType: deb BaseURI: http://archive.ubuntu.com/ubuntu/ MatchURI: archive.ubuntu.com/ubuntu +MirrorsFile: /usr/share/update-manager/mirrors.cfg Description: Ubuntu 5.04 Updates Suite: hoary-backports @@ -228,6 +241,7 @@ ParentSuite: hoary RepositoryType: deb BaseURI: http://archive.ubuntu.com/ubuntu/ MatchURI: archive.ubuntu.com/ubuntu +MirrorsFile: /usr/share/update-manager/mirrors.cfg Description: Ubuntu 5.04 Backports Suite: warty |
