Adding a new account now forces a logout to clear any stale Pithos cookies
[pithos-ms-client] / trunk / Pithos.Client.WPF / Preferences / LoginView.xaml
index d6606bf..e062949 100644 (file)
@@ -4,6 +4,9 @@
         xmlns:extToolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit/extended"
         Title="Astakos Login" Height="800" Width="1024" Icon="/PithosPlus;component/Images/PithosTaskbar.png"
         x:Name="TheView">
+    <Window.Resources>
+        <BooleanToVisibilityConverter x:Key="BoolToVisible" />
+    </Window.Resources>
     <Grid>
         <Grid.RowDefinitions>
             <RowDefinition Height="Auto"/>
             <TextBox Text="{Binding Path=Uri,ElementName=TheView}" Grid.Column="2" Margin="5,0,5,0" IsReadOnly="true"/>
             <Button Content="Retry" Grid.Column="3" x:Name="Retry" Click="Retry_Click" Padding="2"/>
         </Grid>
-        <extToolkit:BusyIndicator Grid.Row="1" x:Name="IsBusy">
-        <WebBrowser HorizontalAlignment="Stretch" Margin="5" Name="LoginBrowser" VerticalAlignment="Stretch" Navigating="LoginBrowser_Navigating" Navigated="LoginBrowser_Navigated" />
+        <extToolkit:BusyIndicator Grid.Row="1" x:Name="IsBusy" IsBusy="True" BusyContent="Connecting ...">
+        <WebBrowser HorizontalAlignment="Stretch" Margin="5" Name="LoginBrowser" VerticalAlignment="Stretch" 
+                    Navigating="LoginBrowser_Navigating" 
+                    Navigated="LoginBrowser_Navigated" 
+                    />
         </extToolkit:BusyIndicator>
     </Grid>
 </Window>