[gnome] Update extensions for version 48

This commit is contained in:
2025-03-29 17:52:56 -04:00
parent e01589e836
commit a84b79ca08
153 changed files with 3479 additions and 2189 deletions

View File

@ -148,6 +148,14 @@ export const OverviewBlur = class OverviewBlur {
}
// add the container widget for the overview only to the overview group
Main.layoutManager.overviewGroup.insert_child_at_index(this.overview_background_group, 0);
// make sure it stays below
this.connections.connect(Main.layoutManager.overviewGroup, "child-added", (_, child) => {
if (child !== this.overview_background_group) {
if (this.overview_background_group.get_parent())
Main.layoutManager.overviewGroup.remove_child(this.overview_background_group);
Main.layoutManager.overviewGroup.insert_child_at_index(this.overview_background_group, 0);
}
});
}
/// Updates the classname to style overview components with semi-transparent
@ -166,6 +174,11 @@ export const OverviewBlur = class OverviewBlur {
remove_background_actors() {
this.overview_background_group.remove_all_children();
this.animation_background_group.remove_all_children();
this.connections.disconnect_all_for(Main.layoutManager.overviewGroup);
if (this.overview_background_group.get_parent())
Main.layoutManager.overviewGroup.remove_child(this.overview_background_group);
this.overview_background_managers.forEach(background_manager => {
background_manager._bms_pipeline.destroy();
background_manager.destroy();

View File

@ -54,9 +54,6 @@ export const PanelBlur = class PanelBlur {
// the blur when a window is near a panel
this.connect_to_windows_and_overview();
// update the classname if the panel to have or have not light text
this.update_light_text_classname();
// connect to workareas change
this.connections.connect(global.display, 'workareas-changed',
_ => this.reset()
@ -468,10 +465,14 @@ export const PanelBlur = class PanelBlur {
this.settings.panel.OVERRIDE_BACKGROUND
&&
should_override
)
) {
panel.add_style_class_name(
PANEL_STYLES[this.settings.panel.STYLE_PANEL]
);
}
// update the classname if the panel to have or have not light text
this.update_light_text_classname(!should_override);
}
update_pipeline() {