Tracker: SlowContextPopup style fixes
This commit is contained in:
@@ -66,15 +66,20 @@ All rights reserved.
|
||||
#undef B_TRANSLATION_CONTEXT
|
||||
#define B_TRANSLATION_CONTEXT "SlowContextPopup"
|
||||
|
||||
|
||||
// #pragma mark - BSlowContextMenu
|
||||
|
||||
|
||||
BSlowContextMenu::BSlowContextMenu(const char* title)
|
||||
: BPopUpMenu(title, false, false),
|
||||
fMenuBuilt(false),
|
||||
fMessage(B_REFS_RECEIVED),
|
||||
fParentWindow(NULL),
|
||||
fItemList(NULL),
|
||||
fContainer(NULL),
|
||||
fTypesList(NULL),
|
||||
fIsShowing(false)
|
||||
:
|
||||
BPopUpMenu(title, false, false),
|
||||
fMenuBuilt(false),
|
||||
fMessage(B_REFS_RECEIVED),
|
||||
fParentWindow(NULL),
|
||||
fItemList(NULL),
|
||||
fContainer(NULL),
|
||||
fTypesList(NULL),
|
||||
fIsShowing(false)
|
||||
{
|
||||
InitIconPreloader();
|
||||
|
||||
@@ -214,7 +219,8 @@ BSlowContextMenu::AddDynamicItem(add_state state)
|
||||
break;
|
||||
}
|
||||
|
||||
return true; // call me again, got more to show
|
||||
return true;
|
||||
// call me again, got more to show
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -31,8 +31,8 @@ of Be Incorporated in the United States and other countries. Other brand product
|
||||
names are registered trademarks or trademarks of their respective holders.
|
||||
All rights reserved.
|
||||
*/
|
||||
#ifndef SLOW_CONTEXT_POPUP_H
|
||||
#define SLOW_CONTEXT_POPUP_H
|
||||
#ifndef _SLOW_CONTEXT_POPUP_H
|
||||
#define _SLOW_CONTEXT_POPUP_H
|
||||
|
||||
|
||||
#include <PopUpMenu.h>
|
||||
@@ -135,4 +135,5 @@ BSlowContextMenu::IsShowing() const
|
||||
return fIsShowing;
|
||||
}
|
||||
|
||||
#endif // SLOW_CONTEXT_POPUP_H
|
||||
|
||||
#endif // _SLOW_CONTEXT_POPUP_H
|
||||
|
||||
Reference in New Issue
Block a user