Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Aguiar <alanjas@hotmail.com>2013-12-31 20:14:23 (GMT)
committer Alan Aguiar <alanjas@hotmail.com>2013-12-31 20:14:23 (GMT)
commitf3000203255f006e4a89bcc59098a2cfcc2389b9 (patch)
treef79495273693239c5f74240ed7d1f8be3a86f4ed
parent3ccd7a5b50cb8a0ecef253e50db8f3c5f37f9acb (diff)
replace sound icon with white line icon
-rwxr-xr-xactivity.py12
1 files changed, 3 insertions, 9 deletions
diff --git a/activity.py b/activity.py
index d84e334..d9840ad 100755
--- a/activity.py
+++ b/activity.py
@@ -74,7 +74,7 @@ class JumpActivity(activity.Activity):
toolbar_box.toolbar.insert(separator2, -1)
separator2.show()
- sound_button = ToolButton('speaker-100')
+ sound_button = ToolButton('speaker-muted-100')
sound_button.set_tooltip(_('Sound'))
sound_button.connect('clicked', self.sound_control)
toolbar_box.toolbar.insert(sound_button, -1)
@@ -100,18 +100,12 @@ class JumpActivity(activity.Activity):
self.sound_enable = not self.sound_enable
self.game.change_sound(self.sound_enable)
if not self.sound_enable:
- button.set_icon('speaker-000')
+ button.set_icon('speaker-muted-000')
button.set_tooltip(_('No sound'))
else:
- button.set_icon('speaker-100')
+ button.set_icon('speaker-muted-100')
button.set_tooltip(_('Sound'))
- def read_file(self, file_path):
- pass
-
- def write_file(self, file_path):
- pass
-
class Combo(gtk.ComboBox):