mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-07 04:53:44 +02:00
Merge branch 'dev' of http://10.6.6.2/zerotier/ZeroTierOne into dev
This commit is contained in:
commit
d01f31197a
2 changed files with 23 additions and 38 deletions
|
@ -32,6 +32,7 @@
|
|||
[self.webView.layer setCornerRadius:1.0f];
|
||||
self.webView.layer.masksToBounds = YES;
|
||||
[self.webView.layer setBorderColor:[[NSColor darkGrayColor] CGColor]];
|
||||
self.webView.policyDelegate = self;
|
||||
|
||||
NSBundle *bundle = [NSBundle mainBundle];
|
||||
NSURL *path = [bundle URLForResource:@"about" withExtension:@"html"];
|
||||
|
|
|
@ -20,7 +20,8 @@
|
|||
<Grid>
|
||||
<tb:TaskbarIcon x:Name="MyNotifyIcon"
|
||||
IconSource="ZeroTierIcon.ico"
|
||||
ToolTipText="ZeroTier One">
|
||||
ToolTipText="ZeroTier One"
|
||||
MenuActivation="LeftOrRightClick">
|
||||
<tb:TaskbarIcon.ContextMenu>
|
||||
<ContextMenu>
|
||||
<ContextMenu.ItemsSource>
|
||||
|
@ -50,23 +51,6 @@
|
|||
|
||||
</CompositeCollection>
|
||||
</ContextMenu.ItemsSource>
|
||||
|
||||
<!--<MenuItem Header="Networks">
|
||||
<MenuItem.ItemsSource>
|
||||
<CompositeCollection>
|
||||
<CollectionContainer Collection="{Binding Source={StaticResource KnownNetworks}}"/>
|
||||
</CompositeCollection>
|
||||
</MenuItem.ItemsSource>
|
||||
<MenuItem.ItemContainerStyle>
|
||||
<Style>
|
||||
<Setter Property="MenuItem.Header" Value="{Binding Title}"/>
|
||||
--><!-- <Setter Property="MenuItem.IsCheckable" Value="True"/> --><!--
|
||||
<Setter Property="MenuItem.IsChecked" Value="{Binding IsConnected}"/>
|
||||
<EventSetter Event="MenuItem.Click" Handler="ToolbarItem_NetworkClicked"/>
|
||||
</Style>
|
||||
</MenuItem.ItemContainerStyle>
|
||||
</MenuItem>-->
|
||||
|
||||
</ContextMenu>
|
||||
</tb:TaskbarIcon.ContextMenu>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue