Commit graph

6745 commits

Author SHA1 Message Date
Yuri Chornoivan
e06d6b2c8a Fix the docs according to the current double-click option place (take two) 2020-12-03 23:04:30 +02:00
Ahmad Samir
1d64b9bb10 DolphinView: set the parent of layout in the ctor
This silences a runtime warning:
QLayout: Attempting to add QLayout "" to DolphinView "", which already
has a layout

Remove redudant setLayout() calls, passing a parent widget to the
Q*BoxLayout ctor sets that layout as the top-level layout for that widget.
2020-12-03 19:50:04 +00:00
Yuri Chornoivan
1344641775 Fix the docs according to the current double-click option place 2020-12-03 21:35:53 +02:00
Christoph Feck
9b8ac3ef3f GIT_SILENT Update Appstream for new release 2020-12-02 23:01:21 +01:00
Christoph Feck
16ec949f35 GIT_SILENT Update Appstream for new release
(cherry picked from commit 9b8ac3ef3f)
2020-12-02 23:01:21 +01:00
Christoph Feck
ef08c4c067 GIT_SILENT Upgrade release service version to 20.12.0. 2020-12-02 22:48:44 +01:00
Méven Car
60b9eaa4c1 Toolbar: move and rename filter to edit menu above Search
This is to expose more filter.
Also rename "Show Filter Bar" to simply "Filter", keep "Show Filter Bar" as tooltip

Adds a toggle filter bar action.
2020-12-02 07:07:41 +00:00
Nate Graham
ce11325115 Merge branch 'release/20.12' 2020-11-30 17:08:46 -07:00
Méven Car
c2a7bde383 Re-allow to paste files via context menu
BUG: 429762
2020-11-30 22:18:48 +01:00
Alexander Lohnau
dbf0f645d2 Utilize KFileItemActions::addActionsTo method from KIO 2020-11-29 14:34:07 +00:00
Nicolas Fella
94c1fe6299 Remove unused includes 2020-11-29 15:03:27 +01:00
Carson Black
ad9c955835 [kitemlistview]: Animate rubberband fading out 2020-11-28 21:11:44 +00:00
Nate Graham
78c7429a35 Add placeholder text for empty views
Throughout our QML-based software, we now display placeholder text for
empty views so that the user knows that the view is actually empty, and
it's not that the software is just broken.

This commit introduces the same thing for Dolphin's main view.

BUG: 429248
BUG: 426354
FIXED-IN: 21.04
2020-11-28 19:06:28 +00:00
Friedrich W. H. Kossebau
ac862c8e2d ui.rc files: consistenly use <gui> instead of deprecated <kpartgui> 2020-11-28 10:28:53 +01:00
Christoph Feck
81c9422df5 GIT_SILENT Upgrade release service version to 20.11.90. 2020-11-25 02:02:03 +01:00
Nate Graham
31528188c1 Merge branch 'release/20.12' 2020-11-24 13:53:33 -07:00
Nate Graham
bcdb1957af Allow the openURLJob to run executables
Otherwise, excecutable files like AppImages won't be allowed to launch
even if they are correctly marked as executable.

BUG: 429603
FIXED-IN: 20.12
2020-11-24 13:47:48 -07:00
Elvis Angelaccio
d3689ba153 Fix typo in gitlab-ci filename 2020-11-24 00:06:02 +01:00
Elvis Angelaccio
201b8d4110 Add .gitlab-ci.yml
This should enable basic CI support for dolphin MRs.
2020-11-24 00:03:39 +01:00
Derek Christ
9e4642d435 Fix delete action switching via 'Shift' when sub-context-menu is open
Switching the 'Move to Trash' action to 'Delete' using the shift key
does not work when the mouse hovers a submenu. This fix resolves the
issue by using an event filter instead of the key event functions.

BUG: 425997
2020-11-23 22:07:31 +00:00
Alexander Lohnau
c3b238bbe9 Move repetitive contextmenu related logic in one place
This makes a bit easier to handle the stuff.
Also we don't need the `addVersionControlPluginActions` utility method
and we can put it in the new utility method instead.
2020-11-23 21:58:36 +00:00
Felix Ernst
b62095950a Merge branch 'release/20.12' 2020-11-23 13:38:22 +01:00
Méven Car
2cd1c07cad Places panel: highlight place only when it is displayed
BUG: 156678
FIXED-IN: 20.12
2020-11-23 00:02:59 +00:00
Elvis Angelaccio
d5a4835f01 PlacesItemModelTest: consider also Pictures/Music/Videos folders
See a371e23b2b667bc85c311d04549f3d7348d00af5 in kio.
2020-11-23 00:40:53 +01:00
Elvis Angelaccio
a218b2ce51 PlacesItemModelTest: use helper method to increase indexes
Instead of duplicating the logic all over the place.
2020-11-23 00:36:50 +01:00
Mufeed Ali
4f8c8955b9
Rename 'Url Navigator' to 'Location Bar' 2020-11-22 18:06:37 +05:30
Alexander Lohnau
3b74e4a3ab Remove unneeded version check 2020-11-22 08:42:18 +01:00
Alexander Lohnau
48fec6c9ec Add 'Open Terminal Here' action from dolphin to menu 2020-11-21 20:22:16 +00:00
Felix Ernst
760700819c Select last visited folder when going up/back
This commit fixes a regression introduced by
ad5d3367c7. A lot of connections were
changed there and at least one of them was wrong. The connections can
be separated into GUI connections and internal ones. This commit makes
it so the GUI stuff is connected to m_urlNavigatorConnected and
everything else to m_urlNavigator.

BUG: 429097
2020-11-21 18:24:24 +00:00
l10n daemon script
6171e08eaf GIT_SILENT made messages (after extraction) 2020-11-21 08:23:19 +01:00
Nate Graham
f46e630dda Merge branch 'release/20.12' 2020-11-20 11:32:49 -07:00
Méven Car
b3c37507dc Re-allow icons that are not theme icon
Particularly concerned are .desktop files.

See also:
15baa93640

BUG: 429113
2020-11-19 21:48:15 +00:00
Felix Ernst
50ca5af7e0 Allow having the UrlNavigators below the tab bar
This commit restores the possibility to have the UrlNavigators below
the tab bar. This will happen automatically whenever the UrlNavigator
is removed from the toolbar.

It is also now again possible to have the toolbar on the side. This
option is disabled while the toolbar contains the UrlNavigators.

This commit makes no changes to the new default which is having the
UrlNavigators in the toolbar but makes sure that upgrading users won't
be affected.
2020-11-19 21:22:27 +00:00
Henri Chain
e36de310cb D-Bus activation systemd service
Correctly scopes dolphin in systemd service `app-org.kde.dolphin.service` when dbus-activated (while still working if systemd is not present), as per https://systemd.io/DESKTOP_ENVIRONMENTS/

uses new ECM modules:
- https://invent.kde.org/frameworks/extra-cmake-modules/-/merge_requests/5 to simplify the systemd service templating + install
- https://invent.kde.org/frameworks/extra-cmake-modules/-/merge_requests/17 to generate the dbus service file automatically

needs https://invent.kde.org/frameworks/extra-cmake-modules/-/merge_requests/25
2020-11-19 10:40:56 +01:00
Alexander Lohnau
154843406d Different icon to launch Konsole terminal 2020-11-18 18:59:04 +00:00
Nate Graham
b76cc3f6fa Separate Delete/Move To Trash menu items in context menu
Right now these actions are in a visual group with "Rename" and "Add to
Places" which is silly as those actions have no logical connection
whatsoever to deletion.

This commits moves those items into the section above, putting them in a
more logical place and leaving the Delete/Move To Trash item in its own
section.

BUG: 429256
FIXED-IN: 21.04
2020-11-17 22:21:19 +00:00
Elvis Angelaccio
b03607b20b Add missing kconfig_version.h include
This should have been part of edced8460b.
2020-11-17 22:54:22 +01:00
Nate Graham
e636bae43e Correct indentation and whitespace in prior commit 2020-11-17 09:40:05 -07:00
Domenico Panella
edced8460b Allow folder creation on desktop via F10 shortcut 2020-11-17 16:18:54 +00:00
Nate Graham
a3c0a822ca Merge branch 'release/20.12' 2020-11-16 10:26:04 -07:00
Méven Car
f2d2f325b6 PlacesPanel: tooltip, use toLocalFile instead of path
To avoid Windows compatiblity issues.
2020-11-16 06:59:59 +01:00
Elvis Angelaccio
8fd0d685a6 Merge branch 'release/20.12' 2020-11-15 22:46:34 +01:00
Felix Ernst
8999580e2a Increment kpartgui version
The defaults changed in 37327c9b0a but
I forgot to also bump the kpartgui version so this commit rectifies
that.
2020-11-15 15:21:44 +01:00
Méven Car
5c99790c94 Context Menu: Only add paste action to folders
Either the viewport, or the selected folder is used as destination.
The paste action is only added when enabled.
2020-11-14 20:28:01 +01:00
l10n daemon script
2bfe601272 GIT_SILENT made messages (after extraction) 2020-11-14 02:37:30 +01:00
Felix Ernst
d80d79024d Merge branch 'release/20.12' 2020-11-13 11:41:17 +01:00
Felix Ernst
4f645f1b29 Fix navigator alignment for right-to-left localizations 2020-11-13 11:29:54 +01:00
Nate Graham
080d17dac2 Merge branch 'release/20.12' 2020-11-12 10:38:14 -07:00
Alexander Lohnau
1208f86696 Fix qrc icon
Apparently the icon was not null, because the mimetype was known.
But there was no icon associated with it and we got an
icon which is not null, but has a null pixmap.
2020-11-12 17:16:50 +01:00
Alexander Lohnau
208d733ae3 Set empty value for packagekit transaction flags
Otherwise the value would be Trusted Only, which will
forbid installing local packages
2020-11-12 17:15:01 +01:00