From 830b5233ef8775cb39720fa1b1b48260fd27c9fd Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Wed, 11 Oct 2006 22:13:06 +0200 Subject: * DistUpgrade/DistUpgradeViewGtk.py: - keep a png pixbuf loader refernce around --- DistUpgrade/DistUpgradeViewGtk.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'DistUpgrade/DistUpgradeViewGtk.py') 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) -- cgit v1.2.3