After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 746348 - session: fix session type selection if not explicitly chosen
session: fix session type selection if not explicitly chosen
Status: RESOLVED FIXED
Product: gdm
Classification: Core
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: GDM maintainers
GDM maintainers
Depends on:
Blocks:
 
 
Reported: 2015-03-17 14:06 UTC by Ray Strode [halfline]
Modified: 2015-03-17 14:36 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
session: fix session type selection if not explicitly chosen (10.05 KB, patch)
2015-03-17 14:06 UTC, Ray Strode [halfline]
none Details | Review
session: fix typo in previous commit (2.64 KB, patch)
2015-03-17 14:12 UTC, Ray Strode [halfline]
committed Details | Review

Description Ray Strode [halfline] 2015-03-17 14:06:37 UTC
If we read the saved selection from user data, we don't select
the right session type.

This commit makes sure any time the selection is changed, we check
if the session is wayland or X11.
Comment 1 Ray Strode [halfline] 2015-03-17 14:06:40 UTC
Created attachment 299601 [details] [review]
session: fix session type selection if not explicitly chosen
Comment 2 Ray Strode [halfline] 2015-03-17 14:08:24 UTC
Attachment 299601 [details] pushed as 4bb106f - session: fix session type selection if not explicitly chosen
Comment 3 Ray Strode [halfline] 2015-03-17 14:12:52 UTC
Created attachment 299602 [details] [review]
session: fix typo in previous commit

<krnowak> halfline: "if (g_strcmp0 (session_type, session_type) != 0) {" ?
<halfline> ahhhhh
<halfline> thank you
<krnowak> No problem.
Comment 4 Ray Strode [halfline] 2015-03-17 14:13:04 UTC
Attachment 299602 [details] pushed as 3caf50c - session: fix typo in previous commit