diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-06-01 03:03:12 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-06-01 03:07:13 +0300 |
commit | 09ebcebf32be3842d6158c3145492fbf2959440e (patch) | |
tree | 44970b335330ca56ab38d06f083fa005f1c53ca5 /src/gui/setup_other.cpp | |
parent | fdb8081a82ec85c9ff23a89a82f81240d8bcaec9 (diff) | |
download | manaverse-09ebcebf32be3842d6158c3145492fbf2959440e.tar.gz manaverse-09ebcebf32be3842d6158c3145492fbf2959440e.tar.bz2 manaverse-09ebcebf32be3842d6158c3145492fbf2959440e.tar.xz manaverse-09ebcebf32be3842d6158c3145492fbf2959440e.zip |
Add setup option for finding bad chars in nicks.
Highlight bad nicks on map with secure font.
Diffstat (limited to 'src/gui/setup_other.cpp')
-rw-r--r-- | src/gui/setup_other.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/gui/setup_other.cpp b/src/gui/setup_other.cpp index 311a06bb5..7ddc89e67 100644 --- a/src/gui/setup_other.cpp +++ b/src/gui/setup_other.cpp @@ -280,7 +280,7 @@ void Setup_Other::action(const gcn::ActionEvent &event) } else if (event.getId() == ACTION_EDIT_PROGRAM) { - mEditDialog = new EditDialog("Crazy Move A", + mEditDialog = new EditDialog(_("Crazy Move A"), mMoveProgramField->getText(), ACTION_EDIT_PROGRAM_OK); mEditDialog->addActionListener(this); } @@ -288,12 +288,13 @@ void Setup_Other::action(const gcn::ActionEvent &event) { mMoveProgramField->setText(mEditDialog->getMsg()); } - else if (event.getId() == ACTION_AFK) - mAfk = mAfkField->getText(); + { + mAfk = mAfkField->getText(); + } else if (event.getId() == ACTION_EDIT_AFK) { - mEditDialog = new EditDialog("Afk message", mAfkField->getText(), + mEditDialog = new EditDialog(_("Afk message"), mAfkField->getText(), ACTION_EDIT_AFK_OK); mEditDialog->addActionListener(this); } |