Changeset 1856


Ignore:
Timestamp:
Aug 22, 2010, 8:17:54 PM (11 years ago)
Author:
Paul Lelgemann
Message:

o Fix for P2PEditor: Job descriptions with multiple lines are now shown, unknown start date or participant number will be shown as "-" and clicking on connect in the settings pane will disable the main connect button

Location:
trunk/CrypPlugins/P2PEditor
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/P2PEditor/GUI/Controls/JobDisplayTemplate.xaml

    r1727 r1856  
    4040                        <Label Content="{Binding FileName}" Height="23" FontSize="10" />
    4141                        <Label Content="{Binding Downloads}" Height="23" FontSize="10" />
    42                         <Label Content="{Binding Status.Participants}" Height="23" FontSize="10" />
    43                         <Label Content="{Binding Status.StartDate, Converter={StaticResource UtcDateTimeToLocalConverter}}" Height="23" FontSize="10" />
    44                         <Label Content="{Binding Description}" Height="23" FontSize="10" />
     42                        <Label Content="{Binding Status.Participants, FallbackValue=-}" Height="23" FontSize="10" />
     43                        <Label Content="{Binding Status.StartDate, Converter={StaticResource UtcDateTimeToLocalConverter}, FallbackValue=-}" Height="23" FontSize="10" />
     44                        <Label Content="{Binding Description}" FontSize="10" />
    4545                    </StackPanel>
    4646                </Grid>
  • trunk/CrypPlugins/P2PEditor/P2PEditorSettings.cs

    r1727 r1856  
    1717using System.ComponentModel;
    1818using Cryptool.P2P;
     19using Cryptool.P2PEditor.GUI;
    1920using Cryptool.PluginBase;
    2021using Cryptool.Plugins.PeerToPeer.Internal;
     
    102103                OnPropertyChanged("ButtonStart");
    103104                p2PEditor.GuiLogMessage(Resources.Attributes.start_launched, NotificationLevel.Info);
     105                ((P2PEditorPresentation)p2PEditor.Presentation).UpdateConnectionState();
    104106            } else
    105107            {
Note: See TracChangeset for help on using the changeset viewer.