Move revealers access away from base classes

Those should not appear in base classes, as they are available in main app only
This commit is contained in:
Rafał Dzięgiel
2021-09-06 15:27:37 +02:00
parent 873e724bf2
commit 8733610a9b
4 changed files with 27 additions and 19 deletions

View File

@@ -245,16 +245,11 @@ class ClapperHeaderBarBase extends Gtk.Box
_onIconThemeChanged(iconTheme)
{
/* Those icons are relatively new,
* so check if theme has them */
/* Those icons are new, so check if theme has them */
this.hasPipIcons = (
iconTheme.has_icon('pip-in-symbolic')
&& iconTheme.has_icon('pip-out-symbolic')
);
const { controlsRevealer } = this.root.child;
this._updateFloatIcon(!controlsRevealer.reveal_child);
}
});