autoraise: Toggle not toogle; no functional change

This commit is contained in:
Alexander von Gluck IV 2014-05-20 18:36:01 -05:00
parent cc67216333
commit 2aaeccd9ec
2 changed files with 3 additions and 3 deletions

View File

@ -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:

View File

@ -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'