Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--activity.py7
-rw-r--r--sounds/receive.wavbin55008 -> 0 bytes
-rw-r--r--sounds/send.wavbin57440 -> 0 bytes
3 files changed, 1 insertions, 6 deletions
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