dolphin/src
Miklos Marton bd47eb2e6d Don't block unmounting when terminal panel's cwd is the mountpoint
When unmounting a removable media Dolphin checks if there are
some files open on the device before performing the unmount.
If the terminal window in dolphin is open and the to be unmounted path is open,
 the unmount process will be blocked.

This patch sets the terminal window current path to the home directory upon unmount request
 if the terminal directory is set to the mount path.

The unmount request could came from two sources:

    The user could hit right click on the media in the dolphin's places panel and hit unmount.
    The user could request an unmount from the indicator applet

This patch was originally written by Arjun AK for the kdelibs4 version
of Dolphin: https://git.reviewboard.kde.org/r/121613/

BUG: 158264
FIXED-IN: 17.11.80

Differential Revision: https://phabricator.kde.org/D7847
2017-10-12 23:21:49 +02:00
..
filterbar [CLAZY] Fixed all level 1 and level 2 warnings with small exceptions 2016-03-16 22:17:37 +01:00
icons Add application icon for Mac and MS Windows. 2016-11-22 18:15:42 +01:00
kitemviews Merge branch 'Applications/17.08' 2017-09-30 16:30:14 +02:00
panels Don't block unmounting when terminal panel's cwd is the mountpoint 2017-10-12 23:21:49 +02:00
search Move Folders item closer to the top 2017-10-04 09:08:52 -06:00
settings [AdditionalInfoDialog] Prevent hiding "text" role 2017-08-25 16:48:48 +02:00
statusbar Fix knewstuff popup menu position on wayland 2017-07-13 17:30:36 +02:00
tests Introduce DolphinMainWindowTest 2017-05-27 10:28:09 +02:00
views Merge branch 'Applications/17.08' 2017-09-17 11:56:42 +02:00
CMakeLists.txt Support middle clicking of Back/Forward/Up/Home toolbar buttons 2017-08-24 15:45:28 +02:00
config-baloo.h.cmake Port Dolphin to Baloo 2014-02-06 20:29:09 +01:00
config-dolphin.h.cmake KF5ify Dolphin. 2014-06-29 01:35:37 +02:00
config-X11.h.cmake Merged very early alpha-version of Dolphin 2.0 2011-07-30 20:13:41 +02:00
dbusinterface.cpp Pass application name and icon to KRun 2017-03-08 16:52:15 +01:00
dbusinterface.h Add dbus interface to dolphin 2015-04-22 18:59:39 +05:30
dolphin.qrc Bundle the XMLGUI files into qrc resources. 2017-07-25 11:39:57 +02:00
dolphincontextmenu.cpp Fix DolphinRemoveAction Shift toggling on Wayland 2017-09-07 21:31:42 +02:00
dolphincontextmenu.h Drop unnecessary method 2017-06-06 19:16:34 +02:00
dolphindebug.cpp Replace kDebug/kWarning by categorized logging (org.kde.dolphin) 2015-02-24 13:07:35 +01:00
dolphindebug.h Replace kDebug/kWarning by categorized logging (org.kde.dolphin) 2015-02-24 13:07:35 +01:00
dolphindockwidget.cpp Add missing Q_DECL_OVERRIDE 2017-01-03 13:18:07 +01:00
dolphindockwidget.h SVN_SILENT: Coding style updates 2011-01-22 14:08:11 +00:00
dolphinmainwindow.cpp Don't block unmounting when terminal panel's cwd is the mountpoint 2017-10-12 23:21:49 +02:00
dolphinmainwindow.h Don't block unmounting when terminal panel's cwd is the mountpoint 2017-10-12 23:21:49 +02:00
dolphinnewfilemenu.cpp [CLAZY] Fixed all level 1 and level 2 warnings with small exceptions 2016-03-16 22:17:37 +01:00
dolphinnewfilemenu.h Move the KVersionControlPlugin2 interface from konqlib to Dolphin and remove the deprecated KVersionControlPlugin interface from konqlib 2015-02-25 17:21:10 +01:00
dolphinpart.cpp Fix DolphinRemoveAction Shift toggling on Wayland 2017-09-07 21:31:42 +02:00
dolphinpart.desktop SVN_SILENT made messages (.desktop file) - always resolve ours 2017-05-25 04:21:54 +02:00
dolphinpart.h [CLAZY] Fixed all level 1 and level 2 warnings with small exceptions 2016-03-16 22:17:37 +01:00
dolphinpart.qrc Bundle the XMLGUI files into qrc resources. 2017-07-25 11:39:57 +02:00
dolphinpart.rc Port to KStandardAction::RenameFile 2017-08-09 22:59:38 +02:00
dolphinpart_ext.cpp include KFileItem instead of KFileItemList 2015-02-24 12:25:28 +01:00
dolphinpart_ext.h Fix build in a kdelibs4-free enviroment 2015-02-27 20:17:59 +01:00
dolphinrecenttabsmenu.cpp [CLAZY] Fixed all level 1 and level 2 warnings with small exceptions 2016-03-16 22:17:37 +01:00
dolphinrecenttabsmenu.h port Dolphin from KUrl to QUrl 2014-10-21 21:19:14 +02:00
dolphinremoveaction.cpp Merge branch 'Applications/17.08' 2017-09-17 11:56:42 +02:00
dolphinremoveaction.h Fix DolphinRemoveAction Shift toggling on Wayland 2017-09-07 21:31:42 +02:00
dolphintabbar.cpp Close tab on mouse release rather than on mouse press 2017-02-13 13:20:07 +01:00
dolphintabbar.h Close tab on mouse release rather than on mouse press 2017-02-13 13:20:07 +01:00
dolphintabpage.cpp Correct searchbox, split view transitions between tabs 2017-05-22 20:35:29 +03:00
dolphintabpage.h Merge branch 'Applications/17.04' 2017-05-22 23:32:36 +02:00
dolphintabwidget.cpp Fix drop menu position with urlnavigator drops 2017-07-27 15:49:52 +02:00
dolphintabwidget.h Fix updating of new item menu when changing tabs 2016-12-28 13:49:37 +01:00
dolphinui.rc Port to KStandardAction::RenameFile 2017-08-09 22:59:38 +02:00
dolphinviewcontainer.cpp Select child folder when navigating to a parent folder 2017-09-21 15:41:26 +02:00
dolphinviewcontainer.h Select child folder when navigating to a parent folder 2017-09-21 15:41:26 +02:00
global.cpp Pass application name and icon to KRun 2017-03-08 16:52:15 +01:00
global.h Pass application name and icon to KRun 2017-03-08 16:52:15 +01:00
main.cpp Disallow executing Dolphin as root on Linux 2017-02-19 02:39:52 +01:00
Messages.sh Minor 2010-10-19 07:38:50 +00:00
middleclickactioneventfilter.cpp Support middle clicking of Back/Forward/Up/Home toolbar buttons 2017-08-24 15:45:28 +02:00
middleclickactioneventfilter.h Support middle clicking of Back/Forward/Up/Home toolbar buttons 2017-08-24 15:45:28 +02:00
org.kde.dolphin.appdata.xml GIT_SILENT made messages (after extraction) 2017-08-10 03:19:16 +02:00
org.kde.dolphin.desktop SVN_SILENT made messages (.desktop file) - always resolve ours 2017-05-25 04:21:54 +02:00