From 629ab25a0e836a640e05c7621a06db37820e0e6a Mon Sep 17 00:00:00 2001 From: lethliel Date: Tue, 27 Aug 2019 17:50:57 +0200 Subject: [PATCH] Remove check for GNOME_DESKTOP_SESSION_ID It was removed from GNOME with this commit: https://gitlab.gnome.org/GNOME/gnome-session/commit/6bf47ad8c6f0a513c95a5043e38ad51cc0248943 --- osc/conf.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/osc/conf.py b/osc/conf.py index da38a419..807dab71 100644 --- a/osc/conf.py +++ b/osc/conf.py @@ -79,12 +79,7 @@ except: import gobject gobject.set_application_name('osc') import gnomekeyring - if os.environ['GNOME_DESKTOP_SESSION_ID']: - # otherwise gnome keyring bindings spit out errors, when you have - # it installed, but you are not under gnome - # (even though hundreds of gnome-keyring daemons got started in parallel) - # another option would be to support kwallet here - GNOME_KEYRING = gnomekeyring.is_available() + GNOME_KEYRING = gnomekeyring.is_available() except: pass