# HG changeset patch # User John Lindgren # Date 1241353730 14400 # Node ID a3cf163c772b363ae532530cef8e51bc1dcd11da # Parent ab60d53dd965ee86cafa31d8a3d8cc72a19ad7ce Set window type hint on preferences and open dialogs (fixes #36) diff -r ab60d53dd965 -r a3cf163c772b src/audlegacy/ui_fileopener.c --- a/src/audlegacy/ui_fileopener.c Fri May 01 19:35:44 2009 -0400 +++ b/src/audlegacy/ui_fileopener.c Sun May 03 08:28:50 2009 -0400 @@ -139,6 +139,7 @@ action_stock = play_button ? GTK_STOCK_OPEN : GTK_STOCK_ADD; window = gtk_window_new(GTK_WINDOW_TOPLEVEL); + gtk_window_set_type_hint (GTK_WINDOW (window), GDK_WINDOW_TYPE_HINT_DIALOG); gtk_window_set_title(GTK_WINDOW(window), window_title); gtk_window_set_default_size(GTK_WINDOW(window), 700, 450); gtk_window_set_position(GTK_WINDOW(window), GTK_WIN_POS_CENTER);