summaryrefslogtreecommitdiff
path: root/src/gui/registerdialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-14 18:50:27 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-14 18:50:27 +0300
commit066488a6f4d086b57f4fe32e8799c207552cccb7 (patch)
tree2c73d80030ff0da73fc5f5b4b664a34030a51633 /src/gui/registerdialog.cpp
parent0b3aafe2859d9ea1c4009eed8a87f69c41cbc14b (diff)
downloadmanaplus-066488a6f4d086b57f4fe32e8799c207552cccb7.tar.gz
manaplus-066488a6f4d086b57f4fe32e8799c207552cccb7.tar.bz2
manaplus-066488a6f4d086b57f4fe32e8799c207552cccb7.tar.xz
manaplus-066488a6f4d086b57f4fe32e8799c207552cccb7.zip
Add theming to labels.
New theme file: label.xml Parameters: padding
Diffstat (limited to 'src/gui/registerdialog.cpp')
-rw-r--r--src/gui/registerdialog.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/registerdialog.cpp b/src/gui/registerdialog.cpp
index 7beec0abc..8edc8fd80 100644
--- a/src/gui/registerdialog.cpp
+++ b/src/gui/registerdialog.cpp
@@ -79,9 +79,9 @@ RegisterDialog::RegisterDialog(LoginData *const data):
{
int optionalActions = Net::getLoginHandler()->supportedOptionalActions();
- gcn::Label *const userLabel = new Label(_("Name:"));
- gcn::Label *const passwordLabel = new Label(_("Password:"));
- gcn::Label *const confirmLabel = new Label(_("Confirm:"));
+ Label *const userLabel = new Label(_("Name:"));
+ Label *const passwordLabel = new Label(_("Password:"));
+ Label *const confirmLabel = new Label(_("Confirm:"));
ContainerPlacer placer;
placer = getPlacer(0, 0);
@@ -117,7 +117,7 @@ RegisterDialog::RegisterDialog(LoginData *const data):
if (optionalActions & Net::LoginHandler::SetEmailOnRegister)
{
- gcn::Label *const emailLabel = new Label(_("Email:"));
+ Label *const emailLabel = new Label(_("Email:"));
mEmailField = new TextField;
placer(0, row, emailLabel);
placer(1, row, mEmailField, 3).setPadding(2);