Changeset 2518


Ignore:
Timestamp:
Jan 28, 2011, 5:44:36 PM (10 years ago)
Author:
Sven Rech
Message:
  • extended "about" button in CrypWin
  • gave priorities to setting tabs
Location:
trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypP2P/P2PSettingsTab.xaml.cs

    r2505 r2518  
    2020    /// </summary>
    2121    [Localization("Cryptool.P2P.Properties.Resources")]
    22     [SettingsTab("P2PSettings", "/MainSettings/")]
     22    [SettingsTab("P2PSettings", "/MainSettings/", 0.8)]
    2323    public partial class P2PSettingsTab : UserControl
    2424    {
  • trunk/CrypPluginBase/Attributes/SettingsTabAttribute.cs

    r2295 r2518  
    2828        public string Caption { get; private set; }
    2929        public string Address { get; private set; }
     30        public double Priority { get; private set; }
    3031
    31         public SettingsTabAttribute(string caption, string address)
     32        public SettingsTabAttribute(string caption, string address, double priority = 0.5)
    3233        {
    3334            Caption = caption;
    3435            Address = address;
     36            Priority = priority;
    3537        }
    3638    }
  • trunk/CrypPlugins/WorkspaceManager/WorkspaceManagerSettingsTab.xaml.cs

    r2508 r2518  
    2020    /// </summary>
    2121    [Localization("WorkspaceManager.Properties.Resources")]
    22     [SettingsTab("WorkspaceManagerSettings", "/MainSettings/")]
     22    [SettingsTab("WorkspaceManagerSettings", "/MainSettings/", 1.1)]
    2323    public partial class WorkspaceManagerSettingsTab : UserControl
    2424    {
Note: See TracChangeset for help on using the changeset viewer.