* Fixes NB#85455, close the dialogs with their parent, this avoids some possible...
authorSergio Villar Senin <svillar@igalia.com>
Tue, 13 May 2008 16:02:00 +0000 (16:02 +0000)
committerSergio Villar Senin <svillar@igalia.com>
Tue, 13 May 2008 16:02:00 +0000 (16:02 +0000)
pmo-trunk-r4524

src/widgets/modest-window-mgr.c

index 43297e9..741b5c5 100644 (file)
@@ -1160,6 +1160,8 @@ modest_window_mgr_set_modal (ModestWindowMgr *self,
                                                   G_CALLBACK (on_modal_window_close), 
                                                   self);
        }
+       /* Destroy width parent */
+       gtk_window_set_destroy_with_parent (window, TRUE);
 }