GNOME Bugzilla – Bug 720017
sessionMode fixes
Last modified: 2013-12-07 09:11:32 UTC
Both listing modes and using non-builtin modes (classic!) are completely borked at the moment - see patches.
Created attachment 263697 [details] [review] sessionMode: Fix left-over variable in _loadMode() Commit da4238ec681c7ca dropped a variable, but didn't replace all consumers.
Created attachment 263698 [details] [review] sessionMode: Rename _getModes() Since commit da4238ec681c7ca, the function doesn't return anything, so rename it to _loadModes() to reflect this.
Created attachment 263699 [details] [review] sessionMode: Fix listModes() Commit da4238ec681c7ca just broke that function completely by calling array methods on objects and other funny stuff. Fix it.
Created attachment 263700 [details] [review] sessionMode: Add back external session modes Since commit da4238ec681c7ca, external session modes are no longer loaded during start-up; bring them back.
Review of attachment 263697 [details] [review]: OK.
Review of attachment 263698 [details] [review]: You could also make it return 'modes' instead, I suppose, but this is OK.
Review of attachment 263699 [details] [review]: Yep.
Review of attachment 263700 [details] [review]: Sure.
Attachment 263697 [details] pushed as 46bac30 - sessionMode: Fix left-over variable in _loadMode() Attachment 263698 [details] pushed as c9f2a0f - sessionMode: Rename _getModes() Attachment 263699 [details] pushed as 4d9a16f - sessionMode: Fix listModes() Attachment 263700 [details] pushed as 8e668ca - sessionMode: Add back external session modes