File mysql-workbench-keyring-check.patch of Package mysql-workbench

diff -uNr mysql-workbench-community-8.0.15-org/frontend/linux/workbench/mysql-workbench.in mysql-workbench-community-8.0.15-src/frontend/linux/workbench/mysql-workbench.in
--- mysql-workbench-community-8.0.15-org/frontend/linux/workbench/mysql-workbench.in	2019-01-30 15:32:36.000000000 +0200
+++ mysql-workbench-community-8.0.15-src/frontend/linux/workbench/mysql-workbench.in	2019-02-16 13:56:53.711465800 +0200
@@ -4,6 +4,9 @@
 # This will cause passwords to be stored only temporarily for the session.
 #WB_NO_GNOME_KEYRING=1
 
+dbus-send --session --dest=org.freedesktop.secrets --type=method_call --print-reply /org/freedesktop/secrets org.freedesktop.DBus.Introspectable.Introspect || export WB_NO_KEYRING=1
+
+
 # force disable the Mac style single menu hack in Ubuntu Unity
 export UBUNTU_MENUPROXY=0
 
openSUSE Build Service is sponsored by