Merge lp:~hjd/widelands/button-order into lp:widelands

Proposed by Hans Joachim Desserud
Status: Merged
Merged at revision: 6159
Proposed branch: lp:~hjd/widelands/button-order
Merge into: lp:widelands
Diff against target: 35 lines (+3/-3)
2 files modified
src/wui/interactive_spectator.cc (+1/-1)
src/wui/transport_ui.cc (+2/-2)
To merge this branch: bzr merge lp:~hjd/widelands/button-order
Reviewer Review Type Date Requested Status
Widelands Developers Pending
Review via email: mp+85249@code.launchpad.net

Description of the change

For details, see the bug report.

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/wui/interactive_spectator.cc'
2--- src/wui/interactive_spectator.cc 2011-11-30 21:38:37 +0000
3+++ src/wui/interactive_spectator.cc 2011-12-11 11:43:26 +0000
4@@ -71,7 +71,6 @@
5 m_toggle_minimap.sigclicked.connect(boost::bind(&Interactive_Spectator::toggle_minimap, this));
6
7 m_toolbar.set_layout_toplevel(true);
8- m_toolbar.add(&m_toggle_chat, UI::Box::AlignLeft);
9 if (!multiplayer) {
10 m_toolbar.add(&m_exit, UI::Box::AlignLeft);
11 m_toolbar.add(&m_save, UI::Box::AlignLeft);
12@@ -79,6 +78,7 @@
13 m_toolbar.add(&m_toggle_options_menu, UI::Box::AlignLeft);
14 m_toolbar.add(&m_toggle_statistics, UI::Box::AlignLeft);
15 m_toolbar.add(&m_toggle_minimap, UI::Box::AlignLeft);
16+ m_toolbar.add(&m_toggle_chat, UI::Box::AlignLeft);
17
18 // TODO : instead of making unneeded buttons invisible after generation,
19 // they should not at all be generated. -> implement more dynamic toolbar UI
20
21=== modified file 'src/wui/transport_ui.cc'
22--- src/wui/transport_ui.cc 2011-12-06 20:54:23 +0000
23+++ src/wui/transport_ui.cc 2011-12-11 11:43:26 +0000
24@@ -143,9 +143,9 @@
25 text, tooltip, m_can_act); \
26 b->sigclicked.connect(boost::bind(&Economy_Options_Ware_Panel::callback, this)); \
27 buttons->add(b, UI::Box::AlignCenter);
28- ADD_WARE_BUTTON(decrease_target, "-", _("Decrease target"))
29+ ADD_WARE_BUTTON(decrease_target, "-", _("Decrease target"))
30 b->set_repeating(true);
31- ADD_WARE_BUTTON(increase_target, "+", _("Increase target"))
32+ ADD_WARE_BUTTON(increase_target, "+", _("Increase target"))
33 b->set_repeating(true);
34 ADD_WARE_BUTTON(reset_target, "R", _("Reset to default"))
35 }

Subscribers

People subscribed via source and target branches

to status/vote changes: