kopia lustrzana https://github.com/ctjacobs/pyqso
Added an icon (of a wooden log...because it's a logging program!) for PyQSO.
rodzic
f16e75b81c
commit
51a1e0af5d
Plik binarny nie jest wyświetlany.
Po Szerokość: | Wysokość: | Rozmiar: 18 KiB |
|
@ -38,6 +38,11 @@ class PyQSO(Gtk.Window):
|
|||
|
||||
self.set_size_request(500, 300)
|
||||
self.set_position(Gtk.WindowPosition.CENTER)
|
||||
try:
|
||||
self.set_icon_from_file("log.ico")
|
||||
except Exception, error:
|
||||
print error.message
|
||||
|
||||
# Kills the application if the close button is clicked on the main window itself.
|
||||
self.connect("delete-event", Gtk.main_quit)
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue