https://bugzilla.xfce.org/show_bug.cgi?id=15338
Bug ID: 15338
Summary: The most recently used session should be the default
in the session chooser
Classification: Xfce Core
Product: Xfce4-session
Version: Unspecified
Hardware: PC (x86_64)
OS: Linux
Status: NEW
Severity: normal
Priority: Medium
Component: General
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: Xfce 4.14
If there are multiple sessions in the list it's not the most recently used one
that is in the top of the list and selected. It's actually sorted the other way
around (at least for me, maybe the order is simply undefined).
To fix the session order I get the expected result (the most recently used
session selected) by simply replacing gtk_list_store_append() with
gtk_list_store_prepend() in xfsm_chooser_set_sessions(). But I don't know how
the list of sessions sent to this function is supposed to be sorted. Is it
perhaps better to fix it in the caller? Or perhaps assume the list is unsorted
and sort it on access time before adding the sessions to the list store?
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Xfce-bugs mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce-bugs