More icon bits
This commit is contained in:
parent
eb4e8179e3
commit
45b0e41c6d
|
@ -516,6 +516,11 @@ class Terminator:
|
||||||
|
|
||||||
self.window = gtk.Window ()
|
self.window = gtk.Window ()
|
||||||
self.window.set_title ("Terminator")
|
self.window.set_title ("Terminator")
|
||||||
|
|
||||||
|
# FIXME: This really shouldn't be a hardcoded path
|
||||||
|
try:
|
||||||
|
self.window.set_icon_from_file ("/usr/share/icons/hicolor/48x48/apps/terminator.png")
|
||||||
|
except:
|
||||||
self.icon = self.window.render_icon (gtk.STOCK_DIALOG_INFO, gtk.ICON_SIZE_BUTTON)
|
self.icon = self.window.render_icon (gtk.STOCK_DIALOG_INFO, gtk.ICON_SIZE_BUTTON)
|
||||||
self.window.set_icon (self.icon)
|
self.window.set_icon (self.icon)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue