mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-31 00:11:59 +02:00
Add Clapper usage as GTK widget
This commit is contained in:
@@ -139,10 +139,8 @@ class ClapperPopoverButton extends IconButton
|
||||
|
||||
_onClosed()
|
||||
{
|
||||
let root = this.get_root();
|
||||
let clapperWidget = root.get_child();
|
||||
|
||||
clapperWidget.player.widget.grab_focus();
|
||||
let { player } = this.get_ancestor(Gtk.Grid);
|
||||
player.widget.grab_focus();
|
||||
|
||||
this.popover.unparent();
|
||||
this.unset_state_flags(Gtk.StateFlags.CHECKED);
|
||||
|
Reference in New Issue
Block a user