changeset 4878:a3cf163c772b

Set window type hint on preferences and open dialogs (fixes #36)
author John Lindgren <john.lindgren@tds.net>
date Sun, 03 May 2009 08:28:50 -0400
parents ab60d53dd965
children 012b478a282f
files src/audlegacy/ui_fileopener.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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);