]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Show compact-mode icon also in Konqueror
authorPeter Penz <peter.penz19@gmail.com>
Sun, 6 Nov 2011 11:12:35 +0000 (12:12 +0100)
committerPeter Penz <peter.penz19@gmail.com>
Sun, 6 Nov 2011 11:14:07 +0000 (12:14 +0100)
Additionally a broken signal-connection has been fixed.

src/dolphinpart.rc
src/settings/viewpropertiesdialog.cpp
src/settings/viewpropertiesdialog.h
src/views/dolphinviewactionhandler.cpp

index 1ff1e040f70f48efe4c2d6c02d2e6d3cf231e2a0..893d6c831ae7927b249c92cfb560cf3cc26cb479 100644 (file)
@@ -47,8 +47,8 @@
 </MenuBar>
 <ToolBar name="mainToolBar"><text context="@title:menu">Dolphin Toolbar</text>
   <Action name="icons" />
+  <Action name="compact" />
   <Action name="details" />
-  <Action name="columns" />
 </ToolBar>
 <State name="has_selection" >
   <enable>
index 3e96bebedbee443aa11dc4623fa0b33596ebdfc0..c07c072d1db612abd0fac897ddd4735179537f22 100644 (file)
@@ -160,7 +160,7 @@ ViewPropertiesDialog::ViewPropertiesDialog(DolphinView* dolphinView) :
     connect(m_previewsShown, SIGNAL(clicked()),
             this, SLOT(slotShowPreviewChanged()));
     connect(m_showInGroups, SIGNAL(clicked()),
-            this, SLOT(slotCategorizedSortingChanged()));
+            this, SLOT(slotGroupedSortingChanged()));
     connect(m_showHiddenFiles, SIGNAL(clicked()),
             this, SLOT(slotShowHiddenFilesChanged()));
 
@@ -260,7 +260,7 @@ void ViewPropertiesDialog::slotSortOrderChanged(int index)
     markAsDirty(true);
 }
 
-void ViewPropertiesDialog::slotCategorizedSortingChanged()
+void ViewPropertiesDialog::slotGroupedSortingChanged()
 {
     m_viewProps->setGroupedSorting(m_showInGroups->isChecked());
     markAsDirty(true);
index 694cffe880fd01b0bdb6b6c3caa0e6a948413968..6b0e9ff48075c0e1fc907b3a3b17ced3c600892b 100644 (file)
@@ -53,7 +53,7 @@ private slots:
     void slotViewModeChanged(int index);
     void slotSortingChanged(int index);
     void slotSortOrderChanged(int index);
-    void slotCategorizedSortingChanged();
+    void slotGroupedSortingChanged();
     void slotSortFoldersFirstChanged();
     void slotShowPreviewChanged();
     void slotShowHiddenFilesChanged();
index f88e01a453ec9c18734ad64ccb4fafea47348c44..caa35230ab3740b58f62ea554b3aa8445c7c0a3c 100644 (file)
@@ -69,7 +69,7 @@ void DolphinViewActionHandler::setCurrentView(DolphinView* view)
                                                    QList<DolphinView::AdditionalInfo>)),
             this, SLOT(slotAdditionalInfoListChanged(QList<DolphinView::AdditionalInfo>,
                                                      QList<DolphinView::AdditionalInfo>)));
-    connect(view, SIGNAL(categorizedSortingChanged(bool)),
+    connect(view, SIGNAL(groupedSortingChanged(bool)),
             this, SLOT(slotGroupedSortingChanged(bool)));
     connect(view, SIGNAL(hiddenFilesShownChanged(bool)),
             this, SLOT(slotHiddenFilesShownChanged(bool)));