Add profile option to disable underlining links.

Add a configuration item that allows disabling of the underlined links
on mouse hover. The option is profile specific and defaults to the previous
behaviour where links are underlined on hover.

Patch by Amand Tihon <amand.tihon@alrj.com>

BUG: 174261
FIXED-IN: 4.7
CCMAIL: amand.tihon@alrj.com
This commit is contained in:
Kurt Hindenburg
2011-04-16 13:39:42 -04:00
parent b88dfb402a
commit 48cdd11371
8 changed files with 41 additions and 4 deletions

View File

@@ -867,6 +867,8 @@ void ViewManager::applyProfile(TerminalDisplay* view , const Profile::Ptr info,
bool tripleClickMode = info->property<bool>(Profile::TripleClickMode);
view->setTripleClickMode(tripleClickMode ? TerminalDisplay::SelectForwardsFromCursor : TerminalDisplay::SelectWholeLine);
view->setUnderlineLinks(info->property<bool>(Profile::UnderlineLinksEnabled));
bool bidiEnabled = info->property<bool>(Profile::BidiRenderingEnabled);
view->setBidiEnabled(bidiEnabled);