Tracker: style fixes to VolumeWindow
This commit is contained in:
@@ -50,13 +50,17 @@ All rights reserved.
|
|||||||
#include "MountMenu.h"
|
#include "MountMenu.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#undef B_TRANSLATION_CONTEXT
|
#undef B_TRANSLATION_CONTEXT
|
||||||
#define B_TRANSLATION_CONTEXT "VolumeWindow"
|
#define B_TRANSLATION_CONTEXT "VolumeWindow"
|
||||||
|
|
||||||
|
|
||||||
|
// #pragma mark - BVolumeWindow
|
||||||
|
|
||||||
|
|
||||||
BVolumeWindow::BVolumeWindow(LockingList<BWindow>* windowList,
|
BVolumeWindow::BVolumeWindow(LockingList<BWindow>* windowList,
|
||||||
uint32 openFlags)
|
uint32 openFlags)
|
||||||
: BContainerWindow(windowList, openFlags)
|
:
|
||||||
|
BContainerWindow(windowList, openFlags)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -89,7 +93,7 @@ BVolumeWindow::MenusBeginning()
|
|||||||
}
|
}
|
||||||
|
|
||||||
BMenuItem* item = fMenuBar->FindItem(kUnmountVolume);
|
BMenuItem* item = fMenuBar->FindItem(kUnmountVolume);
|
||||||
if (item)
|
if (item != NULL)
|
||||||
item->SetEnabled(ejectableVolumeSelected);
|
item->SetEnabled(ejectableVolumeSelected);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -64,4 +64,5 @@ class BVolumeWindow : public BContainerWindow {
|
|||||||
|
|
||||||
using namespace BPrivate;
|
using namespace BPrivate;
|
||||||
|
|
||||||
|
|
||||||
#endif // _VOLUME_WINDOW_H
|
#endif // _VOLUME_WINDOW_H
|
||||||
|
|||||||
Reference in New Issue
Block a user