diff options
author | Ira Rice <irarice@gmail.com> | 2009-01-25 19:51:39 -0700 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2009-01-25 19:51:39 -0700 |
commit | 0221a7bacfbf3246028a5d4f7ffd31ab968a22a1 (patch) | |
tree | 2a28948ac917819dd08f3cd0dc33140ca58fea7b /src/gui/setup.cpp | |
parent | f75f2025025cc651dabf25403111156b8b908ee4 (diff) | |
download | mana-0221a7bacfbf3246028a5d4f7ffd31ab968a22a1.tar.gz mana-0221a7bacfbf3246028a5d4f7ffd31ab968a22a1.tar.bz2 mana-0221a7bacfbf3246028a5d4f7ffd31ab968a22a1.tar.xz mana-0221a7bacfbf3246028a5d4f7ffd31ab968a22a1.zip |
Fixed a few translatable strings.
Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/gui/setup.cpp')
-rw-r--r-- | src/gui/setup.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/setup.cpp b/src/gui/setup.cpp index dd0f94e5..d18f365c 100644 --- a/src/gui/setup.cpp +++ b/src/gui/setup.cpp @@ -68,7 +68,7 @@ Setup::Setup(): add(btn); // Disable this button when the windows aren't created yet - if (!strcmp(*curBtn, _("Reset Windows"))) + if (!strcmp(*curBtn, "Reset Windows")) btn->setEnabled(statusWindow != NULL); } @@ -113,17 +113,17 @@ Setup::~Setup() void Setup::action(const gcn::ActionEvent &event) { - if (event.getId() == _("Apply")) + if (event.getId() == "Apply") { setVisible(false); for_each(mTabs.begin(), mTabs.end(), std::mem_fun(&SetupTab::apply)); } - else if (event.getId() == _("Cancel")) + else if (event.getId() == "Cancel") { setVisible(false); for_each(mTabs.begin(), mTabs.end(), std::mem_fun(&SetupTab::cancel)); } - else if (event.getId() == _("Reset Windows")) + else if (event.getId() == "Reset Windows") { // Bail out if this action happens to be activated before the windows // are created (though it should be disabled then) |