Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)