summarylogtreecommitdiffstats
path: root/0009-mysql-workbench-gnome-keyring.patch
diff options
context:
space:
mode:
authorChristian Hesse2015-10-29 14:49:59 +0100
committerChristian Hesse2015-10-29 14:49:59 +0100
commit9a292ba4aaa1627ffb8efb233a78503c571f272f (patch)
tree5eecfb7aa3e9540315b550f5ba467e95433652bf /0009-mysql-workbench-gnome-keyring.patch
downloadaur-9a292ba4aaa1627ffb8efb233a78503c571f272f.tar.gz
initial import of mysql-workbench-git 6.3.5.r0.gaa9272c-1
Diffstat (limited to '0009-mysql-workbench-gnome-keyring.patch')
-rw-r--r--0009-mysql-workbench-gnome-keyring.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/0009-mysql-workbench-gnome-keyring.patch b/0009-mysql-workbench-gnome-keyring.patch
new file mode 100644
index 000000000000..006cfec50437
--- /dev/null
+++ b/0009-mysql-workbench-gnome-keyring.patch
@@ -0,0 +1,17 @@
+diff --git a/frontend/linux/workbench/mysql-workbench.in b/frontend/linux/workbench/mysql-workbench.in
+index 02a8061..f8176f6 100755
+--- a/frontend/linux/workbench/mysql-workbench.in
++++ b/frontend/linux/workbench/mysql-workbench.in
+@@ -4,6 +4,12 @@
+ # This will cause passwords to be stored only temporarily for the session.
+ #WB_NO_GNOME_KEYRING=1
+
++# Looks like WB expects gnome-keyring to be present as soon as XDG_RUNTIME_DIR
++# environment variable is set. Do an extra check here...
++if ! type gnome-keyring-daemon >/dev/null 2>/dev/null; then
++ export WB_NO_GNOME_KEYRING=1
++fi
++
+ # force disable the Mac style single menu hack in Ubuntu Unity
+ export UBUNTU_MENUPROXY=0
+