Add gimp_button_event_triggers_context_menu() and use it
instead of checking for event->button == 3, so context menus work correctly on the Mac. Didn't change the image menu yet because thet requires some more refactoring.
This commit is contained in:
@ -262,6 +262,8 @@ GtkWidget * gimp_table_attach_aligned (GtkTable *table,
|
||||
void gimp_label_set_attributes (GtkLabel *label,
|
||||
...);
|
||||
|
||||
gboolean gimp_button_event_triggers_context_menu (GdkEventButton *event);
|
||||
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
||||
Reference in New Issue
Block a user