forked from AuroraMiddleware/gtk
Revert "modelbutton: Emit ::clicked() before closing the popover"
This reverts commit 57f913b753
.
This commit is contained in:
parent
7caed3a462
commit
c7d871570f
@ -975,8 +975,6 @@ gtk_model_button_clicked (GtkGestureClick *gesture,
|
|||||||
double y,
|
double y,
|
||||||
GtkModelButton *self)
|
GtkModelButton *self)
|
||||||
{
|
{
|
||||||
g_signal_emit (self, signals[SIGNAL_CLICKED], 0);
|
|
||||||
|
|
||||||
if (self->menu_name != NULL)
|
if (self->menu_name != NULL)
|
||||||
{
|
{
|
||||||
switch_menu (self);
|
switch_menu (self);
|
||||||
@ -997,6 +995,7 @@ gtk_model_button_clicked (GtkGestureClick *gesture,
|
|||||||
close_menu (self);
|
close_menu (self);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
g_signal_emit (self, signals[SIGNAL_CLICKED], 0);
|
||||||
|
|
||||||
if (self->action_helper)
|
if (self->action_helper)
|
||||||
gtk_action_helper_activate (self->action_helper);
|
gtk_action_helper_activate (self->action_helper);
|
||||||
|
Loading…
Reference in New Issue
Block a user