18795 Commits

Author SHA1 Message Date
Julian Sparber
bb73bf548c FdoNotificationDaemon: Emit ActivationToken before ActionInvoked signal
Two years ago FDO notifications spec gained the ability to pass an
activation token (often called startup id) let's finally implement it.

See: https://gitlab.freedesktop.org/xdg/xdg-specs/-/commit/b9a470004d

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/358
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3199>
2024-02-28 13:51:18 +00:00
Julian Sparber
7d6f465a47 GTKNotificationDaemon: Use ShellApp methods to activate apps
`ShellApp` gained the ability to activated actions and it sets the correct
platform data. Therefore drop the current implementation in favor for it.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7409
Closes: https://gitlab.gnome.org/GNOME/gtk/-/issues/5239
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3198>
2024-02-28 11:35:38 +01:00
Julian Sparber
3abf7e4662 status/backgroundApps: Use ShellApp.activate_action() to quit apps
`ShellApp` gained the ability to activated actions, therefore drop the current
implementation in favor for it.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3198>
2024-02-28 11:28:06 +01:00
Julian Sparber
d6779f34da status/network: Use ShellApp.activate_action() to launch settings panel
`ShellApp` gained the ability to activated actions and sets the correct
platform data, therefore drop the current implementation in favor for it.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3198>
2024-02-28 11:28:06 +01:00
Julian Sparber
90e9f56f79 shell/global: Don't force active workspace for launch context
Since the launch context may also be used to activate an action on an
running application with an already existing window, which we don't
necessarily want to move to a different workspace, don't set a workspace
for the launch context. If no active window exists for an application
then it will be place on the currently active workspace anyways.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3198>
2024-02-28 11:28:06 +01:00
Julian Sparber
54bc3aa4f5 shell/app: Add method to activate an action via FDO DBus activation
There are multiple different places where we activate an app action,
but none set the correct activation token. Therefore this adds an async
method to to call `ActivateAction` on `org.freedesktop.Appliaction`
with the correct activation token/startup id as platform data.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3198>
2024-02-28 11:27:40 +01:00
Jürgen Benvenuti
fbc8c28c0e Update German translation 2024-02-26 19:58:23 +00:00
Florian Müllner
6f250dd4dc ci: Rebase image to F40
After the main image was rebased, let's do the same for our
JS tooling.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3208>
2024-02-25 22:06:46 +00:00
Florian Müllner
36754d0479 ci: Don't install entire Development group
With dependencies, the group pulls in about 150 packages. We only
need a tiny tiny subset of that, so only specify what we really
need to not blow up the image size unnecessarily.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3208>
2024-02-25 22:06:46 +00:00
Florian Müllner
19592e0a67 ci: Bump mutter image
The image was rebased to f40, pull that in.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3208>
2024-02-25 22:06:46 +00:00
Guillaume Bernard
b199f466a5 Update French translation 2024-02-25 10:18:15 +00:00
Chao-Hsiung Liao
2311d766f6 Update Chinese (Taiwan) translation 2024-02-25 10:04:30 +00:00
Asier Sarasua Garmendia
1bafac4fde Update Basque translation 2024-02-25 06:42:13 +00:00
Rūdolfs Mazurs
d8014d35a7 Update Latvian translation 2024-02-24 19:44:10 +00:00
Baurzhan Muftakhidinov
51087d7016 Update Kazakh translation 2024-02-24 17:17:43 +00:00
Quentin PAGÈS
d16cd1ede2 Update Occitan translation 2024-02-24 17:04:35 +00:00
Bruce Cowan
bd992f7dca Update British English translation 2024-02-24 16:01:21 +00:00
Brage Fuglseth
22c5415f8a Update Norwegian Bokmål translation 2024-02-24 13:35:25 +00:00
Jordi Mas i Hernandez
eb0269148f Update Catalan translation 2024-02-23 08:37:06 +00:00
Fran Dieguez
7860746a04 Update Galician translation 2024-02-22 18:08:52 +00:00
Luming Zh
477b3ff0bb Update Chinese (China) translation 2024-02-22 15:19:43 +00:00
Kukuh Syafaat
d8787f5e77 Update Indonesian translation 2024-02-22 13:48:48 +00:00
Irénée THIRION
5afd7f405b Update French translation 2024-02-22 09:31:55 +00:00
Vasil Pupkin
3df6372055 Update Belarusian translation 2024-02-22 00:30:54 +00:00
Sabri Ünal
ade0b7902c Update Turkish translation 2024-02-21 17:25:13 +00:00
Florian Müllner
a1dd5d5e1e shell: Remove left-over function declaration
The function itself was removed in commit 4b80cbe1cd9e back
in 2016.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3206>
2024-02-21 16:10:40 +01:00
Florian Müllner
9af81e44bc notificationDaemon: Fix auto-closing FDO notifications
We auto-close FDO notifications when the sender leaves the bus,
given that the protocol was created without persistency in mind
and any action will become invalid.

However that broke when moving the public-facing implementation
into a separate service, as we now track the (always running)
service instead of the original sender.

Fix that by forwarding the sender to the internal implementation
via a private hint, just like we already do for the PID.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3204>
2024-02-20 21:09:32 +01:00
Florian Müllner
f0b1cf5f8d notificationDaemon: Namespace private sender-pid hint
The hint is a private implementation detail between the public
and internal services, not something anybody else should set
(*cough* libnotify *cough*).

Prefix the name to hopefully make that clearer.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3204>
2024-02-20 21:09:32 +01:00
Bilal Elmoussaoui
8b6e1fe896 plugin: Stop overriding xevent_filter
The vfunc was used to register profiling hooks for glx.swapComplete
as we have sysprof nowadays and as that code path is x11 specific
anyways, let us drop it

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3201>
2024-02-20 13:51:30 +00:00
Florian Müllner
3504a6a8a9 extensions-app: Fix service activation mix-up
Starting the D-Bus service should not pop-up a window by itself,
it should just register and wait for an explicit call to Activate().

The .desktop file on the other hand should fully activate the
app when using the Exec line.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7423

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3202>
2024-02-20 12:46:24 +00:00
Julian Sparber
a80e0bba5c components/networkAgent: Fix small mistake
Fixes: c1ff00c01 ("notification: Use the same Source for showing system notifications")
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3200>
2024-02-20 11:55:06 +01:00
Quique Serrano
f71c25891a Update Catalan translation 2024-02-19 13:56:18 +00:00
Daniel Mustieles
3d626b0901 Updated Spanish translation 2024-02-19 13:27:07 +01:00
Matej Urbančič
a28f66f541 Update Slovenian translation 2024-02-19 10:09:32 +00:00
Matej Urbančič
692f6078b5 Update Slovenian translation 2024-02-19 10:03:43 +00:00
Aurimas Černius
f8229628ef Update Lithuanian translation 2024-02-18 20:34:40 +00:00
Nathan Follens
ac10cae1e3 Update Dutch translation 2024-02-18 16:42:31 +00:00
Emin Tufan Çetin
d76d773acc Update Turkish translation 2024-02-18 15:41:55 +00:00
Sabri Ünal
ab19afa9f8 Update Turkish translation 2024-02-18 09:23:01 +00:00
Brage Fuglseth
0f287d8196 Update Norwegian Bokmål translation 2024-02-17 22:25:01 +00:00
Ray Strode
3dd5dcd9bb authPrompt: Disregard smartcard status changes if VERIFICATION_IN_PROGRESS
commit c8bb45b41c3a13ef161103f649aa18938e028a70 introduced a new
verification state, VERIFICATION_IN_PROGRESS, to detect when the user
has already interacted with the authentication prompt, so the
prompt can rate limit the number of times the user can cancel
authentication attempts with the escape key (without also rate limiting
the number of times they can hit escape to go back to the clock without
interacting with the prompt).

That means there are now two states that represent the user actively
undergoing verification: VERIFYING and VERIFICATION_IN_PROGRESS.

It's inappropriate to reset the smartcard service if the user is
actively conversing with it. We try to check for that by looking at the
original verification state, VERIFYING, but we unfortunately, neglect
to account for the new VERIFICATION_IN_PROGRESS state.

The result is that if a user types their smartcard pin at the clock,
and then inserts their smartcard, the pin will get cleared instead of
used, and they have to retype it again.

This commit fixes the oversight, and allows users to again pre-type
their smartcard pin at the clock before inserting their smartcard.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2765>
2024-02-17 14:04:04 +00:00
Daniel Rusek
aebef54a1d Update Czech translation 2024-02-17 13:58:20 +00:00
Danial Behzadi
974f747f6b Update Persian translation 2024-02-17 12:42:53 +00:00
Florian Müllner
d6651706fe sessionMode: Use property spread to sync mode
The parameters here come from a fixed set of mode definitions rather
than a function parameter, so the additional check performed by
Params.parse() isn't relevant here.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3196>
2024-02-17 12:02:25 +01:00
Florian Müllner
fe1eab1b3c cleanup: Also replace Params.parse(..., true) with spread
This is what Params.parse() boils down to when accepting extra
parameters, so we can just as well use standard syntax here.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3196>
2024-02-17 12:02:25 +01:00
Florian Müllner
8eec7ac3f4 cleanup: Use spread properties instead of Object.assign()
It's more concise and has been around long enough to embrace it.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3196>
2024-02-17 11:53:43 +01:00
Bilal Elmoussaoui
5ce991749d lg: Replace remaining Color.init_from_4ub usage
Fixes cd33baff7d285af26475777fab1f59537c517cb5

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3197>
2024-02-17 10:46:37 +00:00
Florian Müllner
3b0e1a6b5a main: Remove timestamp parameter from popModal()
It has been unused since the move to Clutter.grab() in commit
f4cae72d17af.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3195>
2024-02-17 10:42:46 +00:00
Florian Müllner
96471b9d19 main: Remove unused parameters from pushModal()
Both timestamp and options parameters have been unused since
the switch to Clutter.grab(), so remove them.

Stop using Params.parse(), so that code that still passes the
parameters doesn't throw an error.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3195>
2024-02-17 10:42:46 +00:00
Florian Müllner
3f72a04a1b modalDialog: Remove timestamp parameter from open()
It is now unused.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3195>
2024-02-17 10:42:46 +00:00