mac: fix some style inconsistencies in statusicon and eventlog

This commit is contained in:
Hylke Bons 2012-03-18 20:55:47 +00:00
parent 7bbc41a1a9
commit 9eadf9095c
4 changed files with 14 additions and 6 deletions

View file

@ -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);

View file

@ -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>

View file

@ -16,6 +16,6 @@ Global
EndGlobalSection
GlobalSection(MonoDevelopProperties) = preSolution
StartupItem = SparkleShare.csproj
version = 0.8.3
version = 0.8.4
EndGlobalSection
EndGlobal

View file

@ -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