mirror of
https://review.haiku-os.org/haiku
synced 2024-11-23 07:18:40 +01:00
Terminal: Menu "Theme settings..." -> "Colors..."
"Colors" is simpler, better translatable and currently more correct. A "theme" is broader, including backgrounds, fonts, mouse cursor, sounds etc. For a Terminal it's mostly colours. Fonts are being handled in the "Settings" panel. Change-Id: Icf043fffbc64d976db7a71c28c41aeea0cdf44e6 Reviewed-on: https://review.haiku-os.org/c/haiku/+/5999 Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Reviewed-by: waddlesplash <waddlesplash@gmail.com> Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
This commit is contained in:
parent
979de7d73d
commit
281ece0b8a
@ -543,7 +543,7 @@ TermWindow::_SetupMenu()
|
||||
.AddSeparator()
|
||||
.AddItem(B_TRANSLATE("Settings" B_UTF8_ELLIPSIS), MENU_PREF_OPEN,
|
||||
',')
|
||||
.AddItem(B_TRANSLATE("Theme settings" B_UTF8_ELLIPSIS), MENU_THEME_OPEN)
|
||||
.AddItem(B_TRANSLATE("Colors" B_UTF8_ELLIPSIS), MENU_THEME_OPEN)
|
||||
.End();
|
||||
|
||||
AddChild(fMenuBar);
|
||||
|
@ -36,7 +36,7 @@ const uint32 MSG_REVERT_PRESSED = 'revt';
|
||||
|
||||
ThemeWindow::ThemeWindow(const BMessenger& messenger)
|
||||
:
|
||||
BWindow(BRect(0, 0, 0, 0), B_TRANSLATE_SYSTEM_NAME("Theme settings"), B_TITLED_WINDOW,
|
||||
BWindow(BRect(0, 0, 0, 0), B_TRANSLATE_SYSTEM_NAME("Colors"), B_TITLED_WINDOW,
|
||||
B_NOT_RESIZABLE | B_NOT_ZOOMABLE | B_AUTO_UPDATE_SIZE_LIMITS),
|
||||
fPreviousPref(new PrefHandler(PrefHandler::Default())),
|
||||
fSavePanel(NULL),
|
||||
@ -53,7 +53,7 @@ ThemeWindow::ThemeWindow(const BMessenger& messenger)
|
||||
B_TRANSLATE("Save to file" B_UTF8_ELLIPSIS),
|
||||
new BMessage(MSG_SAVEAS_PRESSED), B_WILL_DRAW);
|
||||
|
||||
fThemeView = new ThemeView(B_TRANSLATE("Theme"), fTerminalMessenger);
|
||||
fThemeView = new ThemeView("Theme", fTerminalMessenger);
|
||||
|
||||
BLayoutBuilder::Group<>(this, B_VERTICAL, 0)
|
||||
.SetInsets(B_USE_WINDOW_SPACING)
|
||||
|
Loading…
Reference in New Issue
Block a user