[Esbox-commits] r56 - trunk/org.indt.esbox.ui/src/org/indt/esbox/ui/dialogs

raul at garage.maemo.org raul at garage.maemo.org
Fri Oct 5 02:11:12 EEST 2007


Author: raul
Date: 2007-10-05 02:11:11 +0300 (Fri, 05 Oct 2007)
New Revision: 56

Modified:
   trunk/org.indt.esbox.ui/src/org/indt/esbox/ui/dialogs/MaemoMenuDialog.java
Log:
bug related to initialization of maemo was fixed.

Modified: trunk/org.indt.esbox.ui/src/org/indt/esbox/ui/dialogs/MaemoMenuDialog.java
===================================================================
--- trunk/org.indt.esbox.ui/src/org/indt/esbox/ui/dialogs/MaemoMenuDialog.java	2007-10-04 22:59:33 UTC (rev 55)
+++ trunk/org.indt.esbox.ui/src/org/indt/esbox/ui/dialogs/MaemoMenuDialog.java	2007-10-04 23:11:11 UTC (rev 56)
@@ -110,7 +110,8 @@
 	 */
 	protected void restartClicked() {
 		try {
-			ScratchboxFacade.getInstance().restartMaemoCommand();
+			ScratchboxFacade.getInstance().killProcess();
+			ScratchboxFacade.getInstance().startMaemoCommand();
 		} catch (ScratchboxException e) {
 			ErrorLogger errorLogger = UIActivator.getDefault().getErrorLogger();
 			errorLogger.logAndShowError("Scratchbox error", e);
@@ -122,7 +123,7 @@
 	 */
 	protected void stopClicked() {
 		try {
-			ScratchboxFacade.getInstance().stopMaemoCommand();
+			ScratchboxFacade.getInstance().killProcess();
 		} catch (ScratchboxException e) {
 			ErrorLogger errorLogger = UIActivator.getDefault().getErrorLogger();
 			errorLogger.logAndShowError("Scratchbox error", e);



More information about the Esbox-commits mailing list