Installer : truncated string in menu fields
* Delay the display of the alert just a little bit, to let the menu fields enough time to adjust. Fixes ticket #3893. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33076 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -50,6 +50,7 @@ const uint32 SHOW_BOTTOM_MESSAGE = 'iSBT';
|
|||||||
const uint32 SETUP_MESSAGE = 'iSEP';
|
const uint32 SETUP_MESSAGE = 'iSEP';
|
||||||
const uint32 START_SCAN = 'iSSC';
|
const uint32 START_SCAN = 'iSSC';
|
||||||
const uint32 PACKAGE_CHECKBOX = 'iPCB';
|
const uint32 PACKAGE_CHECKBOX = 'iPCB';
|
||||||
|
const uint32 ENCOURAGE_DRIVESETUP = 'iENC';
|
||||||
|
|
||||||
class LogoView : public BView {
|
class LogoView : public BView {
|
||||||
public:
|
public:
|
||||||
@@ -382,6 +383,13 @@ InstallerWindow::MessageReceived(BMessage *msg)
|
|||||||
fSizeView->SetText(string);
|
fSizeView->SetText(string);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case ENCOURAGE_DRIVESETUP:
|
||||||
|
{
|
||||||
|
(new BAlert("use drive setup", "No partitions have been found that "
|
||||||
|
"are suitable for installation. Please setup partitions and "
|
||||||
|
"initialize at least one partition with the Be File System." ,
|
||||||
|
"Ok"))->Go();
|
||||||
|
}
|
||||||
case MSG_STATUS_MESSAGE:
|
case MSG_STATUS_MESSAGE:
|
||||||
{
|
{
|
||||||
// TODO: Was this supposed to prevent status messages still arriving
|
// TODO: Was this supposed to prevent status messages still arriving
|
||||||
@@ -629,10 +637,7 @@ InstallerWindow::_UpdateControls()
|
|||||||
if (!fEncouragedToSetupPartitions && !foundOneSuitableTarget) {
|
if (!fEncouragedToSetupPartitions && !foundOneSuitableTarget) {
|
||||||
// Focus the users attention on the DriveSetup button
|
// Focus the users attention on the DriveSetup button
|
||||||
fEncouragedToSetupPartitions = true;
|
fEncouragedToSetupPartitions = true;
|
||||||
(new BAlert("use drive setup", "No partitions have been found that "
|
PostMessage(ENCOURAGE_DRIVESETUP);
|
||||||
"are suitable for installation. Please setup partitions and "
|
|
||||||
"initialize at least one partition with the Be File System." ,
|
|
||||||
"Ok"))->Go();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user