┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinmainwindow.cpp
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2007-06-19 16:00:21 +0000
committerPeter Penz <[email protected]>2007-06-19 16:00:21 +0000
commitd79282c14cc49fc774dbcccfcb6bdfedcac03870 (patch)
tree187997add325ec1c4fb5d79de75a0f36fd966dbc /src/dolphinmainwindow.cpp
parent15d26d141e89e9d2304347ea7f7c8ebf9d00d4d5 (diff)
* move the "[ ] Show in Groups" checkbox from "View->Sort By" directly to "View"
* same for the viewproperties dialog: don't hide "Show in Groups" under "Sorting" svn path=/trunk/KDE/kdebase/apps/; revision=677641
Diffstat (limited to 'src/dolphinmainwindow.cpp')
-rw-r--r--src/dolphinmainwindow.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp
index 42e80f932..0accdfcaa 100644
--- a/src/dolphinmainwindow.cpp
+++ b/src/dolphinmainwindow.cpp
@@ -261,11 +261,11 @@ void DolphinMainWindow::slotShowHiddenFilesChanged()
void DolphinMainWindow::slotCategorizedSortingChanged()
{
- KToggleAction* categorizedSortingAction =
- static_cast<KToggleAction*>(actionCollection()->action("categorized"));
+ KToggleAction* showInGroupsAction =
+ static_cast<KToggleAction*>(actionCollection()->action("show_in_groups"));
const DolphinView* view = m_activeViewContainer->view();
- categorizedSortingAction->setChecked(view->categorizedSorting());
- categorizedSortingAction->setEnabled(view->supportsCategorizedSorting());
+ showInGroupsAction->setChecked(view->categorizedSorting());
+ showInGroupsAction->setEnabled(view->supportsCategorizedSorting());
}
void DolphinMainWindow::slotSortingChanged(DolphinView::Sorting sorting)
@@ -1176,9 +1176,9 @@ void DolphinMainWindow::setupActions()
sortDescending->setText(i18n("Descending"));
connect(sortDescending, SIGNAL(triggered()), this, SLOT(toggleSortOrder()));
- KToggleAction* sortCategorized = actionCollection()->add<KToggleAction>("categorized");
- sortCategorized->setText(i18n("Show in Groups"));
- connect(sortCategorized, SIGNAL(triggered()), this, SLOT(toggleSortCategorization()));
+ KToggleAction* showInGroups = actionCollection()->add<KToggleAction>("show_in_groups");
+ showInGroups->setText(i18n("Show in Groups"));
+ connect(showInGroups, SIGNAL(triggered()), this, SLOT(toggleSortCategorization()));
KToggleAction* clearInfo = actionCollection()->add<KToggleAction>("clear_info");
clearInfo->setText(i18n("No Information"));