aboutsummaryrefslogtreecommitdiff
path: root/src/Workspace.cc
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-04-04 11:28:19 (GMT)
committerfluxgen <fluxgen>2002-04-04 11:28:19 (GMT)
commit2526e4bce821eedcd4bcc13e0f27ac7b9e255350 (patch)
treef86898efe146ecb882e597955e1e94b375154b19 /src/Workspace.cc
parentbd05695cfa6d066e5e5368d857eef8c0b11987c1 (diff)
downloadfluxbox-2526e4bce821eedcd4bcc13e0f27ac7b9e255350.zip
fluxbox-2526e4bce821eedcd4bcc13e0f27ac7b9e255350.tar.bz2
moved nls defines to enums in namespace FBNLS
Diffstat (limited to 'src/Workspace.cc')
-rw-r--r--src/Workspace.cc8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/Workspace.cc b/src/Workspace.cc
index 761cdb1..6b93c5d 100644
--- a/src/Workspace.cc
+++ b/src/Workspace.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: Workspace.cc,v 1.16 2002/04/03 23:04:01 fluxgen Exp $ 25// $Id: Workspace.cc,v 1.17 2002/04/04 11:28:19 fluxgen Exp $
26 26
27// use GNU extensions 27// use GNU extensions
28#ifndef _GNU_SOURCE 28#ifndef _GNU_SOURCE
@@ -351,11 +351,7 @@ void Workspace::setName(char *new_name) {
351 char tname[128]; 351 char tname[128];
352 sprintf(tname, I18n::instance()-> 352 sprintf(tname, I18n::instance()->
353 getMessage( 353 getMessage(
354#ifdef NLS 354 FBNLS::WorkspaceSet, FBNLS::WorkspaceDefaultNameFormat,
355 WorkspaceSet, WorkspaceDefaultNameFormat,
356#else // !NLS
357 0, 0,
358#endif // NLS
359 "Workspace %d"), id + 1); 355 "Workspace %d"), id + 1);
360 name = tname; 356 name = tname;
361 } 357 }