MP Lobby: removed Refresh button
I'm not 100% sure about this change, but I think its presence was rather confusing and
it (hopefully) shouldn't ever be needed.
(cherry-picked from commit fe10bc0315
)
This commit is contained in:
parent
f6c9458b72
commit
650121a8de
2 changed files with 12 additions and 37 deletions
|
@ -437,31 +437,22 @@
|
|||
|
||||
#define _GUI_CONTROL_AREA
|
||||
[grid]
|
||||
[row]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_grow = true
|
||||
[button]
|
||||
id = "quit"
|
||||
definition = "large"
|
||||
label = _ "Log Out"
|
||||
[/button]
|
||||
[/column]
|
||||
[/row]
|
||||
[row]
|
||||
[column]
|
||||
horizontal_grow = true
|
||||
[grid]
|
||||
[row]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
[button]
|
||||
id = "quit"
|
||||
definition = "large"
|
||||
label = _ "Log Out"
|
||||
[/button]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
[button]
|
||||
id = "refresh"
|
||||
definition = "large"
|
||||
label = _ "Refresh"
|
||||
[/button]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
|
||||
|
@ -591,18 +582,6 @@
|
|||
[/label]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
grow_factor = 0
|
||||
border = "left,right,top"
|
||||
horizontal_alignment = "right"
|
||||
border_size = 5
|
||||
[button]
|
||||
id = "refresh"
|
||||
definition = "default"
|
||||
label = _ "Refresh"
|
||||
[/button]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
grow_factor = 0
|
||||
horizontal_alignment = "right"
|
||||
|
|
|
@ -747,10 +747,6 @@ void mp_lobby::pre_show(window& window)
|
|||
|
||||
find_widget<button>(&window, "create", false).set_retval(CREATE);
|
||||
|
||||
connect_signal_mouse_left_click(
|
||||
find_widget<button>(&window, "refresh", false),
|
||||
std::bind(&mp_lobby::refresh_lobby, this));
|
||||
|
||||
connect_signal_mouse_left_click(
|
||||
find_widget<button>(&window, "show_preferences", false),
|
||||
std::bind(&mp_lobby::show_preferences_button_callback, this, std::ref(window)));
|
||||
|
|
Loading…
Add table
Reference in a new issue