app/gui/info-dialog.c (info_dialog_new_extended) don't set the utility

2003-11-20  Sven Neumann  <sven@gimp.org>

	* app/gui/info-dialog.c (info_dialog_new_extended)
	* app/widgets/gimptooldialog.c (gimp_tool_dialog_new): don't set
	the utility window type hint on info and tool dialogs. These are
	not persistent utility windows. See bug #115092.
This commit is contained in:
Sven Neumann 2003-11-20 21:41:36 +00:00 committed by Sven Neumann
parent d08d6520f8
commit 689c754e28
4 changed files with 7 additions and 4 deletions

View File

@ -1,3 +1,10 @@
2003-11-20 Sven Neumann <sven@gimp.org>
* app/gui/info-dialog.c (info_dialog_new_extended)
* app/widgets/gimptooldialog.c (gimp_tool_dialog_new): don't set
the utility window type hint on info and tool dialogs. These are
not persistent utility windows. See bug #115092.
2003-11-20 Sven Neumann <sven@gimp.org>
* app/widgets/widgets-enums.[ch]: added GimpWindowTypeHint enum.

View File

@ -339,7 +339,6 @@ info_dialog_new_extended (GimpViewable *viewable,
parent,
help_func, help_data,
NULL);
gtk_window_set_type_hint (GTK_WINDOW (shell), GDK_WINDOW_TYPE_HINT_UTILITY);
vbox = gtk_vbox_new (FALSE, 4);
gtk_container_set_border_width (GTK_CONTAINER (vbox), 4);

View File

@ -339,7 +339,6 @@ info_dialog_new_extended (GimpViewable *viewable,
parent,
help_func, help_data,
NULL);
gtk_window_set_type_hint (GTK_WINDOW (shell), GDK_WINDOW_TYPE_HINT_UTILITY);
vbox = gtk_vbox_new (FALSE, 4);
gtk_container_set_border_width (GTK_CONTAINER (vbox), 4);

View File

@ -76,8 +76,6 @@ gimp_tool_dialog_new (GimpToolInfo *tool_info,
tool_info->help_id,
NULL);
gtk_window_set_type_hint (GTK_WINDOW (dialog), GDK_WINDOW_TYPE_HINT_UTILITY);
va_start (args, desc);
gimp_dialog_add_buttons_valist (GIMP_DIALOG (dialog), args);
va_end (args);