]> Pileus Git - ~andy/gtk/commitdiff
Set the GtkWin32EmbedWidget we create here as modal. Fixes #389358.
authorTor Lillqvist <tml@novell.com>
Mon, 24 Sep 2007 13:45:40 +0000 (13:45 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Mon, 24 Sep 2007 13:45:40 +0000 (13:45 +0000)
2007-09-24  Tor Lillqvist  <tml@novell.com>

* gtk/gtkprintoperation-win32.c (pageDlgProc): Set the
GtkWin32EmbedWidget we create here as modal. Fixes #389358.

svn path=/trunk/; revision=18860

ChangeLog
gtk/gtkprintoperation-win32.c

index 0ee41562b8304c042695ab20e0218d404cfe13cd..cc1f224c8ba41d2f7119df705779e156cb0ad10e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-09-24  Tor Lillqvist  <tml@novell.com>
+
+       * gtk/gtkprintoperation-win32.c (pageDlgProc): Set the
+       GtkWin32EmbedWidget we create here as modal. Fixes #389358.
+
 2007-09-21  Manish Singh  <yosh@gimp.org>
 
        * gtk/gtkstyle.c (option_menu_get_props)
index 1c034bfbfc394895d89af0bd4e2ab52ee5ae3293..eb061afb53dda34ecdd551e181965f5621a6bb50 100644 (file)
@@ -1310,6 +1310,7 @@ pageDlgProc (HWND wnd, UINT message, WPARAM wparam, LPARAM lparam)
       SetWindowLongPtrW(wnd, GWLP_USERDATA, (LONG_PTR)op);
       
       plug = _gtk_win32_embed_widget_new ((GdkNativeWindow) wnd);
+      gtk_window_set_modal (GTK_WINDOW (plug), TRUE);
       op_win32->embed_widget = plug;
       gtk_container_add (GTK_CONTAINER (plug), op->priv->custom_widget);
       gtk_widget_show (op->priv->custom_widget);