Revision 52e8e7d9

b/trunk/Pithos.Client.WPF/Pithos.Client.WPF.csproj
249 249
      <Generator>MSBuild:Compile</Generator>
250 250
      <SubType>Designer</SubType>
251 251
    </ApplicationDefinition>
252
    <Compile Include="Converters\DummyConverter.cs" />
252 253
    <Compile Include="Converters\EmptyToVisibilityConverter.cs" />
253 254
    <Compile Include="Converters\NullToVisibilityConverter.cs" />
254 255
    <Compile Include="FileProperties\ContainerPolicy.cs" />
b/trunk/Pithos.Client.WPF/Preferences/AddAccountView.xaml
79 79
                               NextPage="{Binding ElementName=AutoConfirmedPage}"                               
80 80
                               CanSelectNextPage="{Binding HasValidCredentials}"                               
81 81
                               >
82
            <extToolkit:BusyIndicator x:Name="AutoBusyIndicator" IsBusy="{Binding IsWorking,NotifyOnSourceUpdated=true}" DisplayAfter="0">
82
            <extToolkit:BusyIndicator x:Name="AutoBusyIndicator" IsBusy="{Binding IsWorking}" DisplayAfter="0">
83 83
                <extToolkit:BusyIndicator.BusyContent>
84 84
                    <TextBlock  TextWrapping="Wrap">
85 85
                        <TextBlock HorizontalAlignment="Center" Text="{Binding BusyTitle}"/>
......
89 89
                <extToolkit:BusyIndicator.Content>
90 90
                    <StackPanel x:Name="AutoPanel" VerticalAlignment="Center" >
91 91
                        <Button Margin="5" Name="RetrieveCredentials" Content="Retrieve Credentials" Width="150"/>
92

  
93 92
                        <TextBlock Text="Credentials Retrieved Succesfully" Visibility="{Binding Converter={StaticResource BoolToVisible}, Path=HasCredentials}" Margin="10" HorizontalAlignment="Center"/>
94 93
                        <Button x:Name="TestAutoAccount" Content="Validate Credentials" IsEnabled="{Binding HasCredentials}" HorizontalAlignment="Center" cal:Message.Attach="TestAccount" Margin="5"/>
94
                        
95
                        <TextBlock x:Name="ValidationMessage" Text="Credentials Validated" Visibility="{Binding Converter={StaticResource BoolToVisible}, Path=HasValidCredentials}" Margin="10" HorizontalAlignment="Center"/>
95 96
                    </StackPanel>
96 97
                </extToolkit:BusyIndicator.Content>
97 98
                </extToolkit:BusyIndicator>
......
161 162
        </extToolkit:WizardPage>
162 163
    </extToolkit:Wizard>
163 164
    
164
</Window>
165
</Window>
b/trunk/Pithos.Client.WPF/Preferences/AddAccountView.xaml.cs
24 24
            InitializeComponent();
25 25
            
26 26
            //When the busy indicator changes, force a focus change. Workaround for delayed change of the Next button's visibility
27
            ManualBusyMessage.IsVisibleChanged += (sender, evt) => Token.Focus(); ;
28
            AutoBusyIndicator.IsVisibleChanged += (sender, evt) => RetrieveCredentials.BringIntoView();
27
            ManualBusyMessage.IsVisibleChanged += (sender, evt) => Token.Focus();
28
            ValidationMessage.IsVisibleChanged += (sender, evt) => ValidationMessage.Focus();
29 29
        }
30 30

  
31 31

  
b/trunk/Pithos.Network/CloudFilesClient.cs
712 712
                                                   Name = objectName,
713 713
                                                   Hash = client.GetHeaderValue("ETag"),
714 714
                                                   Content_Type = client.GetHeaderValue("Content-Type"),
715
                                                   Bytes = Convert.ToInt64(client.GetHeaderValue("Content-Length")),
715
                                                   Bytes = Convert.ToInt64(client.GetHeaderValue("Content-Length",true)),
716 716
                                                   Tags = tags,
717 717
                                                   Last_Modified = client.LastModified,
718 718
                                                   Extensions = extensions,

Also available in: Unified diff