unset the "focus-on-map" property for tool dialogs. Fixes bug #154651 (on

2005-02-07  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimptooldialog.c (gimp_tool_dialog_new): unset the
	"focus-on-map" property for tool dialogs. Fixes bug #154651 (on
	window managers supporting this hint).
This commit is contained in:
Sven Neumann 2005-02-06 23:33:50 +00:00 committed by Sven Neumann
parent 99c483762a
commit 1a337ada72
2 changed files with 14 additions and 7 deletions

View File

@ -1,3 +1,9 @@
2005-02-07 Sven Neumann <sven@gimp.org>
* app/widgets/gimptooldialog.c (gimp_tool_dialog_new): unset the
"focus-on-map" property for tool dialogs. Fixes bug #154651 (on
window managers supporting this hint).
2005-02-06 Sven Neumann <sven@gimp.org>
* libgimpconfig/Makefile.am

View File

@ -95,13 +95,14 @@ gimp_tool_dialog_new (GimpToolInfo *tool_info,
stock_id = gimp_viewable_get_stock_id (GIMP_VIEWABLE (tool_info));
dialog = g_object_new (GIMP_TYPE_TOOL_DIALOG,
"title", tool_info->blurb,
"role", GIMP_OBJECT (tool_info)->name,
"help-func", gimp_standard_help_func,
"help-id", tool_info->help_id,
"stock-id", stock_id,
"description", desc ? desc : tool_info->help,
"parent", parent,
"title", tool_info->blurb,
"role", GIMP_OBJECT (tool_info)->name,
"help-func", gimp_standard_help_func,
"help-id", tool_info->help_id,
"stock-id", stock_id,
"description", desc ? desc : tool_info->help,
"parent", parent,
"focus-on-map", FALSE,
NULL);
va_start (args, desc);