/usr/lib/sltv/ui/about.py is in landell 0.92.1-1.1ubuntu1.
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 59 60 61 62 63 64 65 66 67 68 69 70 71 72 | # -*- coding: utf-8 -*-
# Copyright (C) 2010 Holoscópio Tecnologia
# Author: Luciana Fujii Pontello <luciana@holoscopio.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
import gtk
from sltv.settings import VERSION, ICON
class About:
def __init__(self, ui):
self.about = gtk.AboutDialog()
self.about.set_transient_for(ui.main_window)
self.about.set_destroy_with_parent(True)
self.about.connect("response", self.on_close_dialog)
self.about.connect("delete_event", self.on_close_dialog)
self.create_about()
def create_about(self):
self.about.set_name("Landell")
self.about.set_copyright("Copyright (c) 2010 Holoscópio Tecnologia")
self.about.set_version(VERSION)
self.about.set_logo(gtk.gdk.pixbuf_new_from_file(ICON))
self.about.set_website("http://landell.holoscopio.com/")
self.about.set_wrap_license(False)
self.about.set_license(
"This program is free software; you can redistribute it and/or modify\n"
"it under the terms of the GNU General Public License as published by\n"
"the Free Software Foundation; either version 2 of the License, or\n"
"(at your option) any later version.\n"
"\n"
"This program is distributed in the hope that it will be useful,\n"
"but WITHOUT ANY WARRANTY; without even the implied warranty of\n"
"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n"
"GNU General Public License for more details.\n"
"\n"
"You should have received a copy of the GNU General Public License along\n"
"with this program; if not, write to the Free Software Foundation, Inc.,\n"
"51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\n"
)
authors = [
"Luciana Fujii Pontello <luciana@holoscopio.com>",
"Marcelo Jorge Vieira <marcelo@holoscopio.com>",
"Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com>"
]
self.about.set_authors(authors)
artists = [
"Valessio Brito <contato@valessiobrito.info>"
]
self.about.set_artists(artists)
def show_window(self):
self.about.show_all()
self.about.run()
def on_close_dialog(self, dialog, response):
if response == gtk.RESPONSE_CANCEL or \
response == gtk.RESPONSE_DELETE_EVENT:
dialog.hide_all()
|