Commit 52ad5bb2 authored by Jehan's avatar Jehan

app: remove focusability of toolbox buttons.

Commit c83ee61c got overridded by commit b5cc2a97.
Reintroducing the changes.
parent 1c6073fd
......@@ -254,6 +254,13 @@ gimp_tool_palette_hierarchy_changed (GtkWidget *widget,
else
gimp_help_set_help_data (GTK_WIDGET (item),
tool_info->help, tool_info->help_id);
/* Make sure the toolbox buttons won't grab focus, which has
* nearly no practical use, and prevents various actions until
* you click back in canvas.
*/
gtk_widget_set_can_focus (gtk_bin_get_child (GTK_BIN (item)),
FALSE);
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment