- fixes the Keymap preflet instead, as suggested by korli.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24015 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Alexandre Deckner 2008-02-19 12:43:52 +00:00
parent ddb44fda2c
commit 644c84564a
2 changed files with 5 additions and 1 deletions

View File

@ -358,7 +358,6 @@ AddSymlinkToHaikuImage home config settings
: /boot/beos/etc/timezones/Europe/Paris : timezone ;
AddFilesToHaikuImage home config settings : <keymap>US-International : Key_map ;
AddDirectoryToHaikuImage home config settings Keymap ;
# bison files
SEARCH on <bison>m4sugar.m4

View File

@ -93,6 +93,11 @@ KeymapWindow::KeymapWindow()
entry_ref ref;
get_ref_for_path(path.Path(), &ref);
BDirectory userKeymapsDir(&ref);
if (userKeymapsDir.InitCheck() != B_OK) {
create_directory(path.Path(), 0777);
}
fOpenPanel = new BFilePanel(B_OPEN_PANEL, new BMessenger(this), &ref,
B_FILE_NODE, false, NULL);
fSavePanel = new BFilePanel(B_SAVE_PANEL, new BMessenger(this), &ref,