mirror of
https://github.com/torproject/torbrowser-launcher.git
synced 2024-11-27 11:30:38 +00:00
added icon to exit button for errors
This commit is contained in:
parent
4ae5985634
commit
f7cdc3398b
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user