summaryrefslogtreecommitdiff
path: root/src/gui/minimap.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2008-12-17 22:13:24 +0100
committerBjørn Lindeijer <bjorn@lindeijer.nl>2008-12-17 22:13:24 +0100
commitfcc90586d1d1631c31b2799fdaf410af1b073cf0 (patch)
tree589d81d377b087ac607b4a79a2eea065ee9c5893 /src/gui/minimap.cpp
parent1b3cb122be1a418ce82b66fb9ce1ecf3aa5813fb (diff)
downloadmana-fcc90586d1d1631c31b2799fdaf410af1b073cf0.tar.gz
mana-fcc90586d1d1631c31b2799fdaf410af1b073cf0.tar.bz2
mana-fcc90586d1d1631c31b2799fdaf410af1b073cf0.tar.xz
mana-fcc90586d1d1631c31b2799fdaf410af1b073cf0.zip
Reintroduced window name property
Still used in the eAthena client and it seems saner to me to have it.
Diffstat (limited to 'src/gui/minimap.cpp')
-rw-r--r--src/gui/minimap.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/minimap.cpp b/src/gui/minimap.cpp
index 02d20d8e..f7749755 100644
--- a/src/gui/minimap.cpp
+++ b/src/gui/minimap.cpp
@@ -34,8 +34,9 @@ Minimap::Minimap():
Window(_("MiniMap")),
mMapImage(NULL)
{
- setDefaultSize(0, 0, 100, 100);
- loadWindowState("MiniMap");
+ setWindowName("MiniMap");
+ setDefaultSize(5, 25, 100, 100);
+ loadWindowState();
// LEEOR: The Window class needs to modified to accept
// setAlignment calls.
setAlignment(gcn::Graphics::CENTER);