From 144acb1d02209401287f5ac69826215ade69634f Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Wed, 9 Feb 2022 09:59:03 +0300 Subject: [PATCH] status/remote-access: Remove menu for stopping screencasts It is now handled by a dedicated panel. Part-of: --- js/ui/status/remoteAccess.js | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/js/ui/status/remoteAccess.js b/js/ui/status/remoteAccess.js index a63b257c5..605ad69c6 100644 --- a/js/ui/status/remoteAccess.js +++ b/js/ui/status/remoteAccess.js @@ -51,15 +51,6 @@ class RemoteAccessApplet extends PanelMenu.SystemIndicator { this._recordingIndicator = this._addIndicator(); this._recordingIndicator.icon_name = 'media-record-symbolic'; this._recordingIndicator.add_style_class_name('screencast-indicator'); - - this._recordingItem = new PopupMenu.PopupSubMenuMenuItem( - _('Screen Recording in Progress'), - true - ); - this._recordingItem.menu.addAction(_('Stop'), - () => Main.screenshotUI.stopScreencast()); - this._recordingItem.icon.icon_name = 'media-record-symbolic'; - this.menu.addMenuItem(this._recordingItem); } _isScreenShared() { @@ -80,7 +71,6 @@ class RemoteAccessApplet extends PanelMenu.SystemIndicator { } this._recordingIndicator.visible = this._isRecording(); - this._recordingItem.visible = Main.screenshotUI.screencast_in_progress; } _onStopped(handle) {