Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/createcardpanel.py
diff options
context:
space:
mode:
authorSimon Schampijer <simon@schampijer.de>2009-06-02 19:19:45 (GMT)
committer Simon Schampijer <simon@schampijer.de>2009-06-02 19:19:45 (GMT)
commita43a9bf465ee9db849c35e4785f0cf3c3c878cb2 (patch)
tree8bbb61add47325fef1efe376d2d7ff20747e8b08 /createcardpanel.py
parentc3b3b36e45e75aecee1fc0570a9c61c08caccf4b (diff)
remove the label for sounds
Diffstat (limited to 'createcardpanel.py')
-rw-r--r--createcardpanel.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/createcardpanel.py b/createcardpanel.py
index acf0eef..851f7da 100644
--- a/createcardpanel.py
+++ b/createcardpanel.py
@@ -333,13 +333,12 @@ class CardEditor(gtk.EventBox):
del chooser
if jobject and jobject.file_path:
- self._load_audio(jobject.file_path, jobject.metadata['title'])
+ self._load_audio(jobject.file_path)
- def _load_audio(self, index, title):
+ def _load_audio(self, index):
dst = join(self.temp_folder, basename(index))
shutil.copy(index, dst)
self.set_snd(dst)
- self.card.change_text(title)
icon_theme = gtk.icon_theme_get_default()
pixbuf_t = icon_theme.load_icon("audio-x-generic",
style.STANDARD_ICON_SIZE, 0)