Add new screenshot UI icons

To replace the applets-screenshooter one that was deprecated and isn't
even available on GNOME OS anymore.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2167>
This commit is contained in:
Ivan Molodetskikh
2022-02-09 19:55:03 +03:00
committed by Marge Bot
parent 528ee01fef
commit 1272ce37a7
6 changed files with 31 additions and 3 deletions

View File

@ -137,7 +137,7 @@ const SystemActions = GObject.registerClass({
this._actions.set(SCREENSHOT_UI_ACTION_ID, {
// Translators: The name of the screenshot UI action in search
name: C_('search-result', 'Take a Screenshot'),
iconName: 'applets-screenshooter-symbolic',
iconName: 'record-screen-symbolic',
// Translators: A list of keywords that match the screenshot UI action, separated by semicolons
keywords: tokenizeKeywords(_('screenshot;screencast;snip;capture;record')),
available: true,

View File

@ -1899,7 +1899,7 @@ var ScreenshotUI = GObject.registerClass({
const source = new MessageTray.Source(
// Translators: notification source name.
_('Screenshot'),
'applets-screenshooter'
'screencast-recorded-symbolic'
);
const notification = new MessageTray.Notification(
source,
@ -2112,7 +2112,7 @@ function _storeScreenshot(bytes, pixbuf) {
const source = new MessageTray.Source(
// Translators: notification source name.
_('Screenshot'),
'applets-screenshooter'
'screenshot-recorded-symbolic'
);
const notification = new MessageTray.Notification(
source,