aboutsummaryrefslogtreecommitdiff
path: root/src/FbCommands.cc
diff options
context:
space:
mode:
authorMathias Gumz <akira at fluxbox dot org>2010-09-08 18:17:21 (GMT)
committerMathias Gumz <akira at fluxbox dot org>2010-09-08 18:17:21 (GMT)
commit690d926ac444243611cd875fb84fabb4e6db2cf2 (patch)
treec8ef84056b295071f9a9207ffea5393c6cf4ad4d /src/FbCommands.cc
parent1e8fe2bc14856fa16508686a28a85e72cb0e422c (diff)
downloadfluxbox_pavel-690d926ac444243611cd875fb84fabb4e6db2cf2.zip
fluxbox_pavel-690d926ac444243611cd875fb84fabb4e6db2cf2.tar.bz2
introduced FbTk::BidiString
a 'BidiString' holds both the logical content and the visual reordered version of the content of a string. this helps to reduce the number of calls to reorder the string before drawing it (as introduced in the patch from Ken Bloom) and to be more consistent in menus and textboxes (drawing cursors and underlining text).
Diffstat (limited to 'src/FbCommands.cc')
-rw-r--r--src/FbCommands.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FbCommands.cc b/src/FbCommands.cc
index f050669..4b40f82 100644
--- a/src/FbCommands.cc
+++ b/src/FbCommands.cc
@@ -364,7 +364,7 @@ void ShowCustomMenuCmd::execute() {
364 364
365void ShowCustomMenuCmd::reload() { 365void ShowCustomMenuCmd::reload() {
366 m_menu->removeAll(); 366 m_menu->removeAll();
367 m_menu->setLabel(""); 367 m_menu->setLabel(FbTk::BiDiString(""));
368 MenuCreator::createFromFile(custom_menu_file, *m_menu.get(), m_menu->reloadHelper()); 368 MenuCreator::createFromFile(custom_menu_file, *m_menu.get(), m_menu->reloadHelper());
369} 369}
370 370