gnome-shell/js
Ray Strode e1d9bdbbd6 loginDialog: only emit session-activated on user action
Right now we emit session-activated any time the bullet
moves in the session menu. That includes at startup when
picking an item arbitrarily, and any time GDM reports the
session was read from the user's account settings.

session-activated informs GDM about the newly selected session,
so emitting it in response to GDM reporting a session is a
bad idea.

This commit changes the code to only emit session-activated when
the user explicitly activates a session item from the gear menu.

Note, we no longer set the active session explicitly at start up.
This is a good thing since the item we were picking wasn't
necessarily correct.  It does means if GDM fails to inform us
about the correct default session we'll now show no bullet instead
of a bullet on the wrong item.

https://bugzilla.gnome.org/show_bug.cgi?id=740142
2018-02-20 10:27:08 -05:00
..
extensionPrefs Define classes with 'var' instead of 'const' 2017-07-18 21:52:06 +02:00
gdm loginDialog: only emit session-activated on user action 2018-02-20 10:27:08 -05:00
misc misc: Make IBus a mandatory dependency 2018-02-05 17:46:57 +01:00
perf Revert accidental commit "Test stuff" 2014-09-03 13:47:18 -04:00
portalHelper Define classes with 'var' instead of 'const' 2017-07-18 21:52:06 +02:00
ui keyboard: Set 'latched' pseudo-class on latched shift key 2018-02-15 19:36:48 +01:00
js-resources.gresource.xml thunderbolt: add policy provider and indicator 2018-02-05 21:38:49 +01:00
meson.build build: Support the meson build system 2017-07-20 00:20:54 +02:00