linux: Add .csproj

This commit is contained in:
Hylke Bons 2016-04-01 09:15:47 +01:00
parent 2523cb1f74
commit ea0e6c1654
13 changed files with 159 additions and 323 deletions

View file

@ -9,6 +9,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Sparkles.Git", "Sparkles\Gi
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SparkleShare.Windows", "SparkleShare\Windows\SparkleShare.Windows.csproj", "{728483AA-E34B-4441-BF2C-C8BC2901E4E0}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SparkleShare.Linux", "SparkleShare\Linux\SparkleShare.Linux.csproj", "{5714D3CA-88A6-4330-A29D-4CA90D1D193C}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Release|Any CPU = Release|Any CPU
@ -40,6 +42,12 @@ Global
{728483AA-E34B-4441-BF2C-C8BC2901E4E0}.Debug|Any CPU.Build.0 = Debug|Any CPU
{728483AA-E34B-4441-BF2C-C8BC2901E4E0}.ReleaseDist|Any CPU.ActiveCfg = Release|Any CPU
{728483AA-E34B-4441-BF2C-C8BC2901E4E0}.ReleaseDist|Any CPU.Build.0 = Release|Any CPU
{5714D3CA-88A6-4330-A29D-4CA90D1D193C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{5714D3CA-88A6-4330-A29D-4CA90D1D193C}.Release|Any CPU.Build.0 = Release|Any CPU
{5714D3CA-88A6-4330-A29D-4CA90D1D193C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{5714D3CA-88A6-4330-A29D-4CA90D1D193C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{5714D3CA-88A6-4330-A29D-4CA90D1D193C}.ReleaseDist|Any CPU.ActiveCfg = Release|Any CPU
{5714D3CA-88A6-4330-A29D-4CA90D1D193C}.ReleaseDist|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(MonoDevelopProperties) = preSolution
Policies = $0

View file

@ -250,13 +250,13 @@ namespace SparkleShare {
} else if (reopen_attempt_counts > 1) {
AlertNotificationRaised ("Hello!", "SparkleShare sits right here, as a status icon.");
reopen_attempt_counts = 0;
} else {
reopen_attempt_counts++;
}
}
public void UIHasLoaded ()
{
if (this.lost_folders_path) {

View file

@ -18,7 +18,7 @@
using System;
using Gtk;
using Notifications;
//using Notifications;
using Sparkles;
@ -27,7 +27,7 @@ namespace SparkleShare {
public class SparkleBubbles {
public SparkleBubblesController Controller = new SparkleBubblesController ();
/*
public SparkleBubbles ()
{
@ -60,7 +60,6 @@ namespace SparkleShare {
Logger.LogInfo ("Notification", "Error showing notification: ", e);
}
});
}
}*/
}
}

View file

@ -35,7 +35,7 @@ namespace SparkleShare {
private HBox layout_horizontal;
private ScrolledWindow scrolled_window;
private VBox spinner_wrapper;
private Spinner spinner;
// private Spinner spinner;
// private WebView web_view;
private int pos_x, pos_y;
@ -65,7 +65,7 @@ namespace SparkleShare {
layout_sizes.PackStart (this.history_label, false, false, 0);
VBox layout_vertical = new VBox (false, 0);
this.spinner = new Spinner ();
// this.spinner = new Spinner ();
this.spinner_wrapper = new VBox ();
this.content_wrapper = new EventBox ();
this.scrolled_window = new ScrolledWindow ();
@ -84,8 +84,8 @@ namespace SparkleShare {
this.spinner_wrapper.PackStart (new Label(""), true, true, 0);
this.spinner_wrapper.PackStart (this.spinner, false, false, 0);
this.spinner_wrapper.PackStart (new Label(""), true, true, 0);
this.spinner.SetSizeRequest (24, 24);
this.spinner.Start ();
// this.spinner.SetSizeRequest (24, 24);
// this.spinner.Start ();
this.content_wrapper.Add (this.spinner_wrapper);

View file

@ -698,7 +698,7 @@ namespace SparkleShare {
private void RenderServiceColumn (TreeViewColumn column, CellRenderer cell,
ITreeModel model, TreeIter iter)
TreeModel model, TreeIter iter)
{
string markup = (string) model.GetValue (iter, 2);
TreeSelection selection = (column.TreeView as TreeView).Selection;

View file

@ -1,299 +1,129 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>8.0.30703</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{CF5BC8DB-A633-4FCC-8A3E-E3AC9B59FABC}</ProjectGuid>
<ProjectTypeGuids>{948B3504-5B70-4649-8FE4-BDE1FB46EC69};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<OutputType>Exe</OutputType>
<RootNamespace>SparkleShare</RootNamespace>
<AssemblyName>SparkleShare</AssemblyName>
<ReleaseVersion>
</ReleaseVersion>
<SuppressXamMacMigration>True</SuppressXamMacMigration>
<SuppressXamMacUpsell>True</SuppressXamMacUpsell>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>none</DebugType>
<Optimize>False</Optimize>
<OutputPath>bin\Release</OutputPath>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<CustomCommands>
<CustomCommands>
<Command type="AfterBuild" command="${ProjectDir}/postBuild.sh ${TargetDir}/${SolutionName}.app" />
</CustomCommands>
</CustomCommands>
<EnableCodeSigning>False</EnableCodeSigning>
<CreatePackage>False</CreatePackage>
<EnablePackageSigning>False</EnablePackageSigning>
<IncludeMonoRuntime>false</IncludeMonoRuntime>
<ConsolePause>False</ConsolePause>
<UseSGen>false</UseSGen>
<UseRefCounting>false</UseRefCounting>
<Profiling>false</Profiling>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<Optimize>False</Optimize>
<OutputPath>bin\Debug</OutputPath>
<DefineConstants>DEBUG</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<CustomCommands>
<CustomCommands>
<Command type="AfterBuild" command="${ProjectDir}/postBuild.sh ${TargetDir}/${SolutionName}.app" />
</CustomCommands>
</CustomCommands>
<EnableCodeSigning>False</EnableCodeSigning>
<CreatePackage>False</CreatePackage>
<EnablePackageSigning>False</EnablePackageSigning>
<IncludeMonoRuntime>false</IncludeMonoRuntime>
<ConsolePause>False</ConsolePause>
<DebugSymbols>true</DebugSymbols>
<UseSGen>false</UseSGen>
<UseRefCounting>false</UseRefCounting>
<Profiling>false</Profiling>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'ReleaseDist|AnyCPU' ">
<Optimize>false</Optimize>
<OutputPath>bin\ReleaseDist</OutputPath>
<WarningLevel>4</WarningLevel>
<UseSGen>false</UseSGen>
<IncludeMonoRuntime>false</IncludeMonoRuntime>
<EnablePackageSigning>false</EnablePackageSigning>
<CustomCommands>
<CustomCommands>
<Command type="AfterBuild" command="${ProjectDir}/postBuild.sh ${TargetDir}/${SolutionName}.app" />
<Command type="AfterBuild" command="${ProjectDir}/packReleaseDist.sh ${TargetDir}/${SolutionName}.app" />
</CustomCommands>
</CustomCommands>
<EnableCodeSigning>false</EnableCodeSigning>
<CreatePackage>false</CreatePackage>
<UseRefCounting>false</UseRefCounting>
<Profiling>false</Profiling>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Xml" />
<Reference Include="System.Drawing" />
<Reference Include="System.Net" />
<Reference Include="Mono.Posix" />
<Reference Include="MonoMac">
<HintPath>..\..\..\monomac\src\MonoMac.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="AppDelegate.cs">
<DependentUpon>MainMenu.xib</DependentUpon>
</Compile>
<Compile Include="MainMenu.xib.designer.cs">
<DependentUpon>MainMenu.xib</DependentUpon>
</Compile>
<Compile Include="..\Common\SparkleShare.cs">
<Link>SparkleShare.cs</Link>
</Compile>
<Compile Include="MacWatcher.cs" />
<Compile Include="..\Common\Plugin.cs">
<Link>Plugin.cs</Link>
</Compile>
<Compile Include="..\Common\Invite.cs">
<Link>Invite.cs</Link>
</Compile>
<Compile Include="..\Common\Avatars.cs" />
<Compile Include="..\Common\AboutController.cs">
<Link>Controllers\AboutController.cs</Link>
</Compile>
<Compile Include="..\Common\BubblesController.cs">
<Link>Controllers\BubblesController.cs</Link>
</Compile>
<Compile Include="..\Common\EventLogController.cs">
<Link>Controllers\EventLogController.cs</Link>
</Compile>
<Compile Include="..\Common\NoteController.cs">
<Link>Controllers\NoteController.cs</Link>
</Compile>
<Compile Include="..\Common\SetupController.cs">
<Link>Controllers\SetupController.cs</Link>
</Compile>
<Compile Include="..\Common\StatusIconController.cs">
<Link>Controllers\StatusIconController.cs</Link>
</Compile>
<Compile Include="UserInterface\About.cs" />
<Compile Include="UserInterface\Bubbles.cs" />
<Compile Include="UserInterface\EventLog.cs" />
<Compile Include="UserInterface\Note.cs" />
<Compile Include="UserInterface\Setup.cs" />
<Compile Include="UserInterface\SetupWindow.cs" />
<Compile Include="UserInterface\StatusIcon.cs" />
<Compile Include="UserInterface\UserInterface.cs" />
<Compile Include="Controllers\Controller.cs" />
<Compile Include="..\Common\BaseController.cs">
<Link>Controllers\BaseController.cs</Link>
</Compile>
</ItemGroup>
<ItemGroup>
<InterfaceDefinition Include="MainMenu.xib" />
</ItemGroup>
<ItemGroup>
<None Include="Info.plist" />
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<Import Project="$(MSBuildExtensionsPath)\Mono\MonoMac\v0.0\Mono.MonoMac.targets" />
<ItemGroup>
<Content Include="..\Common\HTML\day-entry.html">
<Link>HTML\day-entry.html</Link>
</Content>
<Content Include="..\Common\HTML\event-entry.html">
<Link>HTML\event-entry.html</Link>
</Content>
<Content Include="..\Common\HTML\event-log.html">
<Link>HTML\event-log.html</Link>
</Content>
<Content Include="Resources\sparkleshare-folder.icns">
<Link>Resources\sparkleshare-folder.icns</Link>
</Content>
<Content Include="Resources\sparkleshare-app.icns">
<Link>Resources\sparkleshare-app.icns</Link>
</Content>
<Content Include="..\Common\HTML\jquery.js">
<Link>HTML\jquery.js</Link>
</Content>
<Content Include="Resources\sparkleshare-folder-yosemite.icns">
<Link>Resources\sparkleshare-folder-yosemite.icns</Link>
</Content>
</ItemGroup>
<ItemGroup>
<Folder Include="Resources\" />
<Folder Include="HTML\" />
<Folder Include="Presets\" />
<Folder Include="Controllers\" />
<Folder Include="UserInterface\" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\Sparkles\Sparkles.csproj">
<Project>{2C914413-B31C-4362-93C7-1AE34F09112A}</Project>
<Name>Sparkles</Name>
</ProjectReference>
<ProjectReference Include="..\..\Sparkles\Git\Sparkles.Git.csproj">
<Project>{009FDCD7-1D57-4202-BB6D-8477D8C6B8EE}</Project>
<Name>Sparkles.Git</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<BundleResource Include="..\Common\Pixmaps\side-splash.png">
<Link>Resources\side-splash.png</Link>
</BundleResource>
<BundleResource Include="..\Linux\Pixmaps\icons\document-added-12.png">
<Link>Resources\document-added-12.png</Link>
</BundleResource>
<BundleResource Include="..\Linux\Pixmaps\icons\document-edited-12.png">
<Link>Resources\document-edited-12.png</Link>
</BundleResource>
<BundleResource Include="..\Linux\Pixmaps\icons\document-deleted-12.png">
<Link>Resources\document-deleted-12.png</Link>
</BundleResource>
<BundleResource Include="..\Linux\Pixmaps\icons\document-moved-12.png">
<Link>Resources\document-moved-12.png</Link>
</BundleResource>
<BundleResource Include="..\Common\Pixmaps\about.png">
<Link>Resources\about.png</Link>
</BundleResource>
<BundleResource Include="Resources\tutorial-slide-3.png">
<Link>Resources\tutorial-slide-3.png</Link>
</BundleResource>
<BundleResource Include="Resources\process-syncing-down.png" />
<BundleResource Include="Resources\process-syncing-error.png" />
<BundleResource Include="Resources\process-syncing-idle.png" />
<BundleResource Include="Resources\process-syncing-up.png" />
<BundleResource Include="Resources\process-syncing.png" />
<BundleResource Include="..\Common\Pixmaps\user-icon-default.png">
<Link>Resources\user-icon-default.png</Link>
</BundleResource>
<BundleResource Include="..\Common\Pixmaps\side-splash%402x.png">
<Link>Resources\side-splash%402x.png</Link>
</BundleResource>
<BundleResource Include="Resources\process-syncing-down%402x.png" />
<BundleResource Include="Resources\process-syncing-error%402x.png" />
<BundleResource Include="Resources\process-syncing-idle%402x.png" />
<BundleResource Include="Resources\process-syncing-up%402x.png" />
<BundleResource Include="Resources\process-syncing%402x.png" />
<BundleResource Include="..\Common\Pixmaps\about%402x.png">
<Link>Resources\about%402x.png</Link>
</BundleResource>
<BundleResource Include="..\Common\Pixmaps\tutorial-slide-1.png">
<Link>Resources\tutorial-slide-1.png</Link>
</BundleResource>
<BundleResource Include="..\Common\Pixmaps\tutorial-slide-1%402x.png">
<Link>Resources\tutorial-slide-1%402x.png</Link>
</BundleResource>
<BundleResource Include="..\Common\Pixmaps\tutorial-slide-2.png">
<Link>Resources\tutorial-slide-2.png</Link>
</BundleResource>
<BundleResource Include="..\Common\Pixmaps\tutorial-slide-2%402x.png">
<Link>Resources\tutorial-slide-2%402x.png</Link>
</BundleResource>
<BundleResource Include="..\Common\Presets\bitbucket%402x.png">
<Link>Presets\bitbucket%402x.png</Link>
</BundleResource>
<BundleResource Include="..\Common\Presets\github%402x.png">
<Link>Presets\github%402x.png</Link>
</BundleResource>
<BundleResource Include="..\Common\Presets\gitorious%402x.png">
<Link>Presets\gitorious%402x.png</Link>
</BundleResource>
<BundleResource Include="..\Common\Presets\own-server%402x.png">
<Link>Presets\own-server%402x.png</Link>
</BundleResource>
<BundleResource Include="..\Common\Presets\ssnet%402x.png">
<Link>Presets\ssnet%402x.png</Link>
</BundleResource>
<BundleResource Include="..\Common\Presets\bitbucket.xml">
<Link>Presets\bitbucket.xml</Link>
</BundleResource>
<BundleResource Include="..\Common\Presets\github.xml">
<Link>Presets\github.xml</Link>
</BundleResource>
<BundleResource Include="..\Common\Presets\gitorious.xml">
<Link>Presets\gitorious.xml</Link>
</BundleResource>
<BundleResource Include="..\Common\Presets\own-server.xml">
<Link>Presets\own-server.xml</Link>
</BundleResource>
<BundleResource Include="..\Common\Presets\bitbucket.png">
<Link>Presets\bitbucket.png</Link>
</BundleResource>
<BundleResource Include="..\Common\Presets\github.png">
<Link>Presets\github.png</Link>
</BundleResource>
<BundleResource Include="..\Common\Presets\gitorious.png">
<Link>Presets\gitorious.png</Link>
</BundleResource>
<BundleResource Include="..\Common\Presets\own-server.png">
<Link>Presets\own-server.png</Link>
</BundleResource>
<BundleResource Include="..\Common\Presets\ssnet.png">
<Link>Presets\ssnet.png</Link>
</BundleResource>
<BundleResource Include="..\Common\Presets\ssnet.xml">
<Link>Presets\ssnet.xml</Link>
</BundleResource>
<BundleResource Include="Resources\tutorial-slide-3%402x.png" />
<BundleResource Include="..\Common\Presets\planio.png">
<Link>Presets\planio.png</Link>
</BundleResource>
<BundleResource Include="..\Common\Presets\planio.xml">
<Link>Presets\planio.xml</Link>
</BundleResource>
<BundleResource Include="..\Common\Presets\planio%402x.png">
<Link>Presets\planio%402x.png</Link>
</BundleResource>
<BundleResource Include="..\Common\Pixmaps\text-balloon.png">
<Link>Resources\text-balloon.png</Link>
</BundleResource>
<BundleResource Include="..\Common\Pixmaps\text-balloon%402x.png">
<Link>Resources\text-balloon%402x.png</Link>
</BundleResource>
</ItemGroup>
</Project>
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>8.0.30703</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{5714D3CA-88A6-4330-A29D-4CA90D1D193C}</ProjectGuid>
<OutputType>Exe</OutputType>
<RootNamespace>SparkleShare.Linux</RootNamespace>
<AssemblyName>SparkleShare.Linux</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug</OutputPath>
<DefineConstants>DEBUG;</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ExternalConsole>true</ExternalConsole>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<Optimize>true</Optimize>
<OutputPath>bin\Release</OutputPath>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ExternalConsole>true</ExternalConsole>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Net" />
<Reference Include="Mono.Posix" />
<Reference Include="System.Xml" />
<Reference Include="gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
<Reference Include="glib-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
<Reference Include="gdk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
<Reference Include="atk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\Sparkles\Git\Sparkles.Git.csproj">
<Project>{009FDCD7-1D57-4202-BB6D-8477D8C6B8EE}</Project>
<Name>Sparkles.Git</Name>
</ProjectReference>
<ProjectReference Include="..\..\Sparkles\Sparkles.csproj">
<Project>{2C914413-B31C-4362-93C7-1AE34F09112A}</Project>
<Name>Sparkles</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Folder Include="UserInterface\" />
<Folder Include="Controllers\" />
</ItemGroup>
<ItemGroup>
<None Include="..\Common\HTML\day-entry.html">
<Link>HTML\day-entry.html</Link>
</None>
<None Include="..\Common\HTML\event-entry.html">
<Link>HTML\event-entry.html</Link>
</None>
<None Include="..\Common\HTML\event-log.html">
<Link>HTML\event-log.html</Link>
</None>
<None Include="..\Common\HTML\jquery.js">
<Link>HTML\jquery.js</Link>
</None>
</ItemGroup>
<ItemGroup>
<Compile Include="..\Common\Avatars.cs">
<Link>UserInterface\Avatars.cs</Link>
</Compile>
<Compile Include="About.cs">
<Link>UserInterface\About.cs</Link>
</Compile>
<Compile Include="Bubbles.cs">
<Link>UserInterface\Bubbles.cs</Link>
</Compile>
<Compile Include="Note.cs">
<Link>UserInterface\Note.cs</Link>
</Compile>
<Compile Include="Setup.cs">
<Link>UserInterface\Setup.cs</Link>
</Compile>
<Compile Include="SetupWindow.cs">
<Link>UserInterface\SetupWindow.cs</Link>
</Compile>
<Compile Include="StatusIcon.cs">
<Link>UserInterface\StatusIcon.cs</Link>
</Compile>
<Compile Include="UserInterface.cs">
<Link>UserInterface\UserInterface.cs</Link>
</Compile>
<Compile Include="UserInterfaceHelpers.cs">
<Link>UserInterface\UserInterfaceHelpers.cs</Link>
</Compile>
<Compile Include="..\Common\SparkleShare.cs">
<Link>SparkleShare.cs</Link>
</Compile>
<Compile Include="..\Common\AboutController.cs">
<Link>Controllers\AboutController.cs</Link>
</Compile>
<Compile Include="..\Common\BaseController.cs">
<Link>Controllers\BaseController.cs</Link>
</Compile>
<Compile Include="..\Common\BubblesController.cs">
<Link>Controllers\BubblesController.cs</Link>
</Compile>
<Compile Include="..\Common\EventLogController.cs">
<Link>Controllers\EventLogController.cs</Link>
</Compile>
<Compile Include="..\Common\NoteController.cs">
<Link>Controllers\NoteController.cs</Link>
</Compile>
<Compile Include="..\Common\SetupController.cs">
<Link>Controllers\SetupController.cs</Link>
</Compile>
<Compile Include="..\Common\StatusIconController.cs">
<Link>Controllers\StatusIconController.cs</Link>
</Compile>
<Compile Include="Controller.cs">
<Link>Controllers\Controller.cs</Link>
</Compile>
<Compile Include="EventLog.cs">
<Link>UserInterface\EventLog.cs</Link>
</Compile>
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
</Project>

View file

@ -64,7 +64,7 @@ namespace SparkleShare {
}
public static Gdk.Color RGBAToColor (Gdk.RGBA rgba) {
public static Gdk.Color RGBAToColor (Gdk.Rgb rgba) {
return new Gdk.Color () {
Red = (ushort) (rgba.Red * 65535),
Green = (ushort) (rgba.Green * 65535),
@ -73,7 +73,7 @@ namespace SparkleShare {
}
public static string RGBAToHex (Gdk.RGBA rgba)
public static string RGBAToHex (Gdk.Rgb rgba)
{
return ColorToHex (RGBAToColor (rgba));
}
@ -92,4 +92,3 @@ namespace SparkleShare {
}
}
}

View file

@ -95,10 +95,6 @@
<Link>SparkleShare.cs</Link>
</Compile>
<Compile Include="MacWatcher.cs" />
<Compile Include="..\Common\Invite.cs">
<Link>Invite.cs</Link>
</Compile>
<Compile Include="..\Common\Avatars.cs" />
<Compile Include="..\Common\AboutController.cs">
<Link>Controllers\AboutController.cs</Link>
</Compile>
@ -129,6 +125,9 @@
<Link>Controllers\BaseController.cs</Link>
</Compile>
<Compile Include="Controller.cs" />
<Compile Include="..\Common\Avatars.cs">
<Link>UserInterface\Avatars.cs</Link>
</Compile>
</ItemGroup>
<ItemGroup>
<InterfaceDefinition Include="MainMenu.xib" />

View file

@ -20,11 +20,12 @@ using System.Collections.Generic;
using System.Drawing;
using System.IO;
using Mono.Unix;
using MonoMac.Foundation;
using MonoMac.AppKit;
using MonoMac.WebKit;
using Mono.Unix;
using Sparkles;
namespace SparkleShare {

View file

@ -21,9 +21,7 @@ using System.Net;
using System.Text;
using System.Xml;
using Sparkles;
namespace SparkleShare {
namespace Sparkles {
public class SparkleInvite : XmlDocument {

View file

@ -13,6 +13,7 @@ SOURCES = \
Command.cs \
Configuration.cs \
Extensions.cs \
Invite.cs \
ListenerFactory.cs \
Logger.cs \
Preset.cs \

View file

@ -20,7 +20,7 @@ using System.Xml;
using IO = System.IO;
namespace SparkleShare {
namespace Sparkles {
public class Preset : XmlDocument {

View file

@ -72,6 +72,7 @@
</Compile>
<Compile Include="InstallationInfo.cs" />
<Compile Include="Preset.cs" />
<Compile Include="Invite.cs" />
</ItemGroup>
<ItemGroup>
<Folder Include="Fetcher\" />