summary refs log tree commit diff
path: root/GtkUI.py
diff options
context:
space:
mode:
authorJezra <jezra@jezra.net>2013-07-02 07:05:51 -0700
committerJezra <jezra@jezra.net>2013-07-02 07:05:51 -0700
commitbd290f006130827b0630bf36ab058bb82f4ce29d (patch)
tree47477e0ca24ad963134d72e4d4e87d568687e9e3 /GtkUI.py
parent3d1a7ff6d07380af777194d1b95e2dafa65033cb (diff)
icon, dumbass
Diffstat (limited to 'GtkUI.py')
-rw-r--r--GtkUI.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/GtkUI.py b/GtkUI.py
index d9aae7d..720fb10 100644
--- a/GtkUI.py
+++ b/GtkUI.py
@@ -80,3 +80,6 @@ class UI(gobject.GObject):
 			self.lsbutton_stopped()
 		self.label.set_text(text)
 		
+	def set_icon(self, icon):
+		gtk.window_set_default_icon_from_file(icon)
+