mpris: Move widgets to messageList.js

Widgets for other type of messages (notifications) are already in
`messageList.js` therefore move widgets for mpris also there.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3429>
This commit is contained in:
Julian Sparber
2024-05-09 17:16:44 +02:00
parent c102d8c5ba
commit 0c6f896d4b
3 changed files with 104 additions and 106 deletions

View File

@@ -7,7 +7,6 @@ import St from 'gi://St';
import * as Main from './main.js';
import * as MessageList from './messageList.js';
import * as Mpris from './mpris.js';
import * as PopupMenu from './popupMenu.js';
import {ensureActorVisibleInScrollView} from '../misc/animationUtils.js';
@@ -877,7 +876,7 @@ class CalendarMessageList extends St.Widget {
this);
this._scrollView.child = this._sectionList;
this._mediaSection = new Mpris.MediaSection();
this._mediaSection = new MessageList.MediaSection();
this._addSection(this._mediaSection);
this._notificationSection = new MessageList.NotificationSection();