mac: fix some style inconsistencies in statusicon and eventlog
This commit is contained in:
parent
7bbc41a1a9
commit
9eadf9095c
|
@ -33,6 +33,7 @@ namespace SparkleShare {
|
|||
|
||||
private WebView web_view;
|
||||
private NSBox separator;
|
||||
private NSBox background;
|
||||
private NSPopUpButton popup_button;
|
||||
private NSProgressIndicator progress_indicator;
|
||||
private NSTextField size_label;
|
||||
|
@ -132,6 +133,12 @@ namespace SparkleShare {
|
|||
};
|
||||
|
||||
|
||||
this.background = new NSBox (new RectangleF (0, -1, 481, 581)) {
|
||||
FillColor = NSColor.White,
|
||||
BoxType = NSBoxType.NSBoxCustom
|
||||
};
|
||||
|
||||
|
||||
this.progress_indicator = new NSProgressIndicator () {
|
||||
Style = NSProgressIndicatorStyle.Spinning,
|
||||
Frame = new RectangleF (this.web_view.Frame.Width / 2 - 10,
|
||||
|
@ -145,6 +152,7 @@ namespace SparkleShare {
|
|||
ContentView.AddSubview (this.size_label_value);
|
||||
ContentView.AddSubview (this.history_label);
|
||||
ContentView.AddSubview (this.history_label_value);
|
||||
ContentView.AddSubview (this.background);
|
||||
ContentView.AddSubview (this.separator);
|
||||
ContentView.AddSubview (this.progress_indicator);
|
||||
ContentView.AddSubview (this.hidden_close_button);
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
<RootNamespace>SparkleShare</RootNamespace>
|
||||
<AssemblyName>SparkleShare</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<ReleaseVersion>0.8.3</ReleaseVersion>
|
||||
<ReleaseVersion>0.8.4</ReleaseVersion>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
|
|
|
@ -16,6 +16,6 @@ Global
|
|||
EndGlobalSection
|
||||
GlobalSection(MonoDevelopProperties) = preSolution
|
||||
StartupItem = SparkleShare.csproj
|
||||
version = 0.8.3
|
||||
version = 0.8.4
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
|
|
|
@ -253,20 +253,20 @@ namespace SparkleShare {
|
|||
|
||||
|
||||
Menu.AddItem (SyncMenuItem);
|
||||
Menu.AddItem (NSMenuItem.SeparatorItem);
|
||||
|
||||
|
||||
RecentEventsMenuItem = new NSMenuItem () {
|
||||
Title = "View Recent Changes…",
|
||||
Enabled = (Controller.Folders.Length > 0)
|
||||
};
|
||||
|
||||
|
||||
if (Controller.Folders.Length > 0) {
|
||||
RecentEventsMenuItem.Activated += delegate {
|
||||
Controller.OpenRecentEventsClicked ();
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Menu.AddItem (RecentEventsMenuItem);
|
||||
Menu.AddItem (NSMenuItem.SeparatorItem);
|
||||
|
||||
NotificationsMenuItem = new NSMenuItem () {
|
||||
Enabled = true
|
||||
|
|
Loading…
Reference in a new issue