/usr/share/pyshared/quodlibet/qltk/about.py is in exfalso 3.0.2-3.
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 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 | # -*- coding: utf-8 -*-
# Copyright 2004-2005 Joe Wreschnig, Michael Urman, IƱigo Serna
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation
from gi.repository import Gtk
import mutagen
from quodlibet.qltk import gtk_version, pygobject_version
from quodlibet import const
from quodlibet import formats
from quodlibet.util import fver
class AboutDialog(Gtk.AboutDialog):
def __init__(self, parent, player, name, icon):
super(AboutDialog, self).__init__()
self.set_transient_for(parent)
self.set_program_name(name)
self.set_version(const.VERSION)
self.set_authors(const.AUTHORS)
self.set_artists(const.ARTISTS)
self.set_logo_icon_name(icon)
def chunks(l, n):
return [l[i:i + n] for i in range(0, len(l), n)]
fmts = ",\n".join(", ".join(c) for c in chunks(formats.names, 4))
text = []
text.append(_("Supported formats: %s") % fmts)
text.append("")
if player:
text.append(_("Audio device: %s") % player.name)
text.append("Mutagen: %s" % fver(mutagen.version))
text.append("GTK+: %s" % fver(gtk_version))
text.append("PyGObject: %s" % fver(pygobject_version))
if player:
text.append(player.version_info)
self.set_comments("\n".join(text))
self.set_translator_credits("\n".join(const.TRANSLATORS))
self.set_website(const.WEBSITE)
self.set_copyright(const.COPYRIGHT + "\n" +
"<%s>" % const.SUPPORT_EMAIL)
self.get_child().show_all()
class AboutQuodLibet(AboutDialog):
def __init__(self, parent, player):
super(AboutQuodLibet, self).__init__(
parent, player, "Quod Libet", "quodlibet")
class AboutExFalso(AboutDialog):
def __init__(self, parent, player=None):
super(AboutExFalso, self).__init__(
parent, player, "Ex Falso", "exfalso")
|