From 066488a6f4d086b57f4fe32e8799c207552cccb7 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 14 Oct 2012 18:50:27 +0300 Subject: Add theming to labels. New theme file: label.xml Parameters: padding --- src/gui/registerdialog.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/gui/registerdialog.cpp') 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); -- cgit v1.2.3-70-g09d2