Added PAC skeleton
[findit] / src / about.py
1 #!/usr/bin/env python
2 # -*-coding: utf-8 -*-
3 # vim: sw=4 ts=4 expandtab ai
4
5 import gtk
6
7 from __main__ import __version__, __progname__
8
9
10 class About(gtk.AboutDialog):
11     """About dialog window."""
12
13     def __init__(self):
14         """Create&show about dialog."""
15         gtk.AboutDialog.__init__(self)
16
17         self.progname = __progname__
18         self.version = __version__
19         self.authors = [    'Alex Taker\n   * Email: alteker@gmail.com\n',
20                         'Eugene Gagarin\n   * Email: mosfet07@ya.ru\n',
21                         'Alexandr Popov\n   * Email: popov2al@gmail.com' ]
22         self.comments = 'Tool for find some information on computer.'
23         self.license = \
24 'This program is free software; you can redistribute it and/or\nmodify it \
25 under the terms of the GNU General Public License\nas published by the Free \
26 Software Foundation; either version 3\nof the License, or (at your option) \
27 any later version.'
28
29         self.set_name(self.progname)
30         self.set_version(self.version)
31         self.set_authors(self.authors)
32         self.set_comments(self.comments)
33         self.set_license(self.license)
34
35         self.show_all()
36         self.run()
37         self.destroy()