From 3df12cd87674fdfbc2afa21584e1f3e558fa873b Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 13 Apr 2013 15:00:04 -0500 Subject: Add menu items to rearrange taskbar entries Make taskbar drag and drop moving more robust This resolves Bug 1103 --- kcontrol/taskbar/kcmtaskbar.cpp | 3 +++ kcontrol/taskbar/kcmtaskbarui.ui | 14 +++++++------- 2 files changed, 10 insertions(+), 7 deletions(-) (limited to 'kcontrol') diff --git a/kcontrol/taskbar/kcmtaskbar.cpp b/kcontrol/taskbar/kcmtaskbar.cpp index 5bdab1e92..bd98ee3f9 100644 --- a/kcontrol/taskbar/kcmtaskbar.cpp +++ b/kcontrol/taskbar/kcmtaskbar.cpp @@ -172,6 +172,7 @@ TaskbarConfig::TaskbarConfig(TQWidget *parent, const char* name, const TQStringL connect(m_widget->globalConfigReload, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotReloadConfigurationFromGlobals())); connect(m_widget->globalConfigEdit, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotEditGlobalConfiguration())); connect(m_widget->kcfg_UseGlobalSettings, TQT_SIGNAL(clicked()), this, TQT_SLOT(processLockouts())); + connect(m_widget->kcfg_SortByApp, TQT_SIGNAL(clicked()), this, TQT_SLOT(processLockouts())); TQFile configFile(locateLocal("config", m_configFileName)); if (!configFile.exists()) @@ -298,6 +299,8 @@ void TaskbarConfig::processLockouts() m_widget->globalConfigEdit->hide(); } } + + m_widget->kcfg_AllowDragAndDropReArrange->setEnabled(!m_widget->kcfg_SortByApp->isChecked()); } void TaskbarConfig::slotReloadConfigurationFromGlobals() diff --git a/kcontrol/taskbar/kcmtaskbarui.ui b/kcontrol/taskbar/kcmtaskbarui.ui index 1f34c32e4..4d655b2a7 100644 --- a/kcontrol/taskbar/kcmtaskbarui.ui +++ b/kcontrol/taskbar/kcmtaskbarui.ui @@ -70,7 +70,7 @@ globalConfigReload - Overwrite current configuration with the current global taskbar configuration + Overwrite current configuration with the current global floating taskbar configuration @@ -78,7 +78,7 @@ globalConfigEdit - Edit global taskbar configuration + Edt global floating taskbar configuration @@ -130,7 +130,7 @@ By default this option is selected. By default, this option is selected and all windows are shown. - + kcfg_AllowDragAndDropReArrange @@ -144,7 +144,7 @@ By default, this option is selected and all windows are shown. Turning this option on will allow tasks on the taskbar to be manually rearranged using drag and drop. - + kcfg_ShowWindowListBtn @@ -216,7 +216,7 @@ By default the taskbar groups windows when it is full. kcfg_ShowTaskStates - + kcfg_ShowOnlyIconified @@ -229,7 +229,7 @@ By default the taskbar groups windows when it is full. By default, this option is not selected and the taskbar will show all windows. - + kcfg_ShowIcon @@ -437,7 +437,7 @@ By default, this option is selected and all windows are shown. true - + kcfg_CycleWheel -- cgit v1.2.1