summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul W. Frields <stickster@gmail.com>2010-12-19 21:01:02 -0500
committerPaul W. Frields <stickster@gmail.com>2010-12-19 21:01:02 -0500
commitdb3a313947817a6f8ad7514dfe6df307fce6254b (patch)
treeac4a4e19f89c20466613f94db61389eb3b7c951a
parentcb7a955ad785e57d8ad6c8ae106f12c3e6f22d19 (diff)
downloadpulsecaster-db3a313947817a6f8ad7514dfe6df307fce6254b.tar.gz
pulsecaster-db3a313947817a6f8ad7514dfe6df307fce6254b.tar.xz
pulsecaster-db3a313947817a6f8ad7514dfe6df307fce6254b.zip
Fix remaining static locations of icons
-rw-r--r--pulsecaster/data/pulsecaster.glade2
-rw-r--r--pulsecaster/ui.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/pulsecaster/data/pulsecaster.glade b/pulsecaster/data/pulsecaster.glade
index cb695ec..1a28ba0 100644
--- a/pulsecaster/data/pulsecaster.glade
+++ b/pulsecaster/data/pulsecaster.glade
@@ -184,7 +184,6 @@
<object class="GtkDialog" id="main_dialog">
<property name="border_width">5</property>
<property name="default_width">300</property>
- <property name="icon">icons/scalable/pulsecaster.svg</property>
<property name="type_hint">normal</property>
<child internal-child="vbox">
<object class="GtkVBox" id="dialog-vbox2">
@@ -198,7 +197,6 @@
<object class="GtkImage" id="logo">
<property name="visible">True</property>
<property name="xpad">10</property>
- <property name="pixbuf">icons/48x48/pulsecaster-48.png</property>
</object>
<packing>
<property name="expand">False</property>
diff --git a/pulsecaster/ui.py b/pulsecaster/ui.py
index f7ff556..8bab097 100644
--- a/pulsecaster/ui.py
+++ b/pulsecaster/ui.py
@@ -86,7 +86,9 @@ class PulseCasterUI:
self.record = self.builder.get_object('record_button')
self.record_id = self.record.connect('clicked', self.on_record)
self.record.set_sensitive(True)
-
+ self.main_logo = self.builder.get_object('logo')
+ self.main_logo.set_from_icon_name('pulsecaster', gtk.ICON_SIZE_DIALOG)
+ self.main.set_icon_list(self.logo)
# About dialog basics
self.about = self.builder.get_object('about_dialog')
self.about.connect('delete_event', self.hideAbout)