diff --git a/src/ColoredPassword.cs b/src/ColoredPassword.cs index ab908f6..a1292a0 100644 --- a/src/ColoredPassword.cs +++ b/src/ColoredPassword.cs @@ -313,6 +313,7 @@ private void OptionsForm_Shown(object sender, EventArgs e) o.cbColorEntryView.Checked = ColorConfig.ColorEntryView; o.cbColorEntryViewKeepBackgroundColor.Checked = ColorConfig.ListViewKeepBackgroundColor; o.lError.Visible = !ColoredPasswordExt.OverridePossible; + o.ctbExample.ColorText(); ColorConfig.Testmode = true; } diff --git a/src/Options.Designer.cs b/src/Options.Designer.cs index 541bed5..ca144ae 100644 --- a/src/Options.Designer.cs +++ b/src/Options.Designer.cs @@ -380,7 +380,7 @@ private void InitializeComponent() private System.Windows.Forms.Panel pColorEntryView; private System.Windows.Forms.Label lError2; internal System.Windows.Forms.Label lError; - private ColorTextBox ctbExample; + internal ColorTextBox ctbExample; internal System.Windows.Forms.CheckBox cbColorEntryView; internal System.Windows.Forms.CheckBox cbColorEntryViewKeepBackgroundColor; private System.Windows.Forms.TableLayoutPanel tlp; diff --git a/src/Options.cs b/src/Options.cs index cdfb804..0473c33 100644 --- a/src/Options.cs +++ b/src/Options.cs @@ -10,7 +10,6 @@ public partial class Options : UserControl public Options() { InitializeComponent(); - ctbExample.ColorText(); bForeColorDefault.Text = string.Empty; bBackColorDefault.Text = string.Empty; bForeColorLower.Text = string.Empty; diff --git a/src/PluginTools.cs b/src/PluginTools.cs index dfa2c2e..3c8a2f0 100644 --- a/src/PluginTools.cs +++ b/src/PluginTools.cs @@ -706,7 +706,22 @@ public static void SaveOrShow() if (m_DebugEntries.Count == 0) return; SaveDebugMessages(); if (AutoOpen || (AskOpen && Tools.AskYesNo("DebugFile: " + DebugFile + "\n\nOpen debug file?") == DialogResult.Yes)) - System.Diagnostics.Process.Start(DebugFile); + { + try + { + System.Diagnostics.Process.Start(DebugFile); + } + catch + { + if (KeePassLib.Native.NativeLib.IsUnix()) //The above is broken on mono + { + System.Diagnostics.ProcessStartInfo psi = new System.Diagnostics.ProcessStartInfo(); + psi.Arguments = DebugFile; + psi.FileName = "xdg-open"; + System.Diagnostics.Process.Start(psi); + } + } + } } private static System.Xml.XmlWriter m_xw = null; diff --git a/src/Properties/AssemblyInfo.cs b/src/Properties/AssemblyInfo.cs index 0a038e3..fb0b57b 100644 --- a/src/Properties/AssemblyInfo.cs +++ b/src/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ // Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden, // indem Sie "*" wie unten gezeigt eingeben: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("0.7")] -[assembly: AssemblyFileVersion("0.7")] +[assembly: AssemblyVersion("0.7.1")] +[assembly: AssemblyFileVersion("0.7.1")] diff --git a/version.info b/version.info index b26af5b..e78273f 100644 --- a/version.info +++ b/version.info @@ -1,5 +1,5 @@ : -ColoredPassword:0.7 +ColoredPassword:0.7.1 ColoredPassword!de:4 ColoredPassword!pl:2 ColoredPassword!ru:2