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:
parent
3ac4a7392e
commit
7cd194fffb
@ -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
|
||||
|
@ -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)
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user