Permalink
Browse files

mac: fix some style inconsistencies in statusicon and eventlog

  • Loading branch information...
1 parent 7bbc41a commit 9eadf9095cc2b20c706277ddfe811a9d600aa04d @hbons committed Mar 18, 2012
@@ -33,6 +33,7 @@ public class SparkleEventLog : NSWindow {
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 @@ public SparkleEventLog () : base ()
};
+ 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 @@ public SparkleEventLog () : base ()
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 @@ public void CreateMenu ()
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

0 comments on commit 9eadf90

Please sign in to comment.