summary refs log tree commit diff
path: root/pkgs/applications/misc/keepass/keepass-plugins.patch
diff options
context:
space:
mode:
authorVasyl Solovei <svsdep@gmail.com>2018-02-24 08:38:36 +0200
committerVasyl Solovei <svsdep@gmail.com>2018-02-24 12:53:19 +0200
commite3c5cf39bcfd8b66017f91ef29bc90f5e4584a67 (patch)
tree91522f9386c87335c676b65e2303b7bdcd71dace /pkgs/applications/misc/keepass/keepass-plugins.patch
parentc8b1b341237da7c05a38e91c6c0203d3709b2075 (diff)
downloadnixpkgs-e3c5cf39bcfd8b66017f91ef29bc90f5e4584a67.tar
nixpkgs-e3c5cf39bcfd8b66017f91ef29bc90f5e4584a67.tar.gz
nixpkgs-e3c5cf39bcfd8b66017f91ef29bc90f5e4584a67.tar.bz2
nixpkgs-e3c5cf39bcfd8b66017f91ef29bc90f5e4584a67.tar.lz
nixpkgs-e3c5cf39bcfd8b66017f91ef29bc90f5e4584a67.tar.xz
nixpkgs-e3c5cf39bcfd8b66017f91ef29bc90f5e4584a67.tar.zst
nixpkgs-e3c5cf39bcfd8b66017f91ef29bc90f5e4584a67.zip
keepass: bring back and update plugins load patches
Plugins loading was broken as those patches were removed
in latest release. I brought patches back and updated them
onto 2.38 release code base.

This closes #35446.
Diffstat (limited to 'pkgs/applications/misc/keepass/keepass-plugins.patch')
-rw-r--r--pkgs/applications/misc/keepass/keepass-plugins.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/pkgs/applications/misc/keepass/keepass-plugins.patch b/pkgs/applications/misc/keepass/keepass-plugins.patch
new file mode 100644
index 00000000000..cde6e7252bc
--- /dev/null
+++ b/pkgs/applications/misc/keepass/keepass-plugins.patch
@@ -0,0 +1,13 @@
+diff --git a/KeePass/Forms/MainForm.cs b/KeePass/Forms/MainForm.cs
+index 3d5fca0..4c3f3d4 100644
+--- a/KeePass/Forms/MainForm.cs
++++ b/KeePass/Forms/MainForm.cs
+@@ -406,7 +406,$OUTPUT_LC$ @@ namespace KeePass.Forms
+ 			m_pluginManager.Initialize(m_pluginDefaultHost);
+ 
+ 			m_pluginManager.UnloadAllPlugins();
+-			if(AppPolicy.Current.Plugins) m_pluginManager.LoadAllPlugins();
+$DO_LOADS$+
+ 
+ 			// Delete old files *after* loading plugins (when timestamps
+ 			// of loaded plugins have been updated already)