Merge lp:~mandel/ubuntuone-windows-installer/add_beta_tab into lp:ubuntuone-windows-installer/beta

Proposed by Manuel de la Peña
Status: Merged
Approved by: John Lenton
Approved revision: 174
Merged at revision: 129
Proposed branch: lp:~mandel/ubuntuone-windows-installer/add_beta_tab
Merge into: lp:ubuntuone-windows-installer/beta
Prerequisite: lp:~mandel/ubuntuone-windows-installer/fix_overlay
Diff against target: 276 lines (+153/-16)
6 files modified
main.build (+6/-0)
src/Canonical.UbuntuOne.Client.Views/BetaView.xaml (+47/-0)
src/Canonical.UbuntuOne.Client.Views/BetaView.xaml.cs (+27/-0)
src/Canonical.UbuntuOne.Client.Views/Canonical.UbuntuOne.Client.Views.csproj (+7/-0)
src/Canonical.UbuntuOne.Client.Views/PreferencesDialog.xaml (+8/-3)
src/Canonical.UbuntuOne.Client.Views/PreferencesDialog.xaml.cs (+58/-13)
To merge this branch: bzr merge lp:~mandel/ubuntuone-windows-installer/add_beta_tab
Reviewer Review Type Date Requested Status
John Lenton (community) Approve
Review via email: mp+40541@code.launchpad.net

Description of the change

Adds a beta tab so that the user knows about the state of the port.

To post a comment you must log in.
Revision history for this message
John Lenton (chipaca) wrote :

heh. Are the contacts synced now? And now? And now?

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'main.build'
2--- main.build 2010-11-10 15:36:48 +0000
3+++ main.build 2010-11-10 15:36:48 +0000
4@@ -236,6 +236,12 @@
5 workingdir="src/emblems_cache"
6 program="python.exe"
7 commandline="setup.py py2exe --packages=pkg_resources" />
8+
9+ <exec basedir="${python_path}"
10+ managed="true"
11+ workingdir="src/icons_overlay"
12+ program="python.exe"
13+ commandline="setup.py py2exe --packages=pkg_resources" />
14
15 </target>
16
17
18=== added file 'src/Canonical.UbuntuOne.Client.Views/BetaView.xaml'
19--- src/Canonical.UbuntuOne.Client.Views/BetaView.xaml 1970-01-01 00:00:00 +0000
20+++ src/Canonical.UbuntuOne.Client.Views/BetaView.xaml 2010-11-10 15:36:48 +0000
21@@ -0,0 +1,47 @@
22+<UserControl x:Class="Canonical.UbuntuOne.Client.Views.BetaView"
23+ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
24+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
25+ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
26+ xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
27+ mc:Ignorable="d"
28+ d:DesignHeight="300" d:DesignWidth="300"
29+ Background="White">
30+ <Grid>
31+ <Grid.RowDefinitions>
32+ <RowDefinition Height="Auto"/>
33+ <RowDefinition Height="Auto"/>
34+ <RowDefinition Height="Auto"/>
35+ </Grid.RowDefinitions>
36+ <TextBlock Name="IntroText" Grid.Row="0" TextWrapping="Wrap" TextAlignment="Justify">Thank you for participating in the Ubuntu One for Windows beta test. The application currently synchronizes your files between your Windows computer and your Ubuntu One personal cloud.</TextBlock>
37+ <Grid Grid.Row="1">
38+ <Grid.RowDefinitions>
39+ <RowDefinition Height="Auto"/>
40+ <RowDefinition Height="Auto"/>
41+ <RowDefinition Height="Auto"/>
42+ <RowDefinition Height="Auto"/>
43+ <RowDefinition Height="Auto"/>
44+ <RowDefinition Height="Auto"/>
45+ <RowDefinition Height="Auto"/>
46+ </Grid.RowDefinitions>
47+ <TextBlock Grid.Row="0" TextWrapping="Wrap" TextAlignment="Justify" Margin="0 3 3 3">Features coming soon:</TextBlock>
48+ <TextBlock Grid.Row="1" TextWrapping="Wrap" TextAlignment="Justify" Margin="14 0 3 0">Automatic sync when files change</TextBlock>
49+ <TextBlock Grid.Row="2" TextWrapping="Wrap" TextAlignment="Justify" Margin="14 0 3 0">Information about your account, added devices, and more finite sync settings</TextBlock>
50+ <TextBlock Grid.Row="3" TextWrapping="Wrap" TextAlignment="Justify" Margin="14 0 3 0">Sync folders outside of the “Ubuntu One” folder</TextBlock>
51+ <TextBlock Grid.Row="4" TextWrapping="Wrap" TextAlignment="Justify" Margin="14 0 3 0">Enhanced desktop sync notifications</TextBlock>
52+ <TextBlock Grid.Row="5" TextWrapping="Wrap" TextAlignment="Justify" Margin="14 0 3 0">Sync contacts, notes and bookmarks</TextBlock>
53+ <TextBlock Grid.Row="6" TextWrapping="Wrap" TextAlignment="Justify" Margin="14 0 3 0">Include Tomboy and Banshee (with the Ubuntu One Music Store) as optional components of the application installation</TextBlock>
54+ </Grid>
55+ <Grid Grid.Row="2">
56+ <Grid.RowDefinitions>
57+ <RowDefinition Height="Auto"/>
58+ <RowDefinition Height="Auto"/>
59+ </Grid.RowDefinitions>
60+ <TextBlock TextWrapping="Wrap" TextAlignment="Justify" Margin="3">
61+ Review the <Hyperlink NavigateUri="https://wiki.ubuntu.com/UbuntuOne/Windows">Ubuntu One wiki page</Hyperlink> to learn more about testing recommendations.
62+ </TextBlock>
63+ <TextBlock Grid.Row="1" TextWrapping="Wrap" TextAlignment="Justify" Margin="3">
64+ Found a bug? <Hyperlink NavigateUri="https://bugs.launchpad.net/ubuntuone-windows-installer/">Tell us about it on Launchpad</Hyperlink>.
65+ </TextBlock>
66+ </Grid>
67+ </Grid>
68+</UserControl>
69
70=== added file 'src/Canonical.UbuntuOne.Client.Views/BetaView.xaml.cs'
71--- src/Canonical.UbuntuOne.Client.Views/BetaView.xaml.cs 1970-01-01 00:00:00 +0000
72+++ src/Canonical.UbuntuOne.Client.Views/BetaView.xaml.cs 2010-11-10 15:36:48 +0000
73@@ -0,0 +1,27 @@
74+using System;
75+using System.Collections.Generic;
76+using System.Linq;
77+using System.Text;
78+using System.Windows;
79+using System.Windows.Controls;
80+using System.Windows.Data;
81+using System.Windows.Documents;
82+using System.Windows.Input;
83+using System.Windows.Media;
84+using System.Windows.Media.Imaging;
85+using System.Windows.Navigation;
86+using System.Windows.Shapes;
87+
88+namespace Canonical.UbuntuOne.Client.Views
89+{
90+ /// <summary>
91+ /// Interaction logic for BetaView.xaml
92+ /// </summary>
93+ public partial class BetaView : UserControl
94+ {
95+ public BetaView()
96+ {
97+ InitializeComponent();
98+ }
99+ }
100+}
101
102=== modified file 'src/Canonical.UbuntuOne.Client.Views/Canonical.UbuntuOne.Client.Views.csproj'
103--- src/Canonical.UbuntuOne.Client.Views/Canonical.UbuntuOne.Client.Views.csproj 2010-10-20 10:28:53 +0000
104+++ src/Canonical.UbuntuOne.Client.Views/Canonical.UbuntuOne.Client.Views.csproj 2010-11-10 15:36:48 +0000
105@@ -83,6 +83,9 @@
106 <Reference Include="PresentationFramework" />
107 </ItemGroup>
108 <ItemGroup>
109+ <Compile Include="BetaView.xaml.cs">
110+ <DependentUpon>BetaView.xaml</DependentUpon>
111+ </Compile>
112 <Compile Include="WindowsSettingsView.xaml.cs">
113 <DependentUpon>WindowsSettingsView.xaml</DependentUpon>
114 </Compile>
115@@ -90,6 +93,10 @@
116 <SubType>Designer</SubType>
117 <Generator>MSBuild:Compile</Generator>
118 </Page>
119+ <Page Include="BetaView.xaml">
120+ <SubType>Designer</SubType>
121+ <Generator>MSBuild:Compile</Generator>
122+ </Page>
123 <Page Include="DevicesView.xaml">
124 <SubType>Designer</SubType>
125 <Generator>MSBuild:Compile</Generator>
126
127=== modified file 'src/Canonical.UbuntuOne.Client.Views/PreferencesDialog.xaml'
128--- src/Canonical.UbuntuOne.Client.Views/PreferencesDialog.xaml 2010-10-13 10:38:57 +0000
129+++ src/Canonical.UbuntuOne.Client.Views/PreferencesDialog.xaml 2010-11-10 15:36:48 +0000
130@@ -22,7 +22,7 @@
131 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
132 xmlns:Views="clr-namespace:Canonical.UbuntuOne.Client.Views"
133 xmlns:resx="clr-namespace:Canonical.UbuntuOne.Client.Views.Resources"
134- Title="{x:Static resx:Resources.PreferencesDialogTitle}" Height="450" Width="300">
135+ Title="{x:Static resx:Resources.PreferencesDialogTitle}" Height="450" Width="400">
136 <Grid Margin="3">
137 <Grid.RowDefinitions>
138 <RowDefinition Height="50" />
139@@ -45,10 +45,14 @@
140 <Label Name="StatusLabel" Grid.Row="1">Disconnected</Label>
141 </Grid>
142 <TabControl Margin="3" Grid.Row="1">
143+ <TabItem Header="Beta" >
144+ <Views:BetaView x:Name="BetaTab" Height="300" IsEnabled="False"/>
145+ </TabItem>
146 <TabItem Header="{x:Static resx:Resources.PreferencesDialogWindowsTabHeader}">
147 <Views:WindowsSettingsView x:Name="WindowsTab" Height="300" />
148 </TabItem>
149- <TabItem Header="{x:Static resx:Resources.PreferencesDialogAccountTabHeader}">
150+ <!--
151+ <TabItem Header="{x:Static resx:Resources.PreferencesDialogAccountTabHeader}" >
152 <Views:AccountView x:Name="AccountsTab" Height="300" IsEnabled="False"/>
153 </TabItem>
154 <TabItem Header="{x:Static resx:Resources.PreferencesDialogDevicesTabHeader}" >
155@@ -56,7 +60,8 @@
156 </TabItem>
157 <TabItem Header="{x:Static resx:Resources.PreferencesDialogServicesTabHeader}" >
158 <Views:ServicesView x:Name="ServicesTab" Height="300" IsEnabled="False"/>
159- </TabItem>
160+ </TabItem>
161+ -->
162 </TabControl>
163 <Button Name="CloseButton" Grid.Row="2" HorizontalAlignment="Right" Width="75" Content="{x:Static resx:Resources.CloseButtonLabel}" Click="OnCloseButtonClick"/>
164 </Grid>
165
166=== modified file 'src/Canonical.UbuntuOne.Client.Views/PreferencesDialog.xaml.cs'
167--- src/Canonical.UbuntuOne.Client.Views/PreferencesDialog.xaml.cs 2010-10-20 23:09:36 +0000
168+++ src/Canonical.UbuntuOne.Client.Views/PreferencesDialog.xaml.cs 2010-11-10 15:36:48 +0000
169@@ -43,49 +43,94 @@
170 InitializeComponent();
171 }
172
173+ //public string UserName
174+ //{
175+ // set { AccountsTab.UserName = value; }
176+ //}
177+
178+ //public string Email
179+ //{
180+ // set { AccountsTab.Email = value; }
181+ //}
182+
183+ //public string CurrentPlan
184+ //{
185+ // set { AccountsTab.CurrentPlan = value; }
186+ //}
187+
188+ //public bool IsBookmarksSynced
189+ //{
190+ // get { return ServicesTab.IsBookmarksSynced; }
191+ // set { ServicesTab.IsBookmarksSynced = value; }
192+ //}
193+
194+ //public bool IsBroadcastSynced
195+ //{
196+ // get { return ServicesTab.IsBroadcastSynced; }
197+ // set { ServicesTab.IsBroadcastSynced = value; }
198+ //}
199+
200+ //public bool IsContactsSynced
201+ //{
202+ // get { return ServicesTab.IsContactsSynced; }
203+ // set { ServicesTab.IsContactsSynced = value; }
204+ //}
205+
206+ //public bool IsFilesSynced
207+ //{
208+ // get { return ServicesTab.IsFilesSynced; }
209+ // set { ServicesTab.IsFilesSynced = value; }
210+ //}
211+
212+ //public bool IsMusicSynced
213+ //{
214+ // get { return ServicesTab.IsMusicSynced; }
215+ // set { ServicesTab.IsMusicSynced = value; }
216+ //}
217+
218 public string UserName
219 {
220- set { AccountsTab.UserName = value; }
221+ set { }
222 }
223
224 public string Email
225 {
226- set { AccountsTab.Email = value; }
227+ set { }
228 }
229
230 public string CurrentPlan
231 {
232- set { AccountsTab.CurrentPlan = value; }
233+ set { }
234 }
235
236 public bool IsBookmarksSynced
237 {
238- get { return ServicesTab.IsBookmarksSynced; }
239- set { ServicesTab.IsBookmarksSynced = value; }
240+ get { return false; }
241+ set { }
242 }
243
244 public bool IsBroadcastSynced
245 {
246- get { return ServicesTab.IsBroadcastSynced; }
247- set { ServicesTab.IsBroadcastSynced = value; }
248+ get { return false; }
249+ set { }
250 }
251
252 public bool IsContactsSynced
253 {
254- get { return ServicesTab.IsContactsSynced; }
255- set { ServicesTab.IsContactsSynced = value; }
256+ get { return false; }
257+ set { }
258 }
259
260 public bool IsFilesSynced
261 {
262- get { return ServicesTab.IsFilesSynced; }
263- set { ServicesTab.IsFilesSynced = value; }
264+ get { return false; }
265+ set { }
266 }
267
268 public bool IsMusicSynced
269 {
270- get { return ServicesTab.IsMusicSynced; }
271- set { ServicesTab.IsMusicSynced = value; }
272+ get { return false; }
273+ set { }
274 }
275
276 public bool IsAutoSyncEnable

Subscribers

People subscribed via source and target branches

to all changes: