mirror of https://github.com/GNOME/gimp.git
Stop signal emission so that button doesn't grab the pointer away from the
Wed Jun 10 14:17:44 1998 Owen Taylor <otaylor@gtk.org> * app/disp_callbacks.c (gdisplay_origin_button_press): Stop signal emission so that button doesn't grab the pointer away from the menu.
This commit is contained in:
parent
c639350d4e
commit
a8f8421292
|
@ -1,3 +1,9 @@
|
|||
Wed Jun 10 14:17:44 1998 Owen Taylor <otaylor@gtk.org>
|
||||
|
||||
* app/disp_callbacks.c (gdisplay_origin_button_press):
|
||||
Stop signal emission so that button doesn't grab the
|
||||
pointer away from the menu.
|
||||
|
||||
Tue Jun 9 19:47:19 1998 Owen Taylor <otaylor@gtk.org>
|
||||
|
||||
* app/brushes.c app/drawable.c app/patterns.c
|
||||
|
|
|
@ -475,6 +475,11 @@ gdisplay_origin_button_press (GtkWidget *widget,
|
|||
popup_shell = gdisp->shell;
|
||||
gdisplay_set_menu_sensitivity (gdisp);
|
||||
gtk_menu_popup (GTK_MENU (gdisp->popup), NULL, NULL, NULL, NULL, 1, event->time);
|
||||
|
||||
/* Stop the signal emission so the button doesn't grab the
|
||||
* pointer away from us
|
||||
*/
|
||||
gtk_signal_emit_stop_by_name (widget, "button_press_event");
|
||||
}
|
||||
|
||||
return FALSE;
|
||||
|
|
|
@ -475,6 +475,11 @@ gdisplay_origin_button_press (GtkWidget *widget,
|
|||
popup_shell = gdisp->shell;
|
||||
gdisplay_set_menu_sensitivity (gdisp);
|
||||
gtk_menu_popup (GTK_MENU (gdisp->popup), NULL, NULL, NULL, NULL, 1, event->time);
|
||||
|
||||
/* Stop the signal emission so the button doesn't grab the
|
||||
* pointer away from us
|
||||
*/
|
||||
gtk_signal_emit_stop_by_name (widget, "button_press_event");
|
||||
}
|
||||
|
||||
return FALSE;
|
||||
|
|
|
@ -475,6 +475,11 @@ gdisplay_origin_button_press (GtkWidget *widget,
|
|||
popup_shell = gdisp->shell;
|
||||
gdisplay_set_menu_sensitivity (gdisp);
|
||||
gtk_menu_popup (GTK_MENU (gdisp->popup), NULL, NULL, NULL, NULL, 1, event->time);
|
||||
|
||||
/* Stop the signal emission so the button doesn't grab the
|
||||
* pointer away from us
|
||||
*/
|
||||
gtk_signal_emit_stop_by_name (widget, "button_press_event");
|
||||
}
|
||||
|
||||
return FALSE;
|
||||
|
|
Loading…
Reference in New Issue