diff options
author | fluxgen <fluxgen> | 2002-04-04 11:28:19 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2002-04-04 11:28:19 (GMT) |
commit | 2526e4bce821eedcd4bcc13e0f27ac7b9e255350 (patch) | |
tree | f86898efe146ecb882e597955e1e94b375154b19 /src/fluxbox.cc | |
parent | bd05695cfa6d066e5e5368d857eef8c0b11987c1 (diff) | |
download | fluxbox_pavel-2526e4bce821eedcd4bcc13e0f27ac7b9e255350.zip fluxbox_pavel-2526e4bce821eedcd4bcc13e0f27ac7b9e255350.tar.bz2 |
moved nls defines to enums in namespace FBNLS
Diffstat (limited to 'src/fluxbox.cc')
-rw-r--r-- | src/fluxbox.cc | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/src/fluxbox.cc b/src/fluxbox.cc index aa53087..aaeb466 100644 --- a/src/fluxbox.cc +++ b/src/fluxbox.cc | |||
@@ -22,7 +22,7 @@ | |||
22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
23 | // DEALINGS IN THE SOFTWARE. | 23 | // DEALINGS IN THE SOFTWARE. |
24 | 24 | ||
25 | // $Id: fluxbox.cc,v 1.43 2002/04/02 23:13:38 fluxgen Exp $ | 25 | // $Id: fluxbox.cc,v 1.44 2002/04/04 11:28:19 fluxgen Exp $ |
26 | 26 | ||
27 | //Use some GNU extensions | 27 | //Use some GNU extensions |
28 | #ifndef _GNU_SOURCE | 28 | #ifndef _GNU_SOURCE |
@@ -380,11 +380,7 @@ key(0) | |||
380 | fprintf(stderr, | 380 | fprintf(stderr, |
381 | i18n-> | 381 | i18n-> |
382 | getMessage( | 382 | getMessage( |
383 | #ifdef NLS | 383 | FBNLS::blackboxSet, FBNLS::blackboxNoManagableScreens, |
384 | blackboxSet, blackboxNoManagableScreens, | ||
385 | #else // !NLS | ||
386 | 0, 0, | ||
387 | #endif // NLS | ||
388 | "Fluxbox::Fluxbox: no managable screens found, aborting.\n")); | 384 | "Fluxbox::Fluxbox: no managable screens found, aborting.\n")); |
389 | 385 | ||
390 | throw static_cast<int>(3); | 386 | throw static_cast<int>(3); |
@@ -602,13 +598,9 @@ void Fluxbox::process_event(XEvent *e) { | |||
602 | fprintf(stderr, | 598 | fprintf(stderr, |
603 | I18n::instance()-> | 599 | I18n::instance()-> |
604 | getMessage( | 600 | getMessage( |
605 | #ifdef NLS | 601 | FBNLS::blackboxSet, FBNLS::blackboxMapRequest, |
606 | blackboxSet, blackboxMapRequest, | ||
607 | #else // !NLS | ||
608 | 0, 0, | ||
609 | #endif // NLS | ||
610 | "Fluxbox::process_event(): MapRequest for 0x%lx\n"), | 602 | "Fluxbox::process_event(): MapRequest for 0x%lx\n"), |
611 | e->xmaprequest.window); | 603 | e->xmaprequest.window); |
612 | #endif // DEBUG | 604 | #endif // DEBUG |
613 | 605 | ||
614 | #ifdef SLIT | 606 | #ifdef SLIT |