l10n daemon script
a09776c06c
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"
4 years ago
l10n daemon script
100aa732fa
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"
4 years ago
Martin Seher
dbc2488fde
use createMethodCall instead of QDBusInterface
4 years ago
Martin Seher
4150506920
Show krunner on active output on Wayland
...
QCursor::pos does not work under Wayland. So use active output from KWin to
determine startup screen. This will also honor the 'Active screen follows
mouse' option from Window Behavior (also under X11).
Depends on KWin merge request https://invent.kde.org/plasma/kwin/-/merge_requests/2209
BUG: 427069
FIXED-IN: 5.25
4 years ago
Alexander Lohnau
ae89638eef
KRunner: Disable help button when runner is disabled
...
BUG: 451509
4 years ago
Alexander Lohnau
9a5491ef69
Use kcmshell5 to launch KRunner KCM
...
BUG: 451999
4 years ago
Alexander Lohnau
b68b59dac6
Remove explicit QuickSettings init method call
...
This is now done as part of the plasma integration plugin.
Task: https://phabricator.kde.org/T12135
4 years ago
Fushan Wen
32aa12bf98
krunner: Use "KRunner" as the display name
...
This fixes the "krunner" title.
4 years ago
Fushan Wen
76f0c2b1ce
krunner: Use QStringLiteral constructor for KCMultiDialog
...
The QPluginLoader overload is only intended for very specific usecases
where you have the plugin loader object anyways.
4 years ago
Fushan Wen
078a1c9950
krunner: Replace custom verifier with `KCMShell.authorize`
...
This saves some lines.
4 years ago
Fushan Wen
33f2d322e4
krunner: Open kcm_krunnersettings instead of kcm_plasmasearch
...
kcm_plasmasearch now only has plugin settings. KRunner-specific settings
are moved to kcm_krunnersettings.
CCBUG: 318538
4 years ago
Volker Krause
0e0086a22e
QGuiApplication::setFallbackSessionManagementEnabled is gone in Qt6
...
There seems to be no equivalent for this.
4 years ago
Volker Krause
fde7564493
Remove QQuickWindow::setClearBeforeRendering calls, gone in Qt6
...
We only set the default value anyway, so nothing lost here.
4 years ago
Laurent Montel
e294f6ab08
Use not deprecated SYSTEMD_USER_UNIT_INSTALL_DIR
4 years ago
l10n daemon script
f258b6217a
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"
4 years ago
l10n daemon script
b9a1e98742
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"
5 years ago
Alexander Lohnau
c11051955d
Convert license headers to SPDX
5 years ago
Adrien Faveraux
42515d22cb
Move include guard to Pragma Once
5 years ago
l10n daemon script
faad339db5
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"
5 years ago
l10n daemon script
96355cd03a
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"
5 years ago
David Redondo
34f7ceb3fb
Do not unnecessarily switch component name of action collection
...
It was never used in the first configuration.
5 years ago
David Redondo
a7694f9274
Fix typo
5 years ago
David Redondo
e275ae2c8e
krunerglobalshortcuts: Fix migration from old component
...
When calling cleanUpComponent KGlobalAccel checks if there are no
shortcuts active, otherwise it will refuse to clean the component.
For a desktop file component (aka KServiceActionComponent) all
shortcuts are deactivated inside cleanUpComponent. For a regular
Component we have to do this manually.
5 years ago
David Redondo
6502f798fe
krunnerglobalshortcuts: Prevent actions from becoming inactive
...
If a QAction is destroyed, KGlobalAccel will automaticaly set it
to inactive. To prevent this put them on the heap and intentionally
leak them as it did before.
CCBUG:437364
5 years ago
David Redondo
de8bc1452e
Rename krunner shortcuts update file
...
We got some reports that the update did not work correctly.
The kconf update daemon watches for new files so we should
rename the file in addition to changing the IP.
5 years ago
Nicolas Fella
178a4f8756
Use version-less qt DBus macros
...
They work with both Qt5 and Qt6
5 years ago
Alexander Lohnau
f7b556dddf
GIT_SILENT Re-run clang-format
5 years ago
Alexander Lohnau
fd9c790b8e
GIT_SILENT Make small adjustment before running clang-format
5 years ago
l10n daemon script
9f02b43f3f
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"
5 years ago
l10n daemon script
7fb5605b5d
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"
5 years ago
Alexander Lohnau
bdc1a08c00
krunner: Restore history related property and methods for compatibility with third party themes
...
BUG: 433173
Test Plan:
Use install old RunCommand.qml files provided by bug reporters and
verify that adding/viewing/completing and deleting from history works.
https://bugs.kde.org/attachment.cgi?id=136815
https://bugs.kde.org/attachment.cgi?id=136816
5 years ago
Alexander Lohnau
ffa24a94b7
krunner: Store pinned state in krunnerstaterc and not in config
5 years ago
David Redondo
12dadab76c
Krunner: Add icon to desktopfile
...
Allows me to not longer hardcode the icon in the shortcuts kcm.
5 years ago
David Redondo
51ca0cc28f
Toogle KRunner again
...
BUG:432857
5 years ago
David Redondo
c5b87d0155
Add missing DBusActivatable=true in the desktop file of krunner
...
Somewhat ironically missed in 10d647c47a
as it was the whole point of the patch.
GIT_SILENT
5 years ago
David Redondo
6e7c616f45
Adjust krunner shortcuts update binary
...
Because we have changed the name of the desktop file, this also
changes the name of the kglobalaccel component. I have adjusted the program so
it checks which of the two old components is active and then sets the shortcuts
on the new one. I have opted for this because we cannot guarantee the order of
update scripts.
5 years ago
David Redondo
10d647c47a
Make krunner dbus activatable
...
There is a spec for dbus activiation https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html#dbus
and using this is better instead of of having this dbus-send hack.
5 years ago
David Redondo
7ca34e0baa
Revert "Activate KRunner instead of running the binary"
...
This reverts commit 0e575a20ef .
5 years ago
Laurent Montel
3dc2b734f0
GIT_SILENT: don't use deprecated cmake variable
5 years ago
Nicolas Fella
1a07220843
Use versionless Qt cmake target
...
This makes it easier to build against both Qt5 and Qt6
5 years ago
Alexander Lohnau
823d2106ec
Run clang-format
...
If you want git blame to ignore formatting revisions run:
git config blame.ignoreRevsFile .git-blame-ignore-revs
5 years ago
Alexander Lohnau
92285a7bbc
Add update script
...
This script copies the old history to each activity.
This way the user has the previous history in each activity.
Also the launch counts get copied to the new location.
5 years ago
Alexander Lohnau
19badfab4d
Make KRunner activity aware
5 years ago
Nicolas Fella
d5440ef980
[krunnner] Remove unused KIOWidgets dependency
5 years ago
David Edmundson
9e641d4171
Revert "Use new simpler way to disable session management in services"
...
The two ways of disabling session management have the same impact on the
session being saved, but there is one behavioural side-effect that
turned out to be less ideal.
By disabling completely we don't follow the session manager telling the
application to quit. That's not something needed with the systemd boot,
but for the legacy boot effectively we were just closing applications by
ripping the X connection away from under them.
Some applications are bad at handling this and this led to a bunch of
crashes or dangling processes at logout.
This reverts commit 9be7dedb87 .
CCBUG: 424408
5 years ago
David Edmundson
1f229ad0ea
Systemd files have comments on newlines
5 years ago
Laurent Montel
457fd4d232
If include is define in .h remove it if it's defined in .cpp too (scripted)
5 years ago
Alexander Lohnau
d6319d289a
Read new config value in loadConfig method
6 years ago
Alexander Lohnau
0004a1f83b
Implement Pin feature for KRunner
...
BUG: 353026
FIXED-IN: 5.21
For this the close button has been replaced with a checkable button which pins the window. Just like in the system tray.
6 years ago
Alexander Lohnau
7e2c1e687e
Toggle display method for KRunner
...
CCBUG: 353026
This introduces a method to toggle the display of KRunner.
With the exception that if KRunner is visible, but not focused it will
get focused again. This is required for the pin feature.
This method is then used for the default invocation using the shortcut.
6 years ago