If Deskbar is not running, prevent minimizing (untested).

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30373 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus 2009-04-24 14:14:52 +00:00
parent 3ac4a7392e
commit 7cd194fffb
2 changed files with 5 additions and 1 deletions

View File

@ -2,7 +2,7 @@ SubDir HAIKU_TOP src apps drivesetup ;
AddSubDirSupportedPlatforms libbe_test ;
UsePrivateHeaders interface shared storage ;
UsePrivateHeaders interface shared storage tracker ;
Preference DriveSetup :
DiskView.cpp

View File

@ -13,6 +13,7 @@
#include "InitParamsPanel.h"
#include "PartitionList.h"
#include "Support.h"
#include "tracker_private.h"
#include <stdio.h>
#include <string.h>
@ -233,6 +234,9 @@ MainWindow::MainWindow(BRect frame)
// visit all disks in the system and show their contents
_ScanDrives();
if (!be_roster->IsRunning(kDeskbarSignature))
SetFlags(Flags() | B_NOT_MINIMIZABLE)
}