From b8fe83c4e48a95f44cbe7f889c5a1e3977fce52e Mon Sep 17 00:00:00 2001 From: markt Date: Wed, 2 Aug 2006 18:38:09 +0000 Subject: fix ClickTabFocus and MouseTabFocus in nls --- ChangeLog | 3 +++ src/Screen.cc | 13 ++++++------- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index 15f7673..32949f4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ (Format: Year/Month/Day) Changes for 1.0rc3: +*06/08/02: + * Fix ClickTabFocus and MouseTabFocus in nls (Thanks Antonio Gomes) + Screen.cc *06/07/30: * List windows in iconbar in creation order (Mark) IconbarTool.cc/hh diff --git a/src/Screen.cc b/src/Screen.cc index 6e4907a..51189f2 100644 --- a/src/Screen.cc +++ b/src/Screen.cc @@ -1617,13 +1617,12 @@ void BScreen::setupConfigmenu(FbTk::Menu &menu) { FocusControl::MOUSEFOCUS); #undef _FOCUSITEM - focus_menu->insert(new TabFocusModelMenuItem("ClickTabFocus", focusControl(), - FocusControl::CLICKTABFOCUS, - save_and_reconfigure)); - focus_menu->insert(new TabFocusModelMenuItem("MouseTabFocus", focusControl(), - FocusControl::MOUSETABFOCUS, - save_and_reconfigure)); - + focus_menu->insert(new TabFocusModelMenuItem(_FB_XTEXT(Configmenu, + ClickTabFocus, "ClickTabFocus", "Click tab to focus windows"), + focusControl(), FocusControl::CLICKTABFOCUS, save_and_reconfigure)); + focus_menu->insert(new TabFocusModelMenuItem(_FB_XTEXT(Configmenu, + MouseTabFocus, "MouseTabFocus", "Hover over tab to focus windows"), + focusControl(), FocusControl::MOUSETABFOCUS, save_and_reconfigure)); focus_menu->insert(new BoolMenuItem(_FB_XTEXT(Configmenu, AutoRaise, -- cgit v0.11.2