Set a window icon, albeit the wrong one at this stage
This commit is contained in:
parent
d785f5f0e0
commit
e0c90756e7
|
@ -110,6 +110,8 @@ class TerminatorTerm:
|
||||||
class Terminator:
|
class Terminator:
|
||||||
def __init__ (self):
|
def __init__ (self):
|
||||||
self.window = gtk.Window ()
|
self.window = gtk.Window ()
|
||||||
|
self.icon = self.window.render_icon (gtk.STOCK_DIALOG_INFO, gtk.ICON_SIZE_BUTTON)
|
||||||
|
self.window.set_icon (self.icon)
|
||||||
self.window.connect ("delete_event", self.on_delete_event)
|
self.window.connect ("delete_event", self.on_delete_event)
|
||||||
self.window.connect ("destroy", self.on_destroy_event)
|
self.window.connect ("destroy", self.on_destroy_event)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue