Commit graph

5392 commits

Author SHA1 Message Date
Kai Uwe Broulik
86d2aa321d [KStandardItemListWidget] Update icon when palette changes
We can colorize icons based on the user's palette, so clear the pixmap cache when it changes.

Differential Revision: https://phabricator.kde.org/D3937
2017-02-06 19:12:48 +01:00
Elvis Angelaccio
62b7f9228a Drop no longer used dependency
KWindowSystem is no longer used since commit 230fe13d1f.
It was only pulled for `KWindowEffects::enableBlurBehind()`, which is
now in plasma-integration (triggered by KToolTipWidget).
2017-02-06 00:07:58 +01:00
Elvis Angelaccio
f785d95171 Drop unused include
This is no longer needed since commit 230fe13d1f
2017-02-05 23:55:37 +01:00
Elvis Angelaccio
5f484d8ee8 Drop another obsolete version check
We now require Frameworks >= 5.30
2017-02-05 23:39:04 +01:00
Elvis Angelaccio
d0eae28f9f Drop no longer needed version check
Frameworks 5.30 is now the minimum version required.
2017-02-05 23:02:38 +01:00
Elvis Angelaccio
0b107078c3 Remove deprecated K_EXPORT_PLUGIN macros
They do nothing, other than generate annoying compiler warnings.

Differential Revision: https://phabricator.kde.org/D4438
2017-02-05 22:58:36 +01:00
Elvis Angelaccio
230fe13d1f Port tooltips to KToolTipWidget
Use the new KToolTipWidget class (introduced by kwidgetsaddons 5.30) as backend of ToolTipManager.
FileMetaDataToolTip becomes a simple widget used as content of the tooltip.

It is now possible to actually use the metadata widget shown inside the tooltips.
Tooltips are now functional on Wayland as well.

More information about KToolTipWidget in https://git.reviewboard.kde.org/r/129648/

BUG: 352276
BUG: 371223
FIXED-IN: 17.04.0

Closes T4980
Differential Revision: D4449
2017-02-05 22:56:40 +01:00
Elvis Angelaccio
6fc68fe650 Add .arcconfig file for phabricator 2017-02-05 11:09:21 +01:00
l10n daemon script
eb31ded156 GIT_SILENT made messages (after extraction) 2017-02-05 06:54:55 +01:00
l10n daemon script
e3ea9b558e SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2017-02-05 05:58:09 +01:00
l10n daemon script
5c74fc0666 GIT_SILENT made messages (after extraction) 2017-02-05 03:46:09 +01:00
Albert Astals Cid
ac41a5ef83 GIT_SILENT Upgrade KDE Applications version to 16.12.2. 2017-02-03 23:40:36 +01:00
l10n daemon script
01edd6480c GIT_SILENT made messages (after extraction) 2017-02-03 07:02:22 +01:00
l10n daemon script
92cd757733 GIT_SILENT made messages (after extraction) 2017-02-03 03:56:59 +01:00
arnav dhamija
36bd947233 Added a comment 2017-02-02 21:48:58 +05:30
arnav dhamija
41156288b2 Added a comment 2017-02-02 21:48:51 +05:30
arnav dhamija
8f28ceaad1 More happy with this patch 2017-02-02 21:46:54 +05:30
Kai Uwe Broulik
c7a2e55df9 Merge branch 'Applications/16.12' 2017-01-31 20:52:28 +01:00
Kai Uwe Broulik
e582b13f84 Hide progress info for rename jobs in rename dialog
When mass-renaming files, you could end up with a a gazillion notifications of a finished move job.
This fixes this. Ideally we would have one job which had the rename jobs as subjobs to still get
progress info for the overall task.

Differential Revision: https://phabricator.kde.org/D4372
2017-01-31 20:50:47 +01:00
arnav dhamija
e8a4868943 Made more changes 2017-01-29 23:31:43 +05:30
arnav dhamija
68cda76aa8 Time to get back to business 2017-01-29 22:00:08 +05:30
Elvis Angelaccio
a874e52b15 Merge branch 'Applications/16.12' 2017-01-21 23:43:09 +01:00
Elvis Angelaccio
c1d9becda2 informationpanel: don't change color of scrollarea's viewport
This code was added a long time ago in b1c9b5126d, but the commit
message doesn't explain why. If we remove it nothing seems to change and
we fix the ugly background on the scrollbar when Breeze draws a frame
around dockable panels.

BUG: 366203
FIXED-IN: 16.12.2
REVIEW: 129861
2017-01-21 23:38:16 +01:00
Albert Astals Cid
a67dab505a Merge remote-tracking branch 'origin/Applications/16.12' 2017-01-21 01:38:26 +01:00
Marc André Wittorf
2e8e30026a Fix missing audio duration in details view
Enabling the 'duration' column in a folder with audio files did only show empty information. Properly initializing the QTime object fixes this.

 Testing Done

    Find a folder with audio files
    Make sure that Baloo has indexed this folder
    Open this folder in Dolphin, detail view, enable the Audio/Duration column
    Unpatched Dolphin does not display audio duration, patched Dolphin does

Tested on Gentoo x86_64 with Qt 5.5.1, KF 5.21.0 and Arch x86_64 with Qt 5.6.0 and KF 5.21.0.

REVIEW: 127799
2017-01-21 01:37:35 +01:00
Gregor Mi
728e6712b8 DolphinSearchBox: Add a "More search tools..." menu button
Additionally, moves the "More/Fewer options" button from right to left to reduce the mouse travelling distance when the dolphin is maximized on a large screen (see screenshots)

The current location url will be passed to the search tool to set the initial search root directory.

REVIEW: 123883
2017-01-21 00:07:49 +01:00
Don Nguyen
0aed243beb Change "Date" to "Modified" and allow access to new "Accessed" time field
This is merge of #128964 and #128942.  This will impelement changing the "Date" field to "Modified" and allow a new "Accessed" time field to be available.  This also includes changes to update configuration files.

REVIEW: 129077
2017-01-21 00:04:38 +01:00
Don Nguyen
d8ffea2476 Dolphin: directory loading progress
Everything is already set up to show the directory loading progress in the status bar, but the signal KFileItemModel::directoryLoadingProgress is never emmited anywhere.  I connected it to KFileItemModelDirLister::percent.

This was difficult to test because I had a hard time finding a directory that didn't load almost immediately.  I was able to verify the fix by listing a remote directory of 20,000 files (see screenshot)

REVIEW: 129619
2017-01-21 00:00:34 +01:00
Elvis Angelaccio
97b5435b6b Remove extra semicolon
GIT_SILENT
2017-01-18 23:49:41 +01:00
Elvis Angelaccio
1be2704214 Port away from deprecated KIO::Job::ui()
It's equivalent to KJob::uiDelegate() from kcoreaddons.
2017-01-18 23:45:39 +01:00
Kai Uwe Broulik
215bed085b In doubt use URL scheme for place
If we neither have a filename nor a host, we might be in a foo:/ URL, use the scheme then.

Differential Revision: https://phabricator.kde.org/D3935
2017-01-16 15:45:09 +01:00
John Salatas
63a591f32a Show full path in title bar
BUG: 229810

Differential Revision: https://phabricator.kde.org/D4078
2017-01-14 04:26:14 -08:00
Elvis Angelaccio
97415005de Merge branch 'Applications/16.12' 2017-01-14 13:00:33 +01:00
Elvis Angelaccio
85121a8115 Don't overwrite custom icons for the show_hidden_files action
BUG: 374508
FIXED-IN: 16.12.2
REVIEW: 129789
2017-01-14 12:52:58 +01:00
l10n daemon script
c1eeb0e115 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2017-01-13 05:50:46 +01:00
l10n daemon script
82c944f63f GIT_SILENT made messages (after extraction) 2017-01-13 03:38:21 +01:00
Kai Uwe Broulik
0cad00c39a Add document title to additional information
Allows showing the document title of e.g. a PDF alongside the file name

BUG: 321356

Differential Revision: https://phabricator.kde.org/D3972
2017-01-12 14:23:12 +01:00
Albert Astals Cid
44b668e9fb GIT_SILENT Upgrade KDE Applications version to 16.12.1. 2017-01-07 19:47:57 +01:00
Montel Laurent
726515cfd4 Add missing Q_DECL_OVERRIDE 2017-01-03 13:18:07 +01:00
Ilya Bizyaev
962f6d7160 Fix 2 container-anti-pattern clazy warnings
REVIEW: 129752
2017-01-03 11:28:20 +01:00
Ilya Bizyaev
67c007889e Add missing Q_OBJECT macros
REVIEW: 129738
2017-01-03 11:24:13 +01:00
Kai Uwe Broulik
5107523249 Merge branch 'Applications/16.12' 2017-01-03 09:49:02 +01:00
Kai Uwe Broulik
996f8520e7 Explicitly pass iconNameForUrl when creating new places entry
Once KIO::iconNameForUrl returns special icons for standard paths (e.g. Video folder)
this will ensure when adding such a folder to places it will automatically get the proper icon.

Since KIO already depends on KBookmarks it can't depend the other way round, otherwise
this would have been fixed in KBookmarks directly.

Differential Revision: https://phabricator.kde.org/D3896
2017-01-03 09:46:43 +01:00
Kai Uwe Broulik
2a7090728b [DolphinView] Update view palette on palette change
Everything was handling palette change already but for the visual distinction between
active and non-active view (in case of split view), a custom palette was set which was
then never updated. This could be seen by the label text color changing but not the view background.

Differential Revision: https://phabricator.kde.org/D3909
2017-01-03 09:45:33 +01:00
Elvis Angelaccio
331c8bc89e Merge branch 'Applications/16.12' 2017-01-02 14:57:57 +01:00
Elvis Angelaccio
24ed38d77f Properly disable create_dir action in Trash
`isFolderWritable` is set in DolphinView::updateWritableState() according to
KFileItemListProperties::supportsWriting().
However, `writing=true` does not imply `makedir=true`,
in an ioslave's .protocol file. An example is the trash protocol.

So we need to enable the `create_dir` action only if the protocol is
actually able to create folders.

CCBUG: 332463
REVIEW: 129712
2017-01-02 14:54:38 +01:00
Anthony Fieroni
c456c5d528 [DolphinSearchBox] Stop search timer on hide
REVIEW: 129705

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2017-01-01 21:47:10 +02:00
Martin T. H. Sandsmark
6af0dad2ee Fix updating of new item menu when changing tabs
Correctly set the active status of views when changing tabs.

Before: Right click in home folder, see create new enabled, open tab, go
to /usr, right click and see it is disabled, switch back to first tab
and right click, and it is still disabled.

After: It is enabled and disabled as appropriate when switching tab.

REVIEW: 129664
2016-12-28 13:49:37 +01:00
l10n daemon script
ae935d36b1 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2016-12-20 12:38:21 +01:00
l10n daemon script
d690b0719f GIT_SILENT made messages (after extraction) 2016-12-20 08:11:02 +01:00