-
-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add sorting langs #183
base: main
Are you sure you want to change the base?
Add sorting langs #183
Conversation
This PR seems to have a convoluted commit history. I know this will be squashed, but you should try to make a new branch from a freshly synced master branch. Does it make a difference if the region is inserted at position 1 instead of at position 0? |
(1, Gtk.SortType.ASCENDING); -> sort in alphabetical order (out iter, 1); -> auto region selection in alphabetical order For example (lang select -> region autoselect):
instead of:
|
4cda865
to
405ccb8
Compare
I'll try it out, but I do not see how the position at which the row is initially inserted will have an effect when the list will be sorted anyway. To be honest it might be simpler to implement this with GLib.ListStore. Gtk.ListStore seems overkill for a store containing a couple of strings (?) |
I just tried compiling your branch and changed the insert position back to |
You value the other person time? |
Adds translations sorting for inactive users .