Bug 729765 - remove focusability of various widgets...

... starting with toolbox buttons.
This is particularly a problem in single window mode (and sometimes in
multi-window mode) where canvas easily loses focus, hence key events.
This commit is contained in:
Jehan 2015-11-09 18:18:48 +01:00
parent 381d9e9b7a
commit c83ee61c07

View file

@ -447,6 +447,7 @@ gimp_tool_palette_initialize_tools (GimpToolPalette *palette)
gimp_help_set_help_data (GTK_WIDGET (item),
tool_info->help, tool_info->help_id);
}
gtk_widget_set_can_focus (gtk_bin_get_child (GTK_BIN (item)), FALSE);
}
/* We only need to initialize tools once */