11
11
from Globals import VERSION, WEBSITE
12
12
from Icon import load_icon
13
from Translations import _
16
This program is free software: you can redistribute it and/or modify
17
it under the terms of the GNU General Public License as published by
18
the Free Software Foundation, either version 3 of the License, or
19
(at your option) any later version.
21
This program is distributed in the hope that it will be useful,
22
but WITHOUT ANY WARRANTY; without even the implied warranty of
23
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24
GNU General Public License for more details.
26
You should have received a copy of the GNU General Public License
27
along with this program. If not, see <http://www.gnu.org/licenses/>.
14
30
def show_about(parent):
15
31
about = gtk.AboutDialog()
17
33
about.set_authors(["Jason Conti <jason.conti@gmail.com>"])
18
about.set_comments("View recent notifications")
19
about.set_copyright(u"Copyright \xa9 2010 Jason Conti.")
34
about.set_comments(_("View recent notifications"))
35
about.set_copyright(_(u"Copyright \xa9 2010 Jason Conti."))
36
about.set_license(license)
21
38
icon = load_icon("recent-notifications")
23
40
about.set_logo(icon)
25
about.set_name("Recent Notifications")
42
about.set_name(_("Recent Notifications"))
26
43
about.set_version(VERSION)
27
44
about.set_website(WEBSITE)