added icon to exit button for errors

This commit is contained in:
Micah Lee 2013-02-17 19:26:58 -08:00
parent 4ae5985634
commit f7cdc3398b

View File

@ -147,7 +147,10 @@ class TorBrowserLauncher:
self.label2.show()
# exit button
exit_image = gtk.Image()
exit_image.set_from_stock(gtk.STOCK_CANCEL, gtk.ICON_SIZE_BUTTON)
self.exit_button = gtk.Button("Exit")
self.exit_button.set_image(exit_image)
self.exit_button.connect("clicked", self.destroy, None)
self.box.add(self.exit_button)
self.exit_button.show()