summaryrefslogtreecommitdiff
path: root/src/gui/login.cpp
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2009-02-03 16:33:18 -0700
committerIra Rice <irarice@gmail.com>2009-02-03 16:33:18 -0700
commit7d45452187b1c2911b688bbed5fb8981a67b1934 (patch)
tree173857b19d0662837a48178739412aec908b040e /src/gui/login.cpp
parent8857a59c3818c1ce6eeb6c054cb5543bfc35c087 (diff)
downloadmana-client-7d45452187b1c2911b688bbed5fb8981a67b1934.tar.gz
mana-client-7d45452187b1c2911b688bbed5fb8981a67b1934.tar.bz2
mana-client-7d45452187b1c2911b688bbed5fb8981a67b1934.tar.xz
mana-client-7d45452187b1c2911b688bbed5fb8981a67b1934.zip
Modified the dropdown class to handle opacity.
Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/gui/login.cpp')
-rw-r--r--src/gui/login.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/login.cpp b/src/gui/login.cpp
index 84e10e97..408456ef 100644
--- a/src/gui/login.cpp
+++ b/src/gui/login.cpp
@@ -63,7 +63,7 @@ LoginDialog::LoginDialog(LoginData *loginData):
dfltPort.push_back("21001");
mServerList = new DropDownList("MostRecent00", dfltServer, dfltPort,
MAX_SERVER_LIST_SIZE);
- mServerListBox = new gcn::ListBox(mServerList);
+ mServerListBox = new ListBox(mServerList);
mServerScrollArea = new ScrollArea();
mUserField = new TextField(mLoginData->username);
@@ -73,6 +73,7 @@ LoginDialog::LoginDialog(LoginData *loginData):
mServerDropDown = new DropDown(mServerList,
mServerScrollArea,
mServerListBox);
+ mServerDropDown->setOpaque(false);
mKeepCheck = new CheckBox(_("Keep"), mLoginData->remember);
mOkButton = new Button(_("OK"), "ok", this);