mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-31 08:21:59 +02:00
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:
@@ -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);
|
||||
}
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user