11 gettext
.install("tails")
13 tails_version
= subprocess
.Popen(["tails-version"], stdout
=subprocess
.PIPE
).communicate()[0]
14 tails_main_version
= tails_version
.split("-")[0]
16 tails_version
= _("not available")
17 tails_main_version
= ""
18 about_dialog
= gtk
.AboutDialog()
19 about_dialog
.set_program_name(_("Tails"))
21 about_dialog
.set_logo(gtk
.gdk
.pixbuf_new_from_file_at_size('/usr/share/doc/tails/website/promote/logo/tails-logo-flat-inverted.svg', 400, 200))
24 about_dialog
.set_comments(_("The Amnesic Incognito Live System") + "\n\n" +
25 _("Build information:\n%s") % tails_version
)
26 about_dialog
.set_copyright("Tails developers")
27 about_dialog
.set_title
=(_("About Tails"))
28 about_dialog
.set_version(tails_main_version
)
29 about_dialog
.set_website("https://tails.boum.org/")
31 about_dialog
.connect("delete-event", gtk
.main_quit
)
32 about_dialog
.connect("response", gtk
.main_quit
)
33 about_dialog
.show_all()