Accepting request 340966 from GNOME:Factory
1 OBS-URL: https://build.opensuse.org/request/show/340966 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gdm?expand=0&rev=178
This commit is contained in:
commit
c02a954e3a
50
gdm-session-emit-verification-complete-for-logins.patch
Normal file
50
gdm-session-emit-verification-complete-for-logins.patch
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
From 76e2a54a1ef6cb8783844ce11efcf694e220a840 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Ray Strode <rstrode@redhat.com>
|
||||||
|
Date: Tue, 20 Oct 2015 16:48:17 -0400
|
||||||
|
Subject: gdm-session: emit verification-complete even for logins
|
||||||
|
|
||||||
|
Right now we only emit verification-complete when the a user
|
||||||
|
successfully reauthenticates. We should also do it when they
|
||||||
|
successfully initially authenticate.
|
||||||
|
|
||||||
|
This commit fixes that.
|
||||||
|
|
||||||
|
https://bugzilla.gnome.org/show_bug.cgi?id=754814
|
||||||
|
---
|
||||||
|
daemon/gdm-session.c | 15 +++++++--------
|
||||||
|
1 file changed, 7 insertions(+), 8 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/daemon/gdm-session.c b/daemon/gdm-session.c
|
||||||
|
index 982b5eb..5530485 100644
|
||||||
|
--- a/daemon/gdm-session.c
|
||||||
|
+++ b/daemon/gdm-session.c
|
||||||
|
@@ -307,19 +307,18 @@ on_establish_credentials_cb (GdmDBusWorker *proxy,
|
||||||
|
service_name = conversation->service_name;
|
||||||
|
|
||||||
|
if (worked) {
|
||||||
|
- switch (self->priv->verification_mode) {
|
||||||
|
- case GDM_SESSION_VERIFICATION_MODE_REAUTHENTICATE:
|
||||||
|
- if (self->priv->user_verifier_interface != NULL) {
|
||||||
|
- gdm_dbus_user_verifier_emit_verification_complete (self->priv->user_verifier_interface,
|
||||||
|
- service_name);
|
||||||
|
- g_signal_emit (self, signals[VERIFICATION_COMPLETE], 0, service_name);
|
||||||
|
- }
|
||||||
|
- break;
|
||||||
|
+ if (self->priv->user_verifier_interface != NULL) {
|
||||||
|
+ gdm_dbus_user_verifier_emit_verification_complete (self->priv->user_verifier_interface,
|
||||||
|
+ service_name);
|
||||||
|
+ g_signal_emit (self, signals[VERIFICATION_COMPLETE], 0, service_name);
|
||||||
|
+ }
|
||||||
|
|
||||||
|
+ switch (self->priv->verification_mode) {
|
||||||
|
case GDM_SESSION_VERIFICATION_MODE_LOGIN:
|
||||||
|
case GDM_SESSION_VERIFICATION_MODE_CHOOSER:
|
||||||
|
gdm_session_open_session (self, service_name);
|
||||||
|
break;
|
||||||
|
+ case GDM_SESSION_VERIFICATION_MODE_REAUTHENTICATE:
|
||||||
|
default:
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
--
|
||||||
|
cgit v0.11.2
|
||||||
|
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Oct 25 23:17:52 UTC 2015 - zaitor@opensuse.org
|
||||||
|
|
||||||
|
- Add gdm-session-emit-verification-complete-for-logins.patch: Fix
|
||||||
|
hang on login on when using Nvidia blob driver (bgo#754814).
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Sep 21 14:37:07 UTC 2015 - dimstar@opensuse.org
|
Mon Sep 21 14:37:07 UTC 2015 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
3
gdm.spec
3
gdm.spec
@ -60,6 +60,8 @@ Patch34: gdm-default-wm.patch
|
|||||||
Patch35: gdm-xauthlocalhostname.patch
|
Patch35: gdm-xauthlocalhostname.patch
|
||||||
# PATCH-FIX-UPSTREAM gdm-plymouth-vt1.patch bnc#881676 fcrozat@suse.com -- switch to VT1 when quitting if gdm was starting with plymouth running
|
# PATCH-FIX-UPSTREAM gdm-plymouth-vt1.patch bnc#881676 fcrozat@suse.com -- switch to VT1 when quitting if gdm was starting with plymouth running
|
||||||
Patch41: gdm-plymouth-vt1.patch
|
Patch41: gdm-plymouth-vt1.patch
|
||||||
|
# PATCH-FIX-UPSTREAM gdm-session-emit-verification-complete-for-logins.patch bgo#754814 zaitor@opensuse.org -- Fix hang on login when using Nvidia driver.
|
||||||
|
Patch42: gdm-session-emit-verification-complete-for-logins.patch
|
||||||
BuildRequires: check-devel
|
BuildRequires: check-devel
|
||||||
# needed for directory ownership
|
# needed for directory ownership
|
||||||
BuildRequires: dconf
|
BuildRequires: dconf
|
||||||
@ -191,6 +193,7 @@ translation-update-upstream
|
|||||||
%patch34 -p1
|
%patch34 -p1
|
||||||
#patch35 -p1
|
#patch35 -p1
|
||||||
%patch41 -p1
|
%patch41 -p1
|
||||||
|
%patch42 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
NOCONFIGURE=1 sh autogen.sh
|
NOCONFIGURE=1 sh autogen.sh
|
||||||
|
Loading…
x
Reference in New Issue
Block a user