set a window type hint of GDK_WINDOW_TYPE_HINT_UTILITY for info windows

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

	* app/gui/info-dialog.c: set a window type hint of
	GDK_WINDOW_TYPE_HINT_UTILITY for info windows (fixes bug #92175).

	* app/tools/gimpcolorpickertool.c: give the color area more space.
This commit is contained in:
Sven Neumann 2003-03-16 17:40:38 +00:00 committed by Sven Neumann
parent 70c61f66c2
commit 54cdc69c3e
4 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2003-03-16 Sven Neumann <sven@gimp.org>
* app/gui/info-dialog.c: set a window type hint of
GDK_WINDOW_TYPE_HINT_UTILITY for info windows (fixes bug #92175).
* app/tools/gimpcolorpickertool.c: give the color area more space.
2003-03-16 Sven Neumann <sven@gimp.org> 2003-03-16 Sven Neumann <sven@gimp.org>
* configure.in: check for gdk-pixbuf-csource and allow to override * configure.in: check for gdk-pixbuf-csource and allow to override

View File

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

View File

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

View File

@ -541,7 +541,7 @@ gimp_color_picker_tool_info_create (GimpDrawable *drawable)
frame = gtk_frame_new (NULL); frame = gtk_frame_new (NULL);
gtk_frame_set_shadow_type (GTK_FRAME (frame), GTK_SHADOW_IN); gtk_frame_set_shadow_type (GTK_FRAME (frame), GTK_SHADOW_IN);
gtk_box_pack_start (GTK_BOX (hbox), frame, FALSE, FALSE, 0); gtk_box_pack_start (GTK_BOX (hbox), frame, TRUE, TRUE, 0);
gimp_rgba_set (&color, 0.0, 0.0, 0.0, 0.0); gimp_rgba_set (&color, 0.0, 0.0, 0.0, 0.0);
color_area = gimp_color_area_new (&color, color_area = gimp_color_area_new (&color,