aboutsummaryrefslogtreecommitdiff
path: root/src/Gnome.cc
diff options
context:
space:
mode:
authorrathnor <rathnor>2004-06-07 11:46:05 (GMT)
committerrathnor <rathnor>2004-06-07 11:46:05 (GMT)
commitfff4456dee29e675d7f2ed3490db39bcb7e10e53 (patch)
tree2d2dbf386551773cbdc8231b2a93b493187bd733 /src/Gnome.cc
parent073065ac56b388db1169108d44f37d32f1d19c67 (diff)
downloadfluxbox-fff4456dee29e675d7f2ed3490db39bcb7e10e53.zip
fluxbox-fff4456dee29e675d7f2ed3490db39bcb7e10e53.tar.bz2
update NLS string handling...
Diffstat (limited to 'src/Gnome.cc')
-rw-r--r--src/Gnome.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Gnome.cc b/src/Gnome.cc
index dcfb029..a01e79b 100644
--- a/src/Gnome.cc
+++ b/src/Gnome.cc
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: Gnome.cc,v 1.34 2004/02/20 09:05:38 fluxgen Exp $ 22// $Id: Gnome.cc,v 1.35 2004/06/07 11:46:04 rathnor Exp $
23 23
24#include "Gnome.hh" 24#include "Gnome.hh"
25 25
@@ -28,6 +28,7 @@
28#include "Screen.hh" 28#include "Screen.hh"
29#include "WinClient.hh" 29#include "WinClient.hh"
30#include "Workspace.hh" 30#include "Workspace.hh"
31#include "FbTk/I18n.hh"
31 32
32#include <iostream> 33#include <iostream>
33#include <new> 34#include <new>
@@ -149,7 +150,8 @@ void Gnome::updateClientList(BScreen &screen) {
149 150
150 Window *wl = new Window[num]; 151 Window *wl = new Window[num];
151 if (wl == 0) { 152 if (wl == 0) {
152 cerr<<"Fatal: Out of memory, can't allocate ("<<num*sizeof (Window)<<") for gnome client list"<<endl; 153 _FB_USES_NLS;
154 cerr<<_FBTEXT(Gnome, OutOfMemoryClientList, "Fatal: Out of memory, can't allocate for GNOME client list", "")<<endl;
153 return; 155 return;
154 } 156 }
155 157