Merge lp:~widelands-dev/widelands/bug-1827182-sort-client-list into lp:widelands
Proposed by
Toni Förster
Status: | Merged |
---|---|
Merged at revision: | 9097 |
Proposed branch: | lp:~widelands-dev/widelands/bug-1827182-sort-client-list |
Merge into: | lp:widelands |
Diff against target: |
186 lines (+42/-16) 6 files modified
src/network/internet_gaming.cc (+10/-11) src/ui_basic/panel.h (+1/-2) src/ui_fsmenu/internet_lobby.cc (+12/-3) src/ui_fsmenu/launch_mpg.cc (+6/-0) src/wui/game_chat_panel.cc (+12/-0) src/wui/game_chat_panel.h (+1/-0) |
To merge this branch: | bzr merge lp:~widelands-dev/widelands/bug-1827182-sort-client-list |
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
GunChleoc | Approve | ||
Review via email: mp+366843@code.launchpad.net |
Commit message
sort the lobby client list by client type admin->irc
The admin users will be on top of the list, followed by registered
and unregistered. IRC user are at the bottom as they are already.
IRC user's join/part messages will also be displayed
Set focus to chat input in lobby & mp by default.
Clicking on the chatbox gives focus to input field. Clicking on any
other UI element removes focus.
To post a comment you must log in.
I do need some help here. This is good as it is now, but I'd like to sort the irc/superuser/ registered list alphabetically before inserting them into clientlist_. Can some tell me how to do this.