+ // TODO: Refactor this into a "new view" method
+ if (view)
+ view->enable_sticky_scrolling(action_view_sticky_scrolling_->isChecked());
+
+ menu_view->addSeparator();
+
+ action_view_coloured_bg_->setCheckable(true);
+ action_view_coloured_bg_->setChecked(true);
+ action_view_coloured_bg_->setShortcut(QKeySequence(Qt::Key_B));
+ action_view_coloured_bg_->setObjectName(
+ QString::fromUtf8("actionViewColouredBg"));
+ action_view_coloured_bg_->setText(tr("Use &coloured backgrounds"));
+ menu_view->addAction(action_view_coloured_bg_);
+
+ // TODO: Refactor this into a "new view" method
+ if (view)
+ view->enable_coloured_bg(action_view_coloured_bg_->isChecked());