mirror of
https://github.com/KDE/konsole.git
synced 2026-05-18 19:47:16 -04:00
Remove close buttons on individual tabs and replace with a single close button on the
right of the tab bar when the "Show 'New Tab' and 'Close Tab' buttons on tab bar" option is enabled - which brings tab management back to the way it was in KDE 3. Several users (esp. those working with laptop trackpads) were having problems with accidentally closing tabs. It seems KTabBar's close buttons need some refinements before they can be used in the terminal. CCMAIL: wstephenson@kde.org svn path=/trunk/KDE/kdebase/apps/konsole/; revision=809838
This commit is contained in:
@@ -280,7 +280,7 @@ void EditProfileDialog::setupTabsPage(const Profile::Ptr info)
|
||||
<< i18n("Above Terminal Displays") );
|
||||
|
||||
_ui->tabBarPositionCombo->setCurrentIndex(tabPosition);
|
||||
_ui->newTabButton->setChecked(info->property<bool>(Profile::ShowNewTabButton));
|
||||
_ui->newTabButton->setChecked(info->property<bool>(Profile::ShowNewAndCloseTabButtons));
|
||||
|
||||
// signals and slots
|
||||
connect( _ui->tabBarVisibilityCombo , SIGNAL(activated(int)) , this ,
|
||||
@@ -309,7 +309,7 @@ void EditProfileDialog::setupTabsPage(const Profile::Ptr info)
|
||||
this , SLOT(insertRemoteTabTitleText(const QString&)) );
|
||||
}
|
||||
void EditProfileDialog::showNewTabButton(bool show)
|
||||
{ _tempProfile->setProperty(Profile::ShowNewTabButton,show); }
|
||||
{ _tempProfile->setProperty(Profile::ShowNewAndCloseTabButtons,show); }
|
||||
void EditProfileDialog::tabBarVisibilityChanged(int newValue)
|
||||
{
|
||||
_tempProfile->setProperty( Profile::TabBarMode , newValue );
|
||||
|
||||
Reference in New Issue
Block a user