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
=== modified file 'Jokosher/ControlsBox.py'
--- Jokosher/ControlsBox.py 2010-04-09 17:50:59 +0000
+++ Jokosher/ControlsBox.py 2010-07-30 19:09:42 +0000
@@ -51,8 +51,8 @@
51 self.recImgEnabled = gtk.gdk.pixbuf_new_from_file(os.path.join(Globals.IMAGE_PATH, "icon_disarm.png"))51 self.recImgEnabled = gtk.gdk.pixbuf_new_from_file(os.path.join(Globals.IMAGE_PATH, "icon_disarm.png"))
52 self.soloImgDisabled = gtk.gdk.pixbuf_new_from_file(os.path.join(Globals.IMAGE_PATH, "icon_solo.png"))52 self.soloImgDisabled = gtk.gdk.pixbuf_new_from_file(os.path.join(Globals.IMAGE_PATH, "icon_solo.png"))
53 self.soloImgEnabled = gtk.gdk.pixbuf_new_from_file(os.path.join(Globals.IMAGE_PATH, "icon_group.png"))53 self.soloImgEnabled = gtk.gdk.pixbuf_new_from_file(os.path.join(Globals.IMAGE_PATH, "icon_group.png"))
54 self.muteImgDisabled = Utils.GetIconThatMayBeMissing("stock_volume", gtk.ICON_SIZE_BUTTON, False)54 self.muteImgDisabled = Utils.GetIconThatMayBeMissing("stock_volume", self.recImgEnabled.get_width(), False) # Use size of other control button images if fetching stock image
55 self.muteImgEnabled = Utils.GetIconThatMayBeMissing("stock_volume-mute", gtk.ICON_SIZE_BUTTON, False)55 self.muteImgEnabled = Utils.GetIconThatMayBeMissing("stock_volume-mute", self.recImgEnabled.get_width(), False)
56 56
57 self.recButton = gtk.ToggleButton()57 self.recButton = gtk.ToggleButton()
58 self.recButton.set_tooltip_text(self.recTipEnabled)58 self.recButton.set_tooltip_text(self.recTipEnabled)

Subscribers

People subscribed via source and target branches