|
|
|
@ -862,6 +862,7 @@ void Konsole::makeGUI()
|
|
|
|
|
|
|
|
|
|
m_tabPopupMenu->insertSeparator();
|
|
|
|
|
m_tabPopupMenu->insertItem( SmallIconSet("colors"), i18n("Select &Tab Color..."), TQT_TQOBJECT(this), TQT_SLOT(slotTabSelectColor()) );
|
|
|
|
|
m_tabPopupMenu->insertItem( i18n("Reset Tab Color"), TQT_TQOBJECT(this), TQT_SLOT(slotTabResetColor()) );
|
|
|
|
|
|
|
|
|
|
m_tabPopupMenu->insertSeparator();
|
|
|
|
|
m_tabPopupTabsMenu = new TDEPopupMenu( m_tabPopupMenu );
|
|
|
|
@ -1379,10 +1380,16 @@ void Konsole::slotTabRenameSession() {
|
|
|
|
|
void Konsole::slotTabSelectColor()
|
|
|
|
|
{
|
|
|
|
|
TQColor color = tabwidget->tabColor( m_contextMenuSession->widget() );
|
|
|
|
|
int result = KColorDialog::getColor( color );
|
|
|
|
|
int result = KColorDialog::getColor( color, tabwidget->colorGroup().foreground() );
|
|
|
|
|
|
|
|
|
|
if ( result == KColorDialog::Accepted )
|
|
|
|
|
if ( result == KColorDialog::Accepted ) {
|
|
|
|
|
tabwidget->setTabColor(m_contextMenuSession->widget(), color);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void Konsole::slotTabResetColor()
|
|
|
|
|
{
|
|
|
|
|
tabwidget->resetTabColor(m_contextMenuSession->widget());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void Konsole::slotTabToggleMonitor()
|
|
|
|
|