[Xfce-bugs] [Bug 15338] The most recently used session should be the default in the session chooser
bugzilla-daemon at xfce.org
bugzilla-daemon at xfce.org
Sun May 5 00:43:11 CEST 2019
https://bugzilla.xfce.org/show_bug.cgi?id=15338
Simon Steinbeiss <ochosi at xfce.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ochosi at xfce.org
--- Comment #1 from Simon Steinbeiss <ochosi at xfce.org> ---
As far as I can tell it simply loads them from top to bottom from the rc file
which I think - as far as I can tell from the code - is unsorted.
The "last access time" is stored and available in the function that loads the
sessions, so instead of gtk_list_store_append you'd have to implement
g_list_store_insert_sorted with a compare_func that sorts by ATIME.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Xfce-bugs
mailing list