-
-
Notifications
You must be signed in to change notification settings - Fork 576
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: Replace all MonoMac references
- Loading branch information
Showing
13 changed files
with
39 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// SparkleShare, a collaboration and sharing tool. | ||
// SparkleShare, a collaboration and sharing tool. | ||
// Copyright (C) 2010 Hylke Bons <[email protected]> | ||
// | ||
// This program is free software: you can redistribute it and/or modify | ||
|
@@ -15,7 +15,7 @@ | |
// along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
|
||
|
||
using MonoMac.AppKit; | ||
using AppKit; | ||
|
||
namespace SparkleShare | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// SparkleShare, a collaboration and sharing tool. | ||
// SparkleShare, a collaboration and sharing tool. | ||
// Copyright (C) 2010 Hylke Bons <[email protected]> | ||
// | ||
// This program is free software: you can redistribute it and/or modify | ||
|
@@ -20,13 +20,11 @@ | |
using System.IO; | ||
using System.Threading; | ||
|
||
using Mono.Unix.Native; | ||
using MonoMac.Foundation; | ||
using MonoMac.AppKit; | ||
using Foundation; | ||
using AppKit; | ||
|
||
using Sparkles; | ||
using Sparkles.Git; | ||
using System.Linq; | ||
|
||
namespace SparkleShare { | ||
|
||
|
@@ -91,11 +89,10 @@ public override void SetFolderIcon () | |
} | ||
|
||
|
||
public override void CreateStartupItem () | ||
{ | ||
// There aren't any bindings in MonoMac to support this yet, so | ||
// we call out to an applescript to do the job | ||
|
||
// There aren't any bindings in Xamarin.Mac to support this yet, so | ||
// we call out to an applescript to do the job | ||
public override void CreateStartupItem () | ||
{ | ||
string args = "-e 'tell application \"System Events\" to " + | ||
"make login item at end with properties " + | ||
"{path:\"" + NSBundle.MainBundle.BundlePath + "\", hidden:false}'"; | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// SparkleShare, a collaboration and sharing tool. | ||
// SparkleShare, a collaboration and sharing tool. | ||
// Copyright (C) 2010 Hylke Bons <[email protected]> | ||
// | ||
// This program is free software: you can redistribute it and/or modify | ||
|
@@ -18,8 +18,8 @@ | |
using System; | ||
using System.Drawing; | ||
|
||
using MonoMac.AppKit; | ||
using MonoMac.Foundation; | ||
using AppKit; | ||
using Foundation; | ||
|
||
namespace SparkleShare { | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// SparkleShare, a collaboration and sharing tool. | ||
// SparkleShare, a collaboration and sharing tool. | ||
// Copyright (C) 2010 Hylke Bons <[email protected]> | ||
// | ||
// This program is free software: you can redistribute it and/or modify | ||
|
@@ -16,7 +16,7 @@ | |
|
||
|
||
using System; | ||
using MonoMac.Foundation; | ||
using Foundation; | ||
|
||
namespace SparkleShare { | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// SparkleShare, a collaboration and sharing tool. | ||
// SparkleShare, a collaboration and sharing tool. | ||
// Copyright (C) 2010 Hylke Bons <[email protected]> | ||
// | ||
// This program is free software: you can redistribute it and/or modify | ||
|
@@ -19,9 +19,9 @@ | |
using System.Drawing; | ||
using System.IO; | ||
|
||
using MonoMac.AppKit; | ||
using MonoMac.Foundation; | ||
using MonoMac.WebKit; | ||
using AppKit; | ||
using Foundation; | ||
using WebKit; | ||
|
||
namespace SparkleShare { | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// SparkleShare, a collaboration and sharing tool. | ||
// SparkleShare, a collaboration and sharing tool. | ||
// Copyright (C) 2010 Hylke Bons <[email protected]> | ||
// | ||
// This program is free software: you can redistribute it and/or modify | ||
|
@@ -18,8 +18,8 @@ | |
using System; | ||
using System.Drawing; | ||
|
||
using MonoMac.AppKit; | ||
using MonoMac.Foundation; | ||
using AppKit; | ||
using Foundation; | ||
|
||
namespace SparkleShare { | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// SparkleShare, a collaboration and sharing tool. | ||
// SparkleShare, a collaboration and sharing tool. | ||
// Copyright (C) 2010 Hylke Bons <[email protected]> | ||
// | ||
// This program is free software: you can redistribute it and/or modify | ||
|
@@ -21,9 +21,9 @@ | |
using System.IO; | ||
|
||
using Mono.Unix; | ||
using MonoMac.Foundation; | ||
using MonoMac.AppKit; | ||
using MonoMac.WebKit; | ||
using Foundation; | ||
using AppKit; | ||
using WebKit; | ||
|
||
using Sparkles; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// SparkleShare, an instant update workflow to Git. | ||
// SparkleShare, an instant update workflow to Git. | ||
// Copyright (C) 2010 Hylke Bons <[email protected]> | ||
// | ||
// This program is free software: you can redistribute it and/or modify | ||
|
@@ -18,8 +18,8 @@ | |
using System.Collections.Generic; | ||
using System.Drawing; | ||
|
||
using MonoMac.Foundation; | ||
using MonoMac.AppKit; | ||
using Foundation; | ||
using AppKit; | ||
|
||
namespace SparkleShare { | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// SparkleShare, an instant update workflow to Git. | ||
// SparkleShare, an instant update workflow to Git. | ||
// Copyright (C) 2010 Hylke Bons <[email protected]> | ||
// | ||
// This program is free software: you can redistribute it and/or modify | ||
|
@@ -19,7 +19,7 @@ | |
using System.Collections.Generic; | ||
using System.Drawing; | ||
|
||
using MonoMac.AppKit; | ||
using AppKit; | ||
|
||
namespace SparkleShare { | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// SparkleShare, a collaboration and sharing tool. | ||
// SparkleShare, a collaboration and sharing tool. | ||
// Copyright (C) 2010 Hylke Bons <[email protected]> | ||
// | ||
// This program is free software: you can redistribute it and/or modify | ||
|
@@ -17,8 +17,8 @@ | |
|
||
using System; | ||
|
||
using MonoMac.AppKit; | ||
using MonoMac.Foundation; | ||
using AppKit; | ||
using Foundation; | ||
|
||
namespace SparkleShare { | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters