diff options
author | simonb <simonb> | 2006-05-20 15:08:14 (GMT) |
---|---|---|
committer | simonb <simonb> | 2006-05-20 15:08:14 (GMT) |
commit | 0861f3a9073ccd016302af26ff992fa19331a02d (patch) | |
tree | f1a2276449a5fc9b27f2d1afa5ffff4410141345 /src/FbTk/MenuIcon.cc | |
parent | 5ddabb0f390f69db793b5a6e40be9f94b8f83136 (diff) | |
download | fluxbox_pavel-0861f3a9073ccd016302af26ff992fa19331a02d.zip fluxbox_pavel-0861f3a9073ccd016302af26ff992fa19331a02d.tar.bz2 |
improve native language handling, move messages and menu labels to
FbTk::FbString
Diffstat (limited to 'src/FbTk/MenuIcon.cc')
-rw-r--r-- | src/FbTk/MenuIcon.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/FbTk/MenuIcon.cc b/src/FbTk/MenuIcon.cc index aa71b5d..d64d876 100644 --- a/src/FbTk/MenuIcon.cc +++ b/src/FbTk/MenuIcon.cc | |||
@@ -30,8 +30,8 @@ | |||
30 | 30 | ||
31 | namespace FbTk { | 31 | namespace FbTk { |
32 | 32 | ||
33 | MenuIcon::MenuIcon(const std::string &filename, const std::string &label, int screen_num): | 33 | MenuIcon::MenuIcon(const std::string &filename, FbString &label, int screen_num): |
34 | MenuItem(label.c_str()), | 34 | MenuItem(label), |
35 | m_filename(filename) { | 35 | m_filename(filename) { |
36 | FbTk::PixmapWithMask *pm = Image::load(filename.c_str(), screen_num); | 36 | FbTk::PixmapWithMask *pm = Image::load(filename.c_str(), screen_num); |
37 | if (pm != 0) { | 37 | if (pm != 0) { |