cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From purplecabb...@apache.org
Subject [2/4] wp7 commit: fix standalone template refs to PGView which does not exist and add images for use by InAppBrowser
Date Wed, 03 Apr 2013 19:16:38 GMT
fix standalone template refs to PGView which does not exist and add images for use by InAppBrowser


Project: http://git-wip-us.apache.org/repos/asf/cordova-wp7/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-wp7/commit/a9c6bbed
Tree: http://git-wip-us.apache.org/repos/asf/cordova-wp7/tree/a9c6bbed
Diff: http://git-wip-us.apache.org/repos/asf/cordova-wp7/diff/a9c6bbed

Branch: refs/heads/master
Commit: a9c6bbed6af98bf80d486cfa1d737a5732657b0c
Parents: 91fc060
Author: Jesse MacFadyen <purplecabbage@gmail.com>
Authored: Wed Apr 3 10:38:16 2013 -0700
Committer: Jesse MacFadyen <purplecabbage@gmail.com>
Committed: Wed Apr 3 10:38:16 2013 -0700

----------------------------------------------------------------------
 templates/standalone/CordovaAppProj.csproj         |    6 ++++++
 templates/standalone/Images/appbar.back.rest.png   |  Bin 0 -> 375 bytes
 templates/standalone/Images/appbar.close.rest.png  |  Bin 0 -> 359 bytes
 .../Images/appbar.feature.video.rest.png           |  Bin 0 -> 433 bytes
 templates/standalone/Images/appbar.next.rest.png   |  Bin 0 -> 388 bytes
 templates/standalone/Images/appbar.save.rest.png   |  Bin 0 -> 297 bytes
 templates/standalone/Images/appbar.stop.rest.png   |  Bin 0 -> 350 bytes
 templates/standalone/MainPage.xaml                 |    2 +-
 templates/standalone/MainPage.xaml.cs              |    8 ++++----
 9 files changed, 11 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-wp7/blob/a9c6bbed/templates/standalone/CordovaAppProj.csproj
----------------------------------------------------------------------
diff --git a/templates/standalone/CordovaAppProj.csproj b/templates/standalone/CordovaAppProj.csproj
index 5cdc876..a251f92 100644
--- a/templates/standalone/CordovaAppProj.csproj
+++ b/templates/standalone/CordovaAppProj.csproj
@@ -168,6 +168,12 @@
   </ItemGroup>
   <ItemGroup>
     <Content Include="config.xml" />
+    <Content Include="Images\appbar.back.rest.png" />
+    <Content Include="Images\appbar.close.rest.png" />
+    <Content Include="Images\appbar.feature.video.rest.png" />
+    <Content Include="Images\appbar.next.rest.png" />
+    <Content Include="Images\appbar.save.rest.png" />
+    <Content Include="Images\appbar.stop.rest.png" />
     <Content Include="resources\notification-beep.wav" />
     <Content Include="www\cordova-2.6.0.js" />
     <Content Include="www\img\logo.png" />

http://git-wip-us.apache.org/repos/asf/cordova-wp7/blob/a9c6bbed/templates/standalone/Images/appbar.back.rest.png
----------------------------------------------------------------------
diff --git a/templates/standalone/Images/appbar.back.rest.png b/templates/standalone/Images/appbar.back.rest.png
new file mode 100644
index 0000000..4bc2b92
Binary files /dev/null and b/templates/standalone/Images/appbar.back.rest.png differ

http://git-wip-us.apache.org/repos/asf/cordova-wp7/blob/a9c6bbed/templates/standalone/Images/appbar.close.rest.png
----------------------------------------------------------------------
diff --git a/templates/standalone/Images/appbar.close.rest.png b/templates/standalone/Images/appbar.close.rest.png
new file mode 100644
index 0000000..8166a1c
Binary files /dev/null and b/templates/standalone/Images/appbar.close.rest.png differ

http://git-wip-us.apache.org/repos/asf/cordova-wp7/blob/a9c6bbed/templates/standalone/Images/appbar.feature.video.rest.png
----------------------------------------------------------------------
diff --git a/templates/standalone/Images/appbar.feature.video.rest.png b/templates/standalone/Images/appbar.feature.video.rest.png
new file mode 100644
index 0000000..baff565
Binary files /dev/null and b/templates/standalone/Images/appbar.feature.video.rest.png differ

http://git-wip-us.apache.org/repos/asf/cordova-wp7/blob/a9c6bbed/templates/standalone/Images/appbar.next.rest.png
----------------------------------------------------------------------
diff --git a/templates/standalone/Images/appbar.next.rest.png b/templates/standalone/Images/appbar.next.rest.png
new file mode 100644
index 0000000..ed577d7
Binary files /dev/null and b/templates/standalone/Images/appbar.next.rest.png differ

http://git-wip-us.apache.org/repos/asf/cordova-wp7/blob/a9c6bbed/templates/standalone/Images/appbar.save.rest.png
----------------------------------------------------------------------
diff --git a/templates/standalone/Images/appbar.save.rest.png b/templates/standalone/Images/appbar.save.rest.png
new file mode 100644
index 0000000..d49940e
Binary files /dev/null and b/templates/standalone/Images/appbar.save.rest.png differ

http://git-wip-us.apache.org/repos/asf/cordova-wp7/blob/a9c6bbed/templates/standalone/Images/appbar.stop.rest.png
----------------------------------------------------------------------
diff --git a/templates/standalone/Images/appbar.stop.rest.png b/templates/standalone/Images/appbar.stop.rest.png
new file mode 100644
index 0000000..4dd724f
Binary files /dev/null and b/templates/standalone/Images/appbar.stop.rest.png differ

http://git-wip-us.apache.org/repos/asf/cordova-wp7/blob/a9c6bbed/templates/standalone/MainPage.xaml
----------------------------------------------------------------------
diff --git a/templates/standalone/MainPage.xaml b/templates/standalone/MainPage.xaml
index 7e2b2cd..8b1e84b 100644
--- a/templates/standalone/MainPage.xaml
+++ b/templates/standalone/MainPage.xaml
@@ -20,7 +20,7 @@
         </Grid.RowDefinitions>
         <my:CordovaView HorizontalAlignment="Stretch" 
                    Margin="0,0,0,0"  
-                   x:Name="PGView" 
+                   x:Name="CordovaView" 
                    VerticalAlignment="Stretch" />
         <Image Source="SplashScreenImage.jpg"
           x:Name="SplashImage"

http://git-wip-us.apache.org/repos/asf/cordova-wp7/blob/a9c6bbed/templates/standalone/MainPage.xaml.cs
----------------------------------------------------------------------
diff --git a/templates/standalone/MainPage.xaml.cs b/templates/standalone/MainPage.xaml.cs
index eb6828f..b9ec7e1 100644
--- a/templates/standalone/MainPage.xaml.cs
+++ b/templates/standalone/MainPage.xaml.cs
@@ -34,7 +34,6 @@ using System.Windows.Media.Imaging;
 using System.Windows.Resources;
 
 
-
 namespace $safeprojectname$
 {
     public partial class MainPage : PhoneApplicationPage
@@ -43,12 +42,13 @@ namespace $safeprojectname$
         public MainPage()
         {
             InitializeComponent();
-            this.PGView.Loaded += GapBrowser_Loaded;
+            this.CordovaView.Loaded += CordovaView_Loaded;
         }
 
-        private void GapBrowser_Loaded(object sender, RoutedEventArgs e)
+        private void CordovaView_Loaded(object sender, RoutedEventArgs e)
         {
-            this.PGView.Loaded -= GapBrowser_Loaded;
+            this.CordovaView.Loaded -= CordovaView_Loaded;
+            // first time load will have an animation
             Storyboard _storyBoard = new Storyboard();
             DoubleAnimation animation = new DoubleAnimation()
             {


Mime
View raw message