Package: apt-listchanges
Version: 2.85.7
Tags: patch
Followup-For: Bug #551537

The following patch fixes the problem using the frontend function
_render() specifically designed for the purpose:

---8<---------------------------

--- /usr/share/apt-listchanges/AptListChangesGtk.py.dist        2011-04-28 
08:34:42.000000000 +0200
+++ /usr/share/apt-listchanges/AptListChangesGtk.py     2011-04-28 
08:35:10.000000000 +0200
@@ -42,7 +42,7 @@
     def display_output(self,text):
         self.button_close.set_sensitive(True)
         buf = self.glade.get_widget("textview_main").get_buffer()
-        buf.set_text(unicode(text, 'latin-1').encode("UTF-8"))
+        buf.set_text(self._render(text))
         gtk.main()
 
     def update_progress(self):

---8<---------------------------


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages apt-listchanges depends on:
ii  apt                         0.8.14.1     Advanced front-end for dpkg
ii  debconf [debconf-2.0]       1.5.38       Debian configuration management sy
ii  debianutils                 3.4.4        Miscellaneous utilities specific t
ii  python                      2.6.6-14     interactive high-level object-orie
ii  python-apt                  0.7.100.3+b1 Python interface to libapt-pkg
ii  python-support              1.0.13       automated rebuilding support for P
ii  ucf                         3.0025+nmu2  Update Configuration File: preserv

Versions of packages apt-listchanges recommends:
ii  msmtp-mta [mail-transport-age 1.4.23-1   light SMTP client with support for

Versions of packages apt-listchanges suggests:
ii  chromium [www-brow 10.0.648.205~r81283-1 Chromium browser
ii  elinks [www-browse 0.12~pre5-3.2         advanced text-mode WWW browser
ii  iceape-browser [ww 2.0.13-1              Iceape Navigator (Internet browser
ii  iceweasel [www-bro 3.5.18-1              Web browser based on Firefox
ii  konqueror [www-bro 4:4.4.5-3             advanced file manager, web browser
ii  konsole [x-termina 4:4.4.5-3             X terminal emulator
ii  lynx-cur [www-brow 2.8.8dev.8-1          Text-mode WWW Browser with NLS sup
ii  opera [www-browser 11.10.2092            A fast and secure web browser and 
ii  python-glade2      2.24.0-1              GTK+ bindings: Glade support
ii  python-gtk2        2.24.0-1              Python bindings for the GTK+ widge
ii  rxvt-unicode [x-te 9.10-1                RXVT-like terminal emulator with U
ii  w3m [www-browser]  0.5.3-2+b1            WWW browsable pager with excellent
ii  xterm [x-terminal- 269-1                 X terminal emulator

-- debconf information:
* apt-listchanges/confirm: false
* apt-listchanges/which: both
* apt-listchanges/frontend: gtk
* apt-listchanges/email-address:
* apt-listchanges/save-seen: false



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to