* Forgot to set which volume should be shown.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32251 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
a0922d3718
commit
00daddc745
@ -308,6 +308,9 @@ MediaReplicant::MessageReceived(BMessage* message)
|
||||
item->SetMarked(!item->IsMarked());
|
||||
fVolumeWhich = item->IsMarked()
|
||||
? VOLUME_USE_PHYS_OUTPUT : VOLUME_USE_MIXER;
|
||||
|
||||
if (VolumeToolTip* tip = dynamic_cast<VolumeToolTip*>(ToolTip()))
|
||||
tip->SetWhich(fVolumeWhich);
|
||||
break;
|
||||
}
|
||||
|
||||
@ -451,9 +454,9 @@ MediaReplicant::_Init()
|
||||
B_CMAP8);
|
||||
fIcon->SetBits(kSpeakerBits, kSpeakerWidth * kSpeakerHeight, 0, B_CMAP8);
|
||||
|
||||
SetToolTip(new VolumeToolTip());
|
||||
|
||||
_LoadSettings();
|
||||
|
||||
SetToolTip(new VolumeToolTip(fVolumeWhich));
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user