directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r1233386 - /directory/studio/trunk/plugins/rcp/src/main/java/org/apache/directory/studio/ApplicationWorkbenchWindowAdvisor.java
Date Thu, 19 Jan 2012 14:16:32 GMT
Author: pamarcelot
Date: Thu Jan 19 14:16:31 2012
New Revision: 1233386

URL: http://svn.apache.org/viewvc?rev=1233386&view=rev
Log:
Fix for DIRSTUDIO-759 (Exit confirmation dialog is showed twice when quitting the application
by closing the window on Linux and Windows).

Modified:
    directory/studio/trunk/plugins/rcp/src/main/java/org/apache/directory/studio/ApplicationWorkbenchWindowAdvisor.java

Modified: directory/studio/trunk/plugins/rcp/src/main/java/org/apache/directory/studio/ApplicationWorkbenchWindowAdvisor.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/rcp/src/main/java/org/apache/directory/studio/ApplicationWorkbenchWindowAdvisor.java?rev=1233386&r1=1233385&r2=1233386&view=diff
==============================================================================
--- directory/studio/trunk/plugins/rcp/src/main/java/org/apache/directory/studio/ApplicationWorkbenchWindowAdvisor.java
(original)
+++ directory/studio/trunk/plugins/rcp/src/main/java/org/apache/directory/studio/ApplicationWorkbenchWindowAdvisor.java
Thu Jan 19 14:16:31 2012
@@ -21,7 +21,6 @@
 package org.apache.directory.studio;
 
 
-import org.apache.directory.studio.preferences.ShutdownPreferencesPage;
 import org.eclipse.core.runtime.IAdaptable;
 import org.eclipse.core.runtime.IProduct;
 import org.eclipse.core.runtime.Platform;
@@ -372,10 +371,4 @@ public class ApplicationWorkbenchWindowA
 
         recomputeTitle();
     }
-
-
-    public boolean preWindowShellClose()
-    {
-        return ShutdownPreferencesPage.promptOnExit();
-    }
 }



Mime
View raw message