summaryrefslogtreecommitdiff
path: root/DistUpgrade/DistUpgradeViewGtk.py
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2006-10-11 22:13:06 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2006-10-11 22:13:06 +0200
commit830b5233ef8775cb39720fa1b1b48260fd27c9fd (patch)
tree1af747056457cd8dfd454c2305668b7607a81b58 /DistUpgrade/DistUpgradeViewGtk.py
parent2ceb68d859ddc4f77db85d5f2348e615c33928d4 (diff)
downloadpython-apt-830b5233ef8775cb39720fa1b1b48260fd27c9fd.tar.gz
* DistUpgrade/DistUpgradeViewGtk.py:
- keep a png pixbuf loader refernce around
Diffstat (limited to 'DistUpgrade/DistUpgradeViewGtk.py')
-rw-r--r--DistUpgrade/DistUpgradeViewGtk.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/DistUpgrade/DistUpgradeViewGtk.py b/DistUpgrade/DistUpgradeViewGtk.py
index b2aff8dc..b176e8f0 100644
--- a/DistUpgrade/DistUpgradeViewGtk.py
+++ b/DistUpgrade/DistUpgradeViewGtk.py
@@ -327,6 +327,11 @@ class DistUpgradeViewGtk(DistUpgradeView,SimpleGladeApp):
# we dont use this currently
#self.window_main.set_keep_above(True)
self.icontheme = gtk.icon_theme_get_default()
+ # we keep a reference pngloader around so that its in memory
+ # -> this avoid the issue that during the dapper->edgy upgrade
+ # the loaders move from /usr/lib/gtk/2.4.0/loaders to 2.10.0
+ self.pngloader = gtk.gdk.PixbufLoader("png")
+
self.window_main.realize()
self.window_main.window.set_functions(gtk.gdk.FUNC_MOVE)
self._opCacheProgress = GtkOpProgress(self.progressbar_cache)