VirtualBox

Changeset 38761 in vbox for trunk/src/VBox/Installer


Ignore:
Timestamp:
Sep 15, 2011 11:57:36 AM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
74043
Message:

UserInterface.wxi: 1st try at fixing VBoxFatalErrorDlg so W7 likes accepts it as an error dialog: InfoIcon instead of ExclamationIcon; Standard button text instead of font+hardcoding.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/win/UserInterface.wxi

    r38576 r38761  
    546546        <Dialog Id="VBoxFatalErrorDlg" ErrorDialog="yes" Width="270" Height="150" Title="[ProductName] !(loc.Setup)" NoMinimize="yes">
    547547            <!-- Do *not* change the control IDs in the dialog! -->
    548             <Control Id="ErrorIcon" Type="Icon" X="15" Y="15" Width="24" Height="24" ToolTip="Icon" FixedSize="yes" IconSize="32" Text="[ExclamationIcon]" />
    549             <Control Id="ErrorText" Type="Text" X="75" Y="20" Width="155" Height="80" TabSkip="no">
    550                 <Text><![CDATA[{&DlgFont8}]]></Text>
    551             </Control>
    552             <Control Id="Y" Type="PushButton" X="20" Y="110" Width="80" Height="18" TabSkip="yes">
    553                 <Text><![CDATA[{\DlgFont8}&Yes]]></Text>
     548            <Control Id="ErrorText" Type="Text" X="75" Y="20" Width="155" Height="80" TabSkip="no" NoPrefix="yes" Text="Error information text" />
     549            <Control Id="Y" Type="PushButton" X="20" Y="110" Width="80" Height="18" TabSkip="yes" Text="[ButtonText_Yes]">
    554550                <Publish Event="EndDialog" Value="ErrorYes">1</Publish>
    555551            </Control>
    556             <Control Id="A" Type="PushButton" X="20" Y="110" Width="80" Height="18" TabSkip="yes">
    557                 <Text><![CDATA[{\DlgFont8}&Cancel]]></Text>
     552            <Control Id="A" Type="PushButton" X="20" Y="110" Width="80" Height="18" TabSkip="yes" Text="[ButtonText_Cancel]">
    558553                <Publish Event="EndDialog" Value="ErrorAbort">1</Publish>
    559554            </Control>
    560             <Control Id="C" Type="PushButton" X="20" Y="110" Width="80" Height="18" TabSkip="yes">
    561                 <Text><![CDATA[{\DlgFont8}&Cancel]]></Text>
     555            <Control Id="C" Type="PushButton" X="20" Y="110" Width="80" Height="18" TabSkip="yes" Text="[ButtonText_Cancel]">
    562556                <Publish Event="EndDialog" Value="ErrorCancel">1</Publish>
    563557            </Control>
    564             <Control Id="I" Type="PushButton" X="20" Y="110" Width="80" Height="18" TabSkip="yes">
    565                 <Text><![CDATA[{\DlgFont8}&Ignore]]></Text>
     558            <Control Id="ErrorIcon" Type="Icon" X="15" Y="15" Width="24" Height="24" ToolTip="Information icon" FixedSize="yes" IconSize="32" Text="[InfoIcon]" />
     559            <Control Id="I" Type="PushButton" X="20" Y="110" Width="80" Height="18" TabSkip="yes" Text="[ButtonText_Ignore]">
    566560                <Publish Event="EndDialog" Value="ErrorIgnore">1</Publish>
    567561            </Control>
    568             <Control Id="N" Type="PushButton" X="20" Y="110" Width="80" Height="18" TabSkip="yes">
    569                 <Text><![CDATA[{\DlgFont8}&No]]></Text>
     562            <Control Id="N" Type="PushButton" X="20" Y="110" Width="80" Height="18" TabSkip="yes" Text="[ButtonText_No]">
    570563                <Publish Event="EndDialog" Value="ErrorNo">1</Publish>
    571564            </Control>
    572             <Control Id="O" Type="PushButton" X="20" Y="110" Width="80" Height="18" TabSkip="yes">
    573                 <Text><![CDATA[{\DlgFont8}&OK]]></Text>
     565            <Control Id="O" Type="PushButton" X="20" Y="110" Width="80" Height="18" TabSkip="yes" Text="[ButtonText_OK]">
    574566                <Publish Event="EndDialog" Value="ErrorOk">1</Publish>
    575567            </Control>
    576             <Control Id="R" Type="PushButton" X="20" Y="110" Width="80" Height="18" TabSkip="yes">
    577                 <Text><![CDATA[{\DlgFont8}&Retry]]></Text>
     568            <Control Id="R" Type="PushButton" X="20" Y="110" Width="80" Height="18" TabSkip="yes" Text="[ButtonText_Retry]">
    578569                <Publish Event="EndDialog" Value="ErrorRetry">1</Publish>
    579570            </Control>
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette