зеркало из https://github.com/mozilla/gecko-dev.git
Fix growing cascades on the toolbar. #938. The cascade callback was called for enter and leave events.
This commit is contained in:
Родитель
c3242a78a2
Коммит
25f7c4907e
|
@ -514,12 +514,12 @@ XFE_RDFToolbar::createXfeCascade(Widget parent,HT_Resource entry)
|
|||
|
||||
XtAddCallback(cascade,
|
||||
XmNenterCallback,
|
||||
&XFE_RDFMenuToolbarBase::item_cascading_cb,
|
||||
&XFE_RDFMenuToolbarBase::item_enter_cb,
|
||||
(XtPointer) data);
|
||||
|
||||
XtAddCallback(cascade,
|
||||
XmNleaveCallback,
|
||||
&XFE_RDFMenuToolbarBase::item_cascading_cb,
|
||||
&XFE_RDFMenuToolbarBase::item_leave_cb,
|
||||
(XtPointer) data);
|
||||
|
||||
XtAddCallback(cascade,
|
||||
|
|
Загрузка…
Ссылка в новой задаче