Replace window realm frame decorations with nicer label decorations

This commit is contained in:
2024-05-06 18:25:56 -04:00
parent ee57f6de95
commit 661e293434
16 changed files with 517 additions and 792 deletions

View File

@ -2959,6 +2959,14 @@ export const AppIcon = GObject.registerClass({
iconParams['createIcon'] = this._createIcon.bind(this);
iconParams['setSizeManually'] = true;
this.icon = new IconGrid.BaseIcon(app.get_name(), iconParams);
if (Main.realmManager.appIconLabelsEnabled()) {
const realmLabel = Main.realmManager.createRealmLabelForApp(app);
if (realmLabel) {
this.icon._box.insert_child_at_index(realmLabel, 0);
}
}
this._iconContainer.add_child(this.icon);
this._dot = new St.Widget({