diff options
Diffstat (limited to 'src/FbTk/Menu.cc')
-rw-r--r-- | src/FbTk/Menu.cc | 6 |
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; |