~jconti/recent-notifications/trunk

« back to all changes in this revision

Viewing changes to recent_notifications/About.py

  • Committer: Jason Conti
  • Date: 2010-02-21 00:51:16 UTC
  • Revision ID: jason.conti@gmail.com-20100221005116-6r8y8tta8f21h3x9
Reorganizing to make it easier to build a package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
"""
 
2
About.py
 
3
by Jason Conti
 
4
February 19, 2010
 
5
 
 
6
Shows the About dialog for the applet.
 
7
"""
 
8
 
 
9
import gtk
 
10
 
 
11
def show_about(parent):
 
12
  about = gtk.AboutDialog()
 
13
 
 
14
  about.set_authors(["Jason Conti <jason.conti@gmail.com>"])
 
15
  about.set_comments("View recent notifications")
 
16
  about.set_copyright(u"Copyright \xa9 2010 Jason Conti.")
 
17
  #about.set_logo(gtk.gdk.pixbuf_new_from_file("/home/jconti/Projects/git/recent-notifications/icons/full_mailbox.svg"))
 
18
  about.set_name("Recent Notifications")
 
19
  about.set_version("1.0.0")
 
20
 
 
21
  about.connect("response", lambda self, *args: self.destroy())
 
22
  about.set_screen(parent.get_screen())
 
23
  about.show_all()
 
24