Fixed PhoneGap geolocation debug in Chrome browser
authorEugene Ostroukhov <eugeneo@symbian.org>
Tue, 27 Apr 2010 16:29:25 +0100
changeset 322 a2085280e663
parent 321 b99b8311285c
child 323 30d676a95944
Fixed PhoneGap geolocation debug in Chrome browser
org.symbian.tools.wrttools.debug.core/src/org/symbian/tools/wrttools/debug/internal/launch/ChromeInstancesManager.java
org.symbian.tools.wrttools/src/org/symbian/tools/wrttools/wizards/WRTProjectTemplateWizardPage.java
--- a/org.symbian.tools.wrttools.debug.core/src/org/symbian/tools/wrttools/debug/internal/launch/ChromeInstancesManager.java	Tue Apr 27 12:24:37 2010 +0100
+++ b/org.symbian.tools.wrttools.debug.core/src/org/symbian/tools/wrttools/debug/internal/launch/ChromeInstancesManager.java	Tue Apr 27 16:29:25 2010 +0100
@@ -44,6 +44,7 @@
             "--disable-extenions", // Use standard UI, should also improve speed and stability
             "--disable-plugins", // Run faster!
             "--activate-on-launch", // Bring to front on Mac
+            "--disable-geolocation", // Use our own Geolocation (needed to emulate Geolocation in phonegap) 
             "--always-enable-dev-tools", "--no-default-browser-check", // Our users don't need this nagging
             "--no-first-run", // We don't care
             "--app=%s" // Here we will have widget URI as --app argument
--- a/org.symbian.tools.wrttools/src/org/symbian/tools/wrttools/wizards/WRTProjectTemplateWizardPage.java	Tue Apr 27 12:24:37 2010 +0100
+++ b/org.symbian.tools.wrttools/src/org/symbian/tools/wrttools/wizards/WRTProjectTemplateWizardPage.java	Tue Apr 27 16:29:25 2010 +0100
@@ -92,7 +92,7 @@
 		
 		templates = new TableViewer(composite, SWT.BORDER | SWT.SINGLE);
 		FormData templatesData = new FormData();
-		templatesData.top = new FormAttachment(label);
+		templatesData.top = new FormAttachment(label, 5);
 		templatesData.left = new FormAttachment(0, 0);
 		templatesData.right = new FormAttachment(100, 0);
 		templatesData.bottom = new FormAttachment(70, 0);