/usr/share/pyshared/quodlibet/qltk/logging.py is in exfalso 2.3.2-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | import gtk
import quodlibet.util.logging
from quodlibet import qltk
class LoggingWindow(qltk.Window):
def __init__(self, parent=None):
super(LoggingWindow, self).__init__()
self.set_default_size(400, 400)
self.set_title(_("Output Log"))
self.set_border_width(12)
self.set_transient_for(qltk.get_top_parent(parent))
notebook = qltk.Notebook()
for logname in quodlibet.util.logging.names():
text = "\n".join(quodlibet.util.logging.contents(logname))
view = gtk.TextView()
sw = gtk.ScrolledWindow()
sw.set_policy(gtk.POLICY_AUTOMATIC, gtk.POLICY_AUTOMATIC)
sw.set_shadow_type(gtk.SHADOW_IN)
sw.add(view)
buffer = view.get_buffer()
buffer.set_text(text)
notebook.append_page(sw, logname)
self.add(notebook)
self.show_all()
|