autoraise: Toggle not toogle; no functional change
This commit is contained in:
parent
cc67216333
commit
2aaeccd9ec
@ -44,7 +44,7 @@ ConfigMenu::ConfigMenu(TrayView *tv, bool useMag)
|
|||||||
SetFont(be_plain_font);
|
SetFont(be_plain_font);
|
||||||
|
|
||||||
|
|
||||||
BMenuItem *active = new BMenuItem("Active", new BMessage(MSG_TOOGLE_ACTIVE));
|
BMenuItem *active = new BMenuItem("Active", new BMessage(MSG_TOGGLE_ACTIVE));
|
||||||
active->SetMarked(s->Active());
|
active->SetMarked(s->Active());
|
||||||
AddItem(active);
|
AddItem(active);
|
||||||
|
|
||||||
@ -499,7 +499,7 @@ void TrayView::MessageReceived(BMessage* message)
|
|||||||
|
|
||||||
switch(message->what)
|
switch(message->what)
|
||||||
{
|
{
|
||||||
case MSG_TOOGLE_ACTIVE:
|
case MSG_TOGGLE_ACTIVE:
|
||||||
SetActive(!_settings->Active());
|
SetActive(!_settings->Active());
|
||||||
break;
|
break;
|
||||||
case MSG_SET_ACTIVE:
|
case MSG_SET_ACTIVE:
|
||||||
|
@ -57,7 +57,7 @@ enum {
|
|||||||
|
|
||||||
#define MSG_DELAY_POPUP 'arDP'
|
#define MSG_DELAY_POPUP 'arDP'
|
||||||
|
|
||||||
#define MSG_TOOGLE_ACTIVE 'arTA'
|
#define MSG_TOGGLE_ACTIVE 'arTA'
|
||||||
#define MSG_SET_ACTIVE 'arSA'
|
#define MSG_SET_ACTIVE 'arSA'
|
||||||
#define MSG_SET_INACTIVE 'arSI'
|
#define MSG_SET_INACTIVE 'arSI'
|
||||||
#define MSG_SET_DELAY 'arSD'
|
#define MSG_SET_DELAY 'arSD'
|
||||||
|
Loading…
Reference in New Issue
Block a user