[gimp] Bug 729765 - remove focusability of various widgets...
- From: Jehan Pagès <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] Bug 729765 - remove focusability of various widgets...
- Date: Sat, 13 Aug 2016 23:48:39 +0000 (UTC)
commit c83ee61c07d3d37df908c51708b726f700e8f356
Author: Jehan <jehan girinstud io>
Date: Mon Nov 9 18:18:48 2015 +0100
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.
app/widgets/gimptoolpalette.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/app/widgets/gimptoolpalette.c b/app/widgets/gimptoolpalette.c
index a1195dc..63c18c2 100644
--- a/app/widgets/gimptoolpalette.c
+++ b/app/widgets/gimptoolpalette.c
@@ -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 */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]