[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/apps/dolphin/src
From: Peter Penz <peter.penz19 () gmail ! com>
Date: 2011-01-04 17:54:58
Message-ID: 20110104175458.A5992AC8AE () svn ! kde ! org
[Download RAW message or body]
SVN commit 1211709 by ppenz:
Add the "Lock Panels"/"Unlock Panels"-action to the context-menu of the Places Panel.
M +6 -0 dolphinmainwindow.cpp
--- trunk/KDE/kdebase/apps/dolphin/src/dolphinmainwindow.cpp #1211708:1211709
@@ -1710,6 +1710,12 @@
placesDock->setAllowedAreas(Qt::LeftDockWidgetArea | Qt::RightDockWidgetArea);
PlacesPanel* placesPanel = new PlacesPanel(placesDock);
+ QAction* separator = new QAction(placesPanel);
+ separator->setSeparator(true);
+ QList<QAction*> placesActions;
+ placesActions.append(separator);
+ placesActions.append(lockLayoutAction);
+ placesPanel->addActions(placesActions);
placesPanel->setModel(DolphinSettings::instance().placesModel());
placesPanel->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
placesDock->setWidget(placesPanel);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic