Enter/Leave problem fixed with c5b9f25587

This commit is contained in:
Grégory Soutadé 2020-11-19 11:43:14 +01:00
parent b0977da704
commit fbf138faee
2 changed files with 3 additions and 2 deletions

View File

@ -103,8 +103,6 @@ Signals can be :
"on-leave" : ["signal"|"delete"|"open-popup"|"close-popup"|"toggle-popup"]
"on-scroll" : ["signal"|"delete"|"open-popup"|"close-popup"|"toggle-popup"]
<!!> WARNING <!!> : It seems that GNOME 3.38.0 had some troubles managing on-enter/on-leave signal
Targets :
* signal : emit a signal to desktop application

View File

@ -55,6 +55,9 @@ class PicturePopup(GenericMonitor):
popup = GenericMonitorPopup([url_widget, picture_widget])
signals = {
'on-click':'toggle-popup',
# Could also use this behavior
# 'on-enter':'open-popup',
# 'on-leave':'close-popup',
'on-dblclick':'signal',
'on-rightclick':'signal',
'on-scroll':'signal',