Set a window icon, albeit the wrong one at this stage

This commit is contained in:
Chris Jones 2006-11-12 22:47:26 -08:00
parent d785f5f0e0
commit e0c90756e7
1 changed files with 2 additions and 0 deletions

View File

@ -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)