[haiku-commits] haiku: hrev48299 - src/apps/firstbootprompt

  • From: pulkomandy@xxxxxxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Fri, 14 Nov 2014 16:52:20 +0100 (CET)

hrev48299 adds 1 changeset to branch 'master'
old head: 3c3eb0976021c2ed1f4fd6c1c4b853c8d17888db
new head: 8d9fab1be9588715463e90c182441fdc4f7d4f48
overview: http://cgit.haiku-os.org/haiku/log/?qt=range&q=8d9fab1+%5E3c3eb09

----------------------------------------------------------------------------

8d9fab1: FirstBootPrompt: focus the language list
  
  Make it possible to easily use the window with only the keyboard.

                                 [ Adrien Destugues <pulkomandy@xxxxxxxxx> ]

----------------------------------------------------------------------------

Revision:    hrev48299
Commit:      8d9fab1be9588715463e90c182441fdc4f7d4f48
URL:         http://cgit.haiku-os.org/haiku/commit/?id=8d9fab1
Author:      Adrien Destugues <pulkomandy@xxxxxxxxx>
Date:        Fri Nov 14 15:51:44 2014 UTC

----------------------------------------------------------------------------

1 file changed, 3 insertions(+), 1 deletion(-)
src/apps/firstbootprompt/BootPromptWindow.cpp | 4 +++-

----------------------------------------------------------------------------

diff --git a/src/apps/firstbootprompt/BootPromptWindow.cpp 
b/src/apps/firstbootprompt/BootPromptWindow.cpp
index 9576561..b64b572 100644
--- a/src/apps/firstbootprompt/BootPromptWindow.cpp
+++ b/src/apps/firstbootprompt/BootPromptWindow.cpp
@@ -63,7 +63,7 @@ static const char* kLanguageKeymapMappings[] = {
        "Dutch", "US-International"
 };
 static const size_t kLanguageKeymapMappingsSize
-        = sizeof(kLanguageKeymapMappings) / sizeof(kLanguageKeymapMappings[0]);
+       = sizeof(kLanguageKeymapMappings) / sizeof(kLanguageKeymapMappings[0]);
 
 
 class LanguageItem : public BStringItem {
@@ -215,6 +215,8 @@ BootPromptWindow::BootPromptWindow()
                .View()
        );
 
+       fLanguagesListView->MakeFocus();
+
        _UpdateStrings();
        CenterOnScreen();
        Show();


Other related posts:

  • » [haiku-commits] haiku: hrev48299 - src/apps/firstbootprompt - pulkomandy