aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/Menu.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/FbTk/Menu.cc
parent073065ac56b388db1169108d44f37d32f1d19c67 (diff)
downloadfluxbox_pavel-fff4456dee29e675d7f2ed3490db39bcb7e10e53.zip
fluxbox_pavel-fff4456dee29e675d7f2ed3490db39bcb7e10e53.tar.bz2
update NLS string handling...
Diffstat (limited to 'src/FbTk/Menu.cc')
-rw-r--r--src/FbTk/Menu.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/FbTk/Menu.cc b/src/FbTk/Menu.cc
index 60c40f8..8736edf 100644
--- a/src/FbTk/Menu.cc
+++ b/src/FbTk/Menu.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: Menu.cc,v 1.60 2004/05/17 15:01:32 rathnor Exp $ 25// $Id: Menu.cc,v 1.61 2004/06/07 11:46:05 rathnor Exp $
26 26
27//use GNU extensions 27//use GNU extensions
28#ifndef _GNU_SOURCE 28#ifndef _GNU_SOURCE
@@ -38,6 +38,7 @@
38#include "EventManager.hh" 38#include "EventManager.hh"
39#include "Transparent.hh" 39#include "Transparent.hh"
40#include "SimpleCommand.hh" 40#include "SimpleCommand.hh"
41#include "I18n.hh"
41 42
42#include <X11/Xatom.h> 43#include <X11/Xatom.h>
43#include <X11/keysym.h> 44#include <X11/keysym.h>
@@ -495,7 +496,8 @@ void Menu::update(int active_index) {
495 menu.frame.depth()); 496 menu.frame.depth());
496 497
497 if (m_frame_pm.drawable() == 0) { 498 if (m_frame_pm.drawable() == 0) {
498 cerr<<"FbTk::Menu: Warning: Failed to create pixmap ("<< 499 _FB_USES_NLS;
500 cerr<<"FbTk::Menu: "<<_FBTKTEXT(Error, CreatePixmap, "Error creating pixmap", "Couldn't create a pixmap - image - for some reason")<<" ("<<
499 menu.frame.window()<<", "<<menu.frame.width()<<", "<< 501 menu.frame.window()<<", "<<menu.frame.width()<<", "<<
500 menu.frame.height()<< 502 menu.frame.height()<<
501 ", "<<menu.frame.depth()<<") !"<<endl; 503 ", "<<menu.frame.depth()<<") !"<<endl;