Changeset 956 for trunk/CrypPlugins/CLK


Ignore:
Timestamp:
Dec 5, 2009, 6:47:14 PM (12 years ago)
Author:
Sören Rinne
Message:
  • new Appender plugin
  • some bugfixing
Location:
trunk/CrypPlugins/CLK
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/CLK/CLK.cs

    r841 r956  
    5353        cLKPresentation.CLKButtonImage.MouseLeftButtonUp += cLKButton_MouseLeftButtonUp;
    5454        cLKPresentation.CLKButtonImage.MouseLeftButtonDown += cLKButton_MouseLeftButtonUp;
    55 
    56         // set picture according to settings value
    57         /* BRINGT NIX - WARUM?
    58         if (settings.SetClockToTrue) StatusChanged((int)CLKImage.True);
    59         else StatusChanged((int)CLKImage.False);*/
    6055    }
    6156
     
    258253        else StatusChanged((int)CLKImage.False);
    259254        settings.CLKTimeout = timeout;
     255        settings.UpdateTaskPaneVisibility();
    260256    }
    261257
  • trunk/CrypPlugins/CLK/CLKSettings.cs

    r841 r956  
    111111    }
    112112
     113    internal void UpdateTaskPaneVisibility()
     114    {
     115        if (TaskPaneAttributeChanged == null)
     116            return;
     117
     118        if (this.useEvent)
     119            SettingChanged("CLKTimeout", Visibility.Collapsed);
     120        else
     121            SettingChanged("CLKTimeout", Visibility.Visible);
     122    }
     123
    113124    #endregion
    114125
Note: See TracChangeset for help on using the changeset viewer.