From f3000203255f006e4a89bcc59098a2cfcc2389b9 Mon Sep 17 00:00:00 2001 From: Alan Aguiar Date: Tue, 31 Dec 2013 20:14:23 +0000 Subject: replace sound icon with white line icon --- 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): -- cgit v0.9.1