5
updated: March 28, 2011
7
Shows the About dialog for the applet.
10
from gi.repository import Gtk
14
from Globals import VERSION, WEBSITE
15
from Translations import _
18
This program is free software: you can redistribute it and/or modify
19
it under the terms of the GNU General Public License as published by
20
the Free Software Foundation, either version 3 of the License, or
21
(at your option) any later version.
23
This program is distributed in the hope that it will be useful,
24
but WITHOUT ANY WARRANTY; without even the implied warranty of
25
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26
GNU General Public License for more details.
28
You should have received a copy of the GNU General Public License
29
along with this program. If not, see <http://www.gnu.org/licenses/>.
33
about = Gtk.AboutDialog()
35
#about.set_authors("Jason Conti <jason.conti@gmail.com>")
36
about.set_comments(_("View recent notifications"))
37
about.set_copyright(_(u"Copyright \xa9 2010 Jason Conti."))
38
about.set_license(license)
39
about.set_translator_credits(_("translator-credits"))
41
icon = Icon.load("recent-notifications")
45
about.set_name(_("Recent Notifications"))
46
about.set_version(VERSION)
47
about.set_website(WEBSITE)
49
about.connect("response", lambda self, *args: self.destroy())