set a window type hint of GDK_WINDOW_TYPE_HINT_NORMAL for the toolbox

2003-03-13  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimptoolbox.c (gimp_toolbox_init): set a window type
	hint of GDK_WINDOW_TYPE_HINT_NORMAL for the toolbox since UTILITY
	doesn't match here.
This commit is contained in:
Sven Neumann
2003-03-13 18:22:20 +00:00
committed by Sven Neumann
parent 2008e01c28
commit f6ce818476
2 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2003-03-13 Sven Neumann <sven@gimp.org>
* app/widgets/gimptoolbox.c (gimp_toolbox_init): set a window type
hint of GDK_WINDOW_TYPE_HINT_NORMAL for the toolbox since UTILITY
doesn't match here.
2003-03-13 Sven Neumann <sven@gimp.org> 2003-03-13 Sven Neumann <sven@gimp.org>
* app/gui/channels-commands.c: don't expose the internal term * app/gui/channels-commands.c: don't expose the internal term

View File

@ -179,7 +179,12 @@ gimp_toolbox_init (GimpToolbox *toolbox)
gtk_window_set_wmclass (GTK_WINDOW (toolbox), "toolbox", "Gimp"); gtk_window_set_wmclass (GTK_WINDOW (toolbox), "toolbox", "Gimp");
gtk_window_set_title (GTK_WINDOW (toolbox), _("The GIMP")); gtk_window_set_title (GTK_WINDOW (toolbox), _("The GIMP"));
gtk_window_set_resizable (GTK_WINDOW (toolbox), TRUE);
/* Docks are utility windows by default, but the toolbox doesn't fit
* into this category. 'Normal' is not correct as well but there
* doesn't seem to be a better match :-(
*/
gtk_window_set_type_hint (GTK_WINDOW (toolbox), GDK_WINDOW_TYPE_HINT_NORMAL);
main_vbox = GIMP_DOCK (toolbox)->main_vbox; main_vbox = GIMP_DOCK (toolbox)->main_vbox;