summaryrefslogtreecommitdiff
path: root/src/gui/buy.cpp
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2009-01-20 13:31:58 -0700
committerIra Rice <irarice@gmail.com>2009-01-20 13:31:58 -0700
commit81307dac7d573af4c50eca983843a9575e1b3f03 (patch)
tree15e2bdb15584d49cc2ff371d5d173fa9ddfe73c8 /src/gui/buy.cpp
parent6498f9a6b140385b1614fe59abc4f5981d050050 (diff)
downloadmana-client-81307dac7d573af4c50eca983843a9575e1b3f03.tar.gz
mana-client-81307dac7d573af4c50eca983843a9575e1b3f03.tar.bz2
mana-client-81307dac7d573af4c50eca983843a9575e1b3f03.tar.xz
mana-client-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.cpp2
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);