mirror of
https://github.com/mRemoteNG/mRemoteNG.git
synced 2026-02-17 22:11:48 +08:00
removed setting that will no longer be needed
This commit is contained in:
@@ -61,18 +61,18 @@ namespace mRemoteNG.Messages
|
||||
if (onlyLog)
|
||||
return;
|
||||
|
||||
if (Settings.Default.ShowNoMessageBoxes)
|
||||
{
|
||||
/* These if statements need to be split so we can:
|
||||
* control that no messages boxes will be dispalyed
|
||||
* add items to the notifications panel
|
||||
* NOT switch to the notification panel if configured that way
|
||||
*/
|
||||
if(enableTimer)
|
||||
_ecTimer.Enabled = true;
|
||||
}
|
||||
else
|
||||
ShowMessageBox(nMsg);
|
||||
//if (Settings.Default.ShowNoMessageBoxes)
|
||||
//{
|
||||
// /* These if statements need to be split so we can:
|
||||
// * control that no messages boxes will be dispalyed
|
||||
// * add items to the notifications panel
|
||||
// * NOT switch to the notification panel if configured that way
|
||||
// */
|
||||
// if(enableTimer)
|
||||
// _ecTimer.Enabled = true;
|
||||
//}
|
||||
//else
|
||||
// ShowMessageBox(nMsg);
|
||||
|
||||
var lvItem = BuildListViewItem(nMsg);
|
||||
AddToList(lvItem);
|
||||
|
||||
12
mRemoteV1/Properties/Settings.Designer.cs
generated
12
mRemoteV1/Properties/Settings.Designer.cs
generated
@@ -95,18 +95,6 @@ namespace mRemoteNG {
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("True")]
|
||||
public bool ShowNoMessageBoxes {
|
||||
get {
|
||||
return ((bool)(this["ShowNoMessageBoxes"]));
|
||||
}
|
||||
set {
|
||||
this["ShowNoMessageBoxes"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("True")]
|
||||
|
||||
@@ -20,9 +20,6 @@
|
||||
<Setting Name="CustomPuttyPath" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)" />
|
||||
</Setting>
|
||||
<Setting Name="ShowNoMessageBoxes" Type="System.Boolean" Scope="User">
|
||||
<Value Profile="(Default)">True</Value>
|
||||
</Setting>
|
||||
<Setting Name="SwitchToMCOnInformation" Type="System.Boolean" Scope="User">
|
||||
<Value Profile="(Default)">True</Value>
|
||||
</Setting>
|
||||
|
||||
@@ -52,9 +52,6 @@
|
||||
<setting name="CustomPuttyPath" serializeAs="String">
|
||||
<value />
|
||||
</setting>
|
||||
<setting name="ShowNoMessageBoxes" serializeAs="String">
|
||||
<value>True</value>
|
||||
</setting>
|
||||
<setting name="SwitchToMCOnInformation" serializeAs="String">
|
||||
<value>True</value>
|
||||
</setting>
|
||||
|
||||
Reference in New Issue
Block a user