Pulse couldn't work in mini-mode since it was reverting to normal mode in every cases except when successfully launched in deskbar

mode.

That was the cause of bug #3384.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30595 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Philippe Saint-Pierre 2009-05-03 01:00:42 +00:00
parent f71f5e2b29
commit 021f35891b

View File

@ -125,7 +125,7 @@ PulseApp::BuildPulse()
if (prefs->window_mode == DESKBAR_MODE && LoadInDeskbar()) {
PostMessage(new BMessage(B_QUIT_REQUESTED));
return;
} else
} else if (prefs->window_mode == DESKBAR_MODE)
prefs->window_mode = NORMAL_WINDOW_MODE;
PulseWindow *pulseWindow = NULL;