diff options
author | Ira Rice <irarice@gmail.com> | 2009-01-20 13:31:58 -0700 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2009-01-20 13:31:58 -0700 |
commit | 81307dac7d573af4c50eca983843a9575e1b3f03 (patch) | |
tree | 15e2bdb15584d49cc2ff371d5d173fa9ddfe73c8 /src/gui/buy.cpp | |
parent | 6498f9a6b140385b1614fe59abc4f5981d050050 (diff) | |
download | mana-81307dac7d573af4c50eca983843a9575e1b3f03.tar.gz mana-81307dac7d573af4c50eca983843a9575e1b3f03.tar.bz2 mana-81307dac7d573af4c50eca983843a9575e1b3f03.tar.xz mana-81307dac7d573af4c50eca983843a9575e1b3f03.zip |
Reflowed NPC text dialog to use the layout code, so that window resizing
isn't broken. Also added a string which should be translated in the Buy
class for substitution by gettext.
Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/gui/buy.cpp')
-rw-r--r-- | src/gui/buy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/buy.cpp b/src/gui/buy.cpp index 0717efa6..496c8cd7 100644 --- a/src/gui/buy.cpp +++ b/src/gui/buy.cpp @@ -42,7 +42,7 @@ BuyDialog::BuyDialog(Network *network): Window(_("Buy")), mNetwork(network), mMoney(0), mAmountItems(0), mMaxItems(0) { - setWindowName("Buy"); + setWindowName(_("Buy")); setResizable(true); setMinWidth(260); setMinHeight(230); |