From 3753f00a8ce5948e327da2ea9a3d7daebec9809f Mon Sep 17 00:00:00 2001 From: Steven Date: Wed, 24 Apr 2024 23:49:37 -0400 Subject: [PATCH] 1356 preserve clipboard (#1357) * preserve clipboard #1356 --- OneMore/Helpers/ClipboardProvider.cs | 4 ++-- OneMore/Properties/AssemblyInfo.cs | 2 +- OneMoreCalendar/Properties/AssemblyInfo.cs | 2 +- OneMoreProtocolHandler/Properties/AssemblyInfo.cs | 2 +- OneMoreSetup/OneMoreSetup.vdproj | 6 +++--- OneMoreSetupActions/Properties/AssemblyInfo.cs | 2 +- OneMoreTray/Properties/AssemblyInfo.cs | 4 ++-- 7 files changed, 11 insertions(+), 11 deletions(-) diff --git a/OneMore/Helpers/ClipboardProvider.cs b/OneMore/Helpers/ClipboardProvider.cs index f96ec369f9..7a4234b319 100644 --- a/OneMore/Helpers/ClipboardProvider.cs +++ b/OneMore/Helpers/ClipboardProvider.cs @@ -236,7 +236,7 @@ await SingleThreaded.Invoke(() => { var data = new Win.DataObject(); data.SetText(text, Win.TextDataFormat.Html); - Clipboard.SetDataObject(data, false, RetryTimes, RetryDelay); + Clipboard.SetDataObject(data, true, RetryTimes, RetryDelay); //Win.Clipboard.SetText(text, Win.TextDataFormat.Html); } catch (COMException ex) @@ -270,7 +270,7 @@ await SingleThreaded.Invoke(() => { var data = new Win.DataObject(); data.SetText(text, Win.TextDataFormat.Text); - Clipboard.SetDataObject(data, false, RetryTimes, RetryDelay); + Clipboard.SetDataObject(data, true, RetryTimes, RetryDelay); //Win.Clipboard.SetText(text, Win.TextDataFormat.Text); } catch (COMException ex) diff --git a/OneMore/Properties/AssemblyInfo.cs b/OneMore/Properties/AssemblyInfo.cs index 8a96587de5..2e30f3cdfe 100644 --- a/OneMore/Properties/AssemblyInfo.cs +++ b/OneMore/Properties/AssemblyInfo.cs @@ -37,7 +37,7 @@ internal static class AssemblyInfo * NOTE - also update the version in the Setup project * by clicking on the Setup project node in VS and update its properties */ - public const string Version = "6.2.0"; + public const string Version = "6.2.1"; public const string Product = "OneMore"; diff --git a/OneMoreCalendar/Properties/AssemblyInfo.cs b/OneMoreCalendar/Properties/AssemblyInfo.cs index 76ad8a9b1d..c18d41e90c 100644 --- a/OneMoreCalendar/Properties/AssemblyInfo.cs +++ b/OneMoreCalendar/Properties/AssemblyInfo.cs @@ -27,6 +27,6 @@ namespace OneMoreCalendar { internal static class AssemblyInfo { - public const string Version = "6.2.0"; + public const string Version = "6.2.1"; } } diff --git a/OneMoreProtocolHandler/Properties/AssemblyInfo.cs b/OneMoreProtocolHandler/Properties/AssemblyInfo.cs index 6460b30c82..40095be865 100644 --- a/OneMoreProtocolHandler/Properties/AssemblyInfo.cs +++ b/OneMoreProtocolHandler/Properties/AssemblyInfo.cs @@ -23,6 +23,6 @@ namespace OneMoreProtocolHandler { internal static class AssemblyInfo { - public const string Version = "6.2.0"; + public const string Version = "6.2.1"; } } diff --git a/OneMoreSetup/OneMoreSetup.vdproj b/OneMoreSetup/OneMoreSetup.vdproj index 21e3526d61..7482e16822 100644 --- a/OneMoreSetup/OneMoreSetup.vdproj +++ b/OneMoreSetup/OneMoreSetup.vdproj @@ -10941,15 +10941,15 @@ { "Name" = "8:OneMoreAddIn" "ProductName" = "8:OneMoreAddIn" - "ProductCode" = "8:{F368E8D0-09E6-4C09-97EB-A2C2025FBE7B}" - "PackageCode" = "8:{A336AEE0-34B5-4669-A450-F795E9698127}" + "ProductCode" = "8:{B9D42559-5946-494F-8EF5-012F8F15B6F8}" + "PackageCode" = "8:{E7F7E49E-805B-40AF-8704-C1374B07F6B2}" "UpgradeCode" = "8:{058F6D04-E0D0-4984-B6B7-7FE0C581680E}" "AspNetVersion" = "8:4.0.30319.0" "RestartWWWService" = "11:FALSE" "RemovePreviousVersions" = "11:TRUE" "DetectNewerInstalledVersion" = "11:TRUE" "InstallAllUsers" = "11:TRUE" - "ProductVersion" = "8:6.2.0" + "ProductVersion" = "8:6.2.1" "Manufacturer" = "8:River" "ARPHELPTELEPHONE" = "8:" "ARPHELPLINK" = "8:" diff --git a/OneMoreSetupActions/Properties/AssemblyInfo.cs b/OneMoreSetupActions/Properties/AssemblyInfo.cs index 66c88263cb..8ab6480f94 100644 --- a/OneMoreSetupActions/Properties/AssemblyInfo.cs +++ b/OneMoreSetupActions/Properties/AssemblyInfo.cs @@ -23,6 +23,6 @@ namespace OneMoreSetupActions { internal static class AssemblyInfo { - public const string Version = "6.2.0"; + public const string Version = "6.2.1"; } } diff --git a/OneMoreTray/Properties/AssemblyInfo.cs b/OneMoreTray/Properties/AssemblyInfo.cs index 8051bae971..7cd5635eea 100644 --- a/OneMoreTray/Properties/AssemblyInfo.cs +++ b/OneMoreTray/Properties/AssemblyInfo.cs @@ -1,4 +1,4 @@ -//************************************************************************************************ +//************************************************************************************************ // Copyright © 2024 Steven M Cohn. All rights reserved. //************************************************************************************************ @@ -27,6 +27,6 @@ namespace OneMoreService { internal static class AssemblyInfo { - public const string Version = "6.2.0"; + public const string Version = "6.2.1"; } }