summary refs log tree commit diff
path: root/GtkUI.py
diff options
context:
space:
mode:
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)
+