From d79282c14cc49fc774dbcccfcb6bdfedcac03870 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Tue, 19 Jun 2007 16:00:21 +0000 Subject: * 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 --- src/dolphinmainwindow.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/dolphinmainwindow.cpp') 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(actionCollection()->action("categorized")); + KToggleAction* showInGroupsAction = + static_cast(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("categorized"); - sortCategorized->setText(i18n("Show in Groups")); - connect(sortCategorized, SIGNAL(triggered()), this, SLOT(toggleSortCategorization())); + KToggleAction* showInGroups = actionCollection()->add("show_in_groups"); + showInGroups->setText(i18n("Show in Groups")); + connect(showInGroups, SIGNAL(triggered()), this, SLOT(toggleSortCategorization())); KToggleAction* clearInfo = actionCollection()->add("clear_info"); clearInfo->setText(i18n("No Information")); -- cgit v1.3