Blame SOURCES/remove-redundant-shell.patch

dc00b4
diff --git a/plugins/org.python.pydev/src/org/python/pydev/plugin/preferences/CheckDefaultPreferencesDialog.java b/plugins/org.python.pydev/src/org/python/pydev/plugin/preferences/CheckDefaultPreferencesDialog.java
dc00b4
index 3752c82..2f87c2a 100644
dc00b4
--- a/plugins/org.python.pydev/src/org/python/pydev/plugin/preferences/CheckDefaultPreferencesDialog.java
dc00b4
+++ b/plugins/org.python.pydev/src/org/python/pydev/plugin/preferences/CheckDefaultPreferencesDialog.java
dc00b4
@@ -235,7 +234,7 @@ public class CheckDefaultPreferencesDialog extends TrayDialog {
dc00b4
                         return;
dc00b4
                     }
dc00b4
                     Display disp = Display.getCurrent();
dc00b4
-                    Shell shell = new Shell(disp);
dc00b4
+                    Shell shell = disp.getActiveShell();
dc00b4
                     CheckDefaultPreferencesDialog dialog = new CheckDefaultPreferencesDialog(shell, missing);
dc00b4
                     showing = true;
dc00b4
                     try {