aboutsummaryrefslogtreecommitdiff
path: root/src/MenuCreator.cc
diff options
context:
space:
mode:
authorsimonb <simonb>2006-05-07 03:41:27 (GMT)
committersimonb <simonb>2006-05-07 03:41:27 (GMT)
commit520f552be79581be50156bb7785e7ef0ce946b07 (patch)
tree82edcbb794f6b89804a2a7f75e0122afcc074f94 /src/MenuCreator.cc
parent0e9fa988ff41cc32a390f70443669a6df45f3e44 (diff)
downloadfluxbox_pavel-520f552be79581be50156bb7785e7ef0ce946b07.zip
fluxbox_pavel-520f552be79581be50156bb7785e7ef0ce946b07.tar.bz2
handle utf-8 strings properly.
use utf8 internally
Diffstat (limited to 'src/MenuCreator.cc')
-rw-r--r--src/MenuCreator.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/MenuCreator.cc b/src/MenuCreator.cc
index f920321..bea6d57 100644
--- a/src/MenuCreator.cc
+++ b/src/MenuCreator.cc
@@ -188,6 +188,7 @@ static void translateMenuItem(Parser &parse, ParseItem &pitem) {
188 } else if (str_key == "nop") { 188 } else if (str_key == "nop") {
189 int menuSize = menu.insert(str_label.c_str()); 189 int menuSize = menu.insert(str_label.c_str());
190 menu.setItemEnabled(menuSize-1, false); 190 menu.setItemEnabled(menuSize-1, false);
191 menu.setItemEnabled(menuSize-1, false);
191 } else if (str_key == "icons") { 192 } else if (str_key == "icons") {
192 FbTk::Menu *submenu = MenuCreator::createMenuType("iconmenu", menu.screenNumber()); 193 FbTk::Menu *submenu = MenuCreator::createMenuType("iconmenu", menu.screenNumber());
193 if (submenu == 0) 194 if (submenu == 0)