aboutsummaryrefslogtreecommitdiff
path: root/src/IconMenu.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/IconMenu.cc
parent073065ac56b388db1169108d44f37d32f1d19c67 (diff)
downloadfluxbox_pavel-fff4456dee29e675d7f2ed3490db39bcb7e10e53.zip
fluxbox_pavel-fff4456dee29e675d7f2ed3490db39bcb7e10e53.tar.bz2
update NLS string handling...
Diffstat (limited to 'src/IconMenu.cc')
-rw-r--r--src/IconMenu.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/IconMenu.cc b/src/IconMenu.cc
index 16d7b27..f631b3a 100644
--- a/src/IconMenu.cc
+++ b/src/IconMenu.cc
@@ -19,14 +19,14 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: IconMenu.cc,v 1.1 2004/05/02 20:51:36 fluxgen Exp $ 22// $Id: IconMenu.cc,v 1.2 2004/06/07 11:46:04 rathnor Exp $
23 23
24#include "IconMenu.hh" 24#include "IconMenu.hh"
25 25
26#include "Screen.hh" 26#include "Screen.hh"
27#include "IconMenuItem.hh" 27#include "IconMenuItem.hh"
28#include "fluxbox.hh" 28#include "fluxbox.hh"
29#include "I18n.hh" 29#include "FbTk/I18n.hh"
30 30
31static void updateItems(FbTk::Menu &menu, BScreen &screen) { 31static void updateItems(FbTk::Menu &menu, BScreen &screen) {
32 menu.removeAll(); 32 menu.removeAll();
@@ -47,8 +47,8 @@ IconMenu::IconMenu(BScreen &screen):
47 *screen.layerManager(). 47 *screen.layerManager().
48 getLayer(Fluxbox::instance()->getMenuLayer())) { 48 getLayer(Fluxbox::instance()->getMenuLayer())) {
49 49
50 setLabel(I18n::instance()->getMessage(FBNLS::IconSet, 50 _FB_USES_NLS;
51 FBNLS::IconIcons, "Icons")); 51 setLabel(_FBTEXT(Menu, Icons, "Icons", "Iconic windows menu title"));
52 screen.iconListSig().attach(this); 52 screen.iconListSig().attach(this);
53 updateItems(*this, screen); 53 updateItems(*this, screen);
54} 54}