removed setting that will no longer be needed

This commit is contained in:
David Sparer
2017-02-02 20:20:14 -07:00
parent d750e3e996
commit fc9961b2de
4 changed files with 12 additions and 30 deletions

View File

@@ -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);

View File

@@ -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")]

View File

@@ -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>

View File

@@ -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>