added icon to the window

This commit is contained in:
Micah Lee 2013-03-02 23:40:08 -08:00
parent 5ba77c1483
commit 6f6a179803

View File

@ -79,6 +79,7 @@ class TorBrowserLauncher:
# set up the window
self.window = gtk.Window(gtk.WINDOW_TOPLEVEL)
self.window.set_title("Tor Browser")
self.window.set_icon_from_file(self.paths['file']['icon'])
self.window.set_position(gtk.WIN_POS_CENTER)
self.window.set_border_width(10)
self.window.connect("delete_event", self.delete_event)
@ -186,6 +187,7 @@ class TorBrowserLauncher:
'version': tbb_data+'/version',
'start': tbb_data+'/tbb/'+self.architecture+'/tor-browser_'+self.language+'/start-tor-browser',
'update_check': tbb_data+'/download/RecommendedTBBVersions',
'icon': '/usr/share/pixmaps/torbrowser80.xpm',
'torproject_pem': '/usr/share/torbrowser-launcher/torproject.pem',
'erinn_key': '/usr/share/torbrowser-launcher/erinn.asc',
'sebastian_key': '/usr/share/torbrowser-launcher/sebastian.asc'