[gnome-shell] status/remote-access: Remove menu for stopping screencasts



commit 144acb1d02209401287f5ac69826215ade69634f
Author: Ivan Molodetskikh <yalterz gmail com>
Date:   Wed Feb 9 09:59:03 2022 +0300

    status/remote-access: Remove menu for stopping screencasts
    
    It is now handled by a dedicated panel.
    
    Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2163>

 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 a63b257c50..605ad69c68 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) {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]