Ticket #3209: terminalPrefColorNames.diff

File terminalPrefColorNames.diff, 1.8 KB (added by umccullough, 15 years ago)

Patch to fix #2 and #3 (attaching for mmadia)

Line 
1Index: src/apps/terminal/PrefWindow.cpp
2===================================================================
3--- src/apps/terminal/PrefWindow.cpp (revision 28881)
4+++ src/apps/terminal/PrefWindow.cpp (working copy)
5 -23,7 +23,7 @@
6
7
8 PrefWindow::PrefWindow(BMessenger messenger)
9- : BWindow(_CenteredRect(BRect(0, 0, 350, 215)), "Terminal Settings",
10+ : BWindow(_CenteredRect(BRect(0, 0, 350, 215)), "Terminal Preferences",
11 B_TITLED_WINDOW_LOOK, B_NORMAL_WINDOW_FEEL,
12 B_NOT_RESIZABLE|B_NOT_ZOOMABLE),
13 fPreviousPref(new PrefHandler(PrefHandler::Default())),
14Index: src/apps/terminal/TermConst.h
15===================================================================
16--- src/apps/terminal/TermConst.h (revision 28881)
17+++ src/apps/terminal/TermConst.h (working copy)
18 -97,12 +97,12 @@
19 const char* const PREF_HALF_FONT_STYLE = "Half Font Style";
20 const char* const PREF_HALF_FONT_SIZE = "Half Font Size";
21
22-const char* const PREF_TEXT_FORE_COLOR = "Text Foreground Color";
23-const char* const PREF_TEXT_BACK_COLOR = "Text Background Color";
24-const char* const PREF_SELECT_FORE_COLOR = "Selection Foreground Color";
25-const char* const PREF_SELECT_BACK_COLOR = "Selection Background Color";
26-const char* const PREF_CURSOR_FORE_COLOR = "Cursor Foreground Color";
27-const char* const PREF_CURSOR_BACK_COLOR = "Cursor Background Color";
28+const char* const PREF_TEXT_FORE_COLOR = "Text";
29+const char* const PREF_TEXT_BACK_COLOR = "Background";
30+const char* const PREF_SELECT_FORE_COLOR = "Selected Text";
31+const char* const PREF_SELECT_BACK_COLOR = "Selected Background";
32+const char* const PREF_CURSOR_FORE_COLOR = "Cursor Text";
33+const char* const PREF_CURSOR_BACK_COLOR = "Cursor Background";
34
35 const char* const PREF_IM_FORE_COLOR = "IM Foreground Color";
36 const char* const PREF_IM_BACK_COLOR = "IM Background Color";