From 9ab774024283dd4aa37ee55b6fe4f46d63c76d03 Mon Sep 17 00:00:00 2001 From: Ignacio Rodríguez Date: Sat, 23 Nov 2013 15:12:39 +0000 Subject: Remove unused sounds --- diff --git a/activity.py b/activity.py index de76eb8..1d75da9 100644 --- a/activity.py +++ b/activity.py @@ -238,8 +238,6 @@ class Chat(activity.Activity): if self.owner.props.nick in text: self.play_sound("said_nick") - else: - self.play_sound("received") def _alert(self, title, text=None): alert = NotifyAlert(timeout=5) @@ -341,7 +339,6 @@ class Chat(activity.Activity): entry.props.text = '' if self.text_channel: self.text_channel.send(text) - self.play_sound("send") else: logger.debug('Tried to send message but text channel ' 'not connected.') @@ -388,9 +385,7 @@ class Chat(activity.Activity): SOUNDS_PATH = os.path.join(get_bundle_path(), 'sounds') SOUNDS = {"said_nick": os.path.join(SOUNDS_PATH, 'alert.wav'), "login": os.path.join(SOUNDS_PATH, 'login.wav'), - "logout": os.path.join(SOUNDS_PATH, 'logout.wav'), - "received": os.path.join(SOUNDS_PATH, 'receive.wav'), - "send": os.path.join(SOUNDS_PATH, 'send.wav')} + "logout": os.path.join(SOUNDS_PATH, 'logout.wav')} self.element.set_state(Gst.State.NULL) self.element.set_property("uri", "file://%s" % SOUNDS[event]) diff --git a/sounds/receive.wav b/sounds/receive.wav deleted file mode 100644 index dce135e..0000000 --- a/sounds/receive.wav +++ /dev/null Binary files differ diff --git a/sounds/send.wav b/sounds/send.wav deleted file mode 100644 index c77beb7..0000000 --- a/sounds/send.wav +++ /dev/null Binary files differ -- cgit v0.9.1