diff options
author | Daniel Kahn Gillmor <[email protected]> | 2015-06-30 16:41:29 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2015-06-30 20:40:29 +0000 |
commit | 816824953c91959c23a57c047bdba6a902ffdde6 (patch) | |
tree | f6caf89ce2230f14aea37acb4b33abc8b35fbc84 /common/session-env.c | |
parent | Flag the L_() function with attribute format_arg. (diff) | |
download | gnupg-816824953c91959c23a57c047bdba6a902ffdde6.tar.gz gnupg-816824953c91959c23a57c047bdba6a902ffdde6.zip |
Pass DBUS_SESSION_BUS_ADDRESS for gnome3
* common/session-env.c (stdenvnames): Add DBUS_SESSION_BUS_ADDRESS.
--
pinentry-gnome3 talks to the gcr prompter via dbus. Without this
environment variable, it can't find the correct session to talk to.
Diffstat (limited to 'common/session-env.c')
-rw-r--r-- | common/session-env.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/session-env.c b/common/session-env.c index c0500ea0b..171bf8f34 100644 --- a/common/session-env.c +++ b/common/session-env.c @@ -72,6 +72,8 @@ static struct modules (eg "@im=SCIM"). */ { "GTK_IM_MODULE" }, /* Used by gtk to select gtk input modules (eg "scim-bridge"). */ + { "DBUS_SESSION_BUS_ADDRESS" },/* Used by GNOME3 to talk to gcr over + dbus */ { "QT_IM_MODULE" }, /* Used by Qt to select qt input modules (eg "xim"). */ { "INSIDE_EMACS" }, /* Set by Emacs before running a |