app/gui/preferences-dialog.c app/widgets/widgets-enums.[ch] added new

2004-05-04  Sven Neumann  <sven@gimp.org>

	* app/gui/preferences-dialog.c
	* app/widgets/widgets-enums.[ch]
	* app/widgets/gimpwidgets-utils.c (gimp_window_set_hint): added
	new window hint "keep-above" to force toolbox and/or dock windows
	to be kept above (if the WM supports this hint). Fixes bug #131672.
This commit is contained in:
Sven Neumann
2004-05-04 13:31:57 +00:00
committed by Sven Neumann
parent 29e4cf347b
commit 2c2f46aeca
6 changed files with 23 additions and 9 deletions

View File

@ -749,5 +749,9 @@ gimp_window_set_hint (GtkWindow *window,
case GIMP_WINDOW_HINT_UTILITY:
gtk_window_set_type_hint (window, GDK_WINDOW_TYPE_HINT_UTILITY);
break;
case GIMP_WINDOW_HINT_KEEP_ABOVE:
gtk_window_set_keep_above (window, TRUE);
break;
}
}