From: ArronM <tux...@us...> - 2008-02-29 18:46:17
|
Update of /cvsroot/azureus/plugins/azemp/com/azureus/plugins/azemp/ui/swt/emp In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv8940/src/azemp/com/azureus/plugins/azemp/ui/swt/emp Modified Files: EmbeddedPlayerWindowSWT.java Log Message: instead of thread, execute view url and minimize on swt thread at a later date Index: EmbeddedPlayerWindowSWT.java =================================================================== RCS file: /cvsroot/azureus/plugins/azemp/com/azureus/plugins/azemp/ui/swt/emp/EmbeddedPlayerWindowSWT.java,v retrieving revision 1.132 retrieving revision 1.133 diff -u -d -r1.132 -r1.133 --- EmbeddedPlayerWindowSWT.java 28 Feb 2008 23:54:24 -0000 1.132 +++ EmbeddedPlayerWindowSWT.java 29 Feb 2008 18:46:13 -0000 1.133 @@ -1156,14 +1156,12 @@ emp.runAction(EmbeddedMediaPlayer.ACTION_PAUSE); final UIFunctions functions = UIFunctionsManager.getUIFunctions(); if (functions != null) { - AEThread2 thread = new AEThread2("show browser " + url, true) { - // @see org.gudy.azureus2.core3.util.AEThread2#run() - public void run() { + Utils.execSWTThreadLater(0, new AERunnable() { + public void runSupport() { functions.viewURL(url, "browse", 0, 0, true, false); shell.setMinimized(true); } - }; - thread.start(); + }); } } }); |