Fixed name and placement for kMsgOpenNetworkPreferences definition.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25337 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
98e6713172
commit
c1502c9a45
@ -59,12 +59,11 @@ extern "C" _EXPORT BView *instantiate_deskbar_item(void);
|
||||
|
||||
const uint32 kMsgUpdate = 'updt';
|
||||
const uint32 kMsgShowConfiguration = 'shcf';
|
||||
const uint32 kMsgOpenNetworkPreferences = 'onwp';
|
||||
|
||||
const uint32 kMinIconWidth = 16;
|
||||
const uint32 kMinIconHeight = 16;
|
||||
|
||||
const uint32 kOpenNetworkPref = 'onwp';
|
||||
|
||||
const bigtime_t kUpdateInterval = 1000000;
|
||||
// every second
|
||||
|
||||
@ -235,7 +234,7 @@ NetworkStatusView::MessageReceived(BMessage* message)
|
||||
_ShowConfiguration(message);
|
||||
break;
|
||||
|
||||
case kOpenNetworkPref:
|
||||
case kMsgOpenNetworkPreferences:
|
||||
_OpenNetworksPreferences();
|
||||
break;
|
||||
|
||||
@ -362,7 +361,7 @@ NetworkStatusView::MouseDown(BPoint point)
|
||||
menu->AddItem(new BMenuItem("About NetworkStatus" B_UTF8_ELLIPSIS,
|
||||
new BMessage(B_ABOUT_REQUESTED)));
|
||||
menu->AddItem(new BMenuItem("Open Networks Preferences" B_UTF8_ELLIPSIS,
|
||||
new BMessage(kOpenNetworkPref)));
|
||||
new BMessage(kMsgOpenNetworkPreferences)));
|
||||
|
||||
if (fInDeskbar)
|
||||
menu->AddItem(new BMenuItem("Quit", new BMessage(B_QUIT_REQUESTED)));
|
||||
|
Loading…
Reference in New Issue
Block a user