linux: fix build
This commit is contained in:
parent
1f7235177f
commit
e1633aba8e
|
@ -136,7 +136,6 @@ namespace SparkleShare {
|
|||
new PointF (this.report_problem_link.Frame.X + this.report_problem_link.Frame.Width + 10, 25),
|
||||
this.debug_log_link.Frame.Size);
|
||||
|
||||
|
||||
ContentView.AddSubview (this.about_image_view);
|
||||
ContentView.AddSubview (this.version_text_field);
|
||||
ContentView.AddSubview (this.updates_text_field);
|
||||
|
@ -169,10 +168,9 @@ namespace SparkleShare {
|
|||
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public class SparkleAboutDelegate : NSWindowDelegate {
|
||||
private class SparkleAboutDelegate : NSWindowDelegate {
|
||||
|
||||
public override bool WindowShouldClose (NSObject sender)
|
||||
{
|
||||
|
@ -182,7 +180,7 @@ namespace SparkleShare {
|
|||
}
|
||||
|
||||
|
||||
public class SparkleLink : NSTextField {
|
||||
private class SparkleLink : NSTextField {
|
||||
|
||||
private NSUrl url;
|
||||
|
||||
|
@ -223,4 +221,5 @@ namespace SparkleShare {
|
|||
AddCursorRect (Bounds, NSCursor.PointingHandCursor);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -179,11 +179,11 @@ namespace SparkleShare {
|
|||
|
||||
|
||||
if (Controller.RecentEventsItemEnabled)
|
||||
this.recent_events_item.Activated += Controller.RecentEventsClicked;
|
||||
this.recent_events_item.Activated += delegate { Controller.RecentEventsClicked (); };
|
||||
|
||||
this.add_item.Activated += Controller.AddHostedProjectClicked;
|
||||
this.about_item.Activated += Controller.AboutClicked;
|
||||
this.quit_item.Activated += Controller.QuitClicked;
|
||||
this.add_item.Activated += delegate { Controller.AddHostedProjectClicked (); };
|
||||
this.about_item.Activated += delegate { Controller.AboutClicked (); };
|
||||
this.quit_item.Activated += delegate { Controller.QuitClicked (); };
|
||||
|
||||
|
||||
this.menu.AddItem (this.state_item);
|
||||
|
|
|
@ -73,6 +73,7 @@ namespace SparkleShare {
|
|||
UpdateLabelEvent ("You are running the latest version.");
|
||||
|
||||
} catch {
|
||||
UpdateLabelEvent ("Version check failed.");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue