Merge lp:~michael-sheldon/jokosher/fix-mute-icon into lp:jokosher

Proposed by Michael Sheldon
Status: Merged
Merged at revision: 1108
Proposed branch: lp:~michael-sheldon/jokosher/fix-mute-icon
Merge into: lp:jokosher
Diff against target: 14 lines (+2/-2)
1 file modified
Jokosher/ControlsBox.py (+2/-2)
To merge this branch: bzr merge lp:~michael-sheldon/jokosher/fix-mute-icon
Reviewer Review Type Date Requested Status
Jokosher Code Pending
Review via email: mp+31410@code.launchpad.net

Description of the change

Fixes the mute button in the instrument control box to give it a more reasonable size.

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'Jokosher/ControlsBox.py'
2--- Jokosher/ControlsBox.py 2010-04-09 17:50:59 +0000
3+++ Jokosher/ControlsBox.py 2010-07-30 19:09:42 +0000
4@@ -51,8 +51,8 @@
5 self.recImgEnabled = gtk.gdk.pixbuf_new_from_file(os.path.join(Globals.IMAGE_PATH, "icon_disarm.png"))
6 self.soloImgDisabled = gtk.gdk.pixbuf_new_from_file(os.path.join(Globals.IMAGE_PATH, "icon_solo.png"))
7 self.soloImgEnabled = gtk.gdk.pixbuf_new_from_file(os.path.join(Globals.IMAGE_PATH, "icon_group.png"))
8- self.muteImgDisabled = Utils.GetIconThatMayBeMissing("stock_volume", gtk.ICON_SIZE_BUTTON, False)
9- self.muteImgEnabled = Utils.GetIconThatMayBeMissing("stock_volume-mute", gtk.ICON_SIZE_BUTTON, False)
10+ self.muteImgDisabled = Utils.GetIconThatMayBeMissing("stock_volume", self.recImgEnabled.get_width(), False) # Use size of other control button images if fetching stock image
11+ self.muteImgEnabled = Utils.GetIconThatMayBeMissing("stock_volume-mute", self.recImgEnabled.get_width(), False)
12
13 self.recButton = gtk.ToggleButton()
14 self.recButton.set_tooltip_text(self.recTipEnabled)

Subscribers

People subscribed via source and target branches