tomboy r2211 - in trunk: . Tomboy Tomboy/Addins/Backlinks Tomboy/Addins/Bugzilla Tomboy/Addins/ExportToHtml Tomboy/Addins/FileSystemSyncService Tomboy/Addins/FixedWidth Tomboy/Addins/InsertTimestamp Tomboy/Addins/NoteOfTheDay Tomboy/Synchronization



Author: sharm
Date: Sun Oct 12 19:34:40 2008
New Revision: 2211
URL: http://svn.gnome.org/viewvc/tomboy?rev=2211&view=rev

Log:
2008-10-12  Sandy Armstrong  <sanfordarmstrong gmail com>

	* Tomboy.csproj: Defines.cs -> Defines.WIN32.cs.  Add WindowsFactory.cs.
	Use 22x22 Tomboy icon instead of 48x48.
	
	* Tomboy/Addins/Backlinks/Backlinks.csproj:
	* Tomboy/Addins/Bugzilla/Bugzilla.csproj:
	* Tomboy/Addins/ExportToHtml/ExportToHtml.csproj:
	* Tomboy/Addins/FileSystemSyncService/FileSystemSyncService.csproj:
	* Tomboy/Addins/FixedWidth/FixedWidth.csproj:
	* Tomboy/Addins/InsertTimestamp/InsertTimestamp.csproj:
	* Tomboy/Addins/NoteOfTheDay/NoteOfTheDay.csproj:
	* Tomboy.sln: Added new projects for building certain add-ins on Windows.
	
	* Tomboy/Addins/Bugzilla/BugzillaLink.cs:
	* Tomboy/Addins/ExportToHtml/ExportToHtmlNoteAddin.cs: Better OpenUrl.
	
	* Tomboy/Defines.WIN32.cs: A Defines class for Windows.  Need to make this
	auto-generated or something.
	
	* Tomboy/NoteWindow.cs: Have "Close All Notes" action quit Tomboy on
	Windows, since there aren't virtual desktops. Not married to this behavior.
	
	* Tomboy/Synchronization/FileSystemSyncServer.cs: Don't attempt to change
	file permissions on Windows.  I don't feel like investigating the proper
	way to do this right now.
	
	* Tomboy/XmlPreferencesClient.cs: Actually load preferences when Tomboy
	starts, instead of overwriting with defaults each time.

Added:
   trunk/Tomboy/Addins/Backlinks/Backlinks.csproj
   trunk/Tomboy/Addins/Bugzilla/Bugzilla.csproj
   trunk/Tomboy/Addins/ExportToHtml/ExportToHtml.csproj
   trunk/Tomboy/Addins/FileSystemSyncService/FileSystemSyncService.csproj
   trunk/Tomboy/Addins/FixedWidth/FixedWidth.csproj
   trunk/Tomboy/Addins/InsertTimestamp/InsertTimestamp.csproj
   trunk/Tomboy/Addins/NoteOfTheDay/NoteOfTheDay.csproj
   trunk/Tomboy/Defines.WIN32.cs   (contents, props changed)
Modified:
   trunk/   (props changed)
   trunk/ChangeLog
   trunk/Tomboy.csproj
   trunk/Tomboy.sln
   trunk/Tomboy/Addins/Backlinks/   (props changed)
   trunk/Tomboy/Addins/Bugzilla/   (props changed)
   trunk/Tomboy/Addins/Bugzilla/BugzillaLink.cs
   trunk/Tomboy/Addins/ExportToHtml/   (props changed)
   trunk/Tomboy/Addins/ExportToHtml/ExportToHtmlNoteAddin.cs
   trunk/Tomboy/Addins/FileSystemSyncService/   (props changed)
   trunk/Tomboy/Addins/FixedWidth/   (props changed)
   trunk/Tomboy/Addins/InsertTimestamp/   (props changed)
   trunk/Tomboy/Addins/NoteOfTheDay/   (props changed)
   trunk/Tomboy/NoteWindow.cs
   trunk/Tomboy/Synchronization/FileSystemSyncServer.cs
   trunk/Tomboy/XmlPreferencesClient.cs

Modified: trunk/Tomboy.csproj
==============================================================================
--- trunk/Tomboy.csproj	(original)
+++ trunk/Tomboy.csproj	Sun Oct 12 19:34:40 2008
@@ -96,6 +96,7 @@
   <ItemGroup>
     <Compile Include="Tomboy\ActionManager.cs" />
     <Compile Include="Tomboy\Contrast.cs" />
+    <Compile Include="Tomboy\Defines.WIN32.cs" />
     <Compile Include="Tomboy\Logger.cs" />
     <Compile Include="Tomboy\Note.cs" />
     <Compile Include="Tomboy\NoteBuffer.cs" />
@@ -113,8 +114,8 @@
     <Compile Include="Tomboy\TagManager.cs" />
     <Compile Include="Tomboy\Tag.cs" />
     <Compile Include="Tomboy\TagButton.cs" />
+    <Compile Include="Tomboy\WindowsFactory.cs" />
     <Compile Include="Tomboy\WrapBox.cs" />
-    <Compile Include="Tomboy\Defines.cs" />
     <Compile Include="Tomboy\PreferencesDialog.cs" />
     <Compile Include="Tomboy\NoteEditor.cs" />
     <Compile Include="Tomboy\AbstractAddin.cs" />
@@ -207,7 +208,7 @@
     <VisualStudio />
   </ProjectExtensions>
   <PropertyGroup>
-    <PreBuildEvent>copy "$(ProjectDir)data\icons\hicolor_apps_48x48_tomboy.png" "$(ProjectDir)tomboy.png"
+    <PreBuildEvent>copy "$(ProjectDir)data\icons\hicolor_apps_22x22_tomboy.png" "$(ProjectDir)tomboy.png"
 copy "$(ProjectDir)data\icons\hicolor_places_22x22_note.png" "$(ProjectDir)note.png"
 copy "$(ProjectDir)data\icons\hicolor_actions_16x16_note-new.png" "$(ProjectDir)note-new.png"
 copy "$(ProjectDir)data\icons\hicolor_actions_22x22_filter-note-all.png" "$(ProjectDir)filter-note-all.png"
@@ -218,8 +219,7 @@
 copy "$(ProjectDir)data\icons\hicolor_status_16x16_pin-up.png" "$(ProjectDir)pin-up.png"
 copy "$(ProjectDir)data\icons\hicolor_status_16x16_pin-active.png" "$(ProjectDir)pin-active.png"
 copy "$(ProjectDir)Tomboy\Tomboy.addin.xml" "$(ProjectDir)"
-copy "$(ProjectDir)data\UIManagerLayout.xml" "$(ProjectDir)"
-copy "$(ProjectDir)Tomboy\Defines.cs.in" "$(ProjectDir)Tomboy\Defines.cs"</PreBuildEvent>
+copy "$(ProjectDir)data\UIManagerLayout.xml" "$(ProjectDir)"</PreBuildEvent>
     <PostBuildEvent>copy "$(ProjectDir)winbin\MonoPosixHelper.dll" "$(ProjectDir)bin\Debug"
 copy "$(ProjectDir)winbin\Mono.Addins.dll.config" "$(ProjectDir)bin\Debug"</PostBuildEvent>
   </PropertyGroup>

Modified: trunk/Tomboy.sln
==============================================================================
--- trunk/Tomboy.sln	(original)
+++ trunk/Tomboy.sln	Sun Oct 12 19:34:40 2008
@@ -3,6 +3,20 @@
 # Visual Studio 2008
 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tomboy", "Tomboy.csproj", "{315DBB30-1461-4A41-A23F-A888D84E1EA0}"
 EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FixedWidth", "Tomboy\Addins\FixedWidth\FixedWidth.csproj", "{30A75F9A-7305-465E-8754-334345424569}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Backlinks", "Tomboy\Addins\Backlinks\Backlinks.csproj", "{3D330B80-87BA-435E-B3B8-E3C796FB155C}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bugzilla", "Tomboy\Addins\Bugzilla\Bugzilla.csproj", "{8543F6E2-9B1C-4BFF-B2CC-DD0198E921CC}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ExportToHtml", "Tomboy\Addins\ExportToHtml\ExportToHtml.csproj", "{88AB220D-4FB4-4875-8865-25CB6DF55EF8}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FileSystemSyncService", "Tomboy\Addins\FileSystemSyncService\FileSystemSyncService.csproj", "{31C73629-6979-41ED-8278-A291CB12DADF}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "InsertTimestamp", "Tomboy\Addins\InsertTimestamp\InsertTimestamp.csproj", "{F2F2E123-EA8C-4753-9383-4C86B152F4FE}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NoteOfTheDay", "Tomboy\Addins\NoteOfTheDay\NoteOfTheDay.csproj", "{33026B26-C907-4DBB-A438-85F042578AEA}"
+EndProject
 Global
 	GlobalSection(SolutionConfigurationPlatforms) = preSolution
 		Debug|Any CPU = Debug|Any CPU
@@ -13,6 +27,34 @@
 		{315DBB30-1461-4A41-A23F-A888D84E1EA0}.Debug|Any CPU.Build.0 = Debug|Any CPU
 		{315DBB30-1461-4A41-A23F-A888D84E1EA0}.Release|Any CPU.ActiveCfg = Release|Any CPU
 		{315DBB30-1461-4A41-A23F-A888D84E1EA0}.Release|Any CPU.Build.0 = Release|Any CPU
+		{30A75F9A-7305-465E-8754-334345424569}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{30A75F9A-7305-465E-8754-334345424569}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{30A75F9A-7305-465E-8754-334345424569}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{30A75F9A-7305-465E-8754-334345424569}.Release|Any CPU.Build.0 = Release|Any CPU
+		{3D330B80-87BA-435E-B3B8-E3C796FB155C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{3D330B80-87BA-435E-B3B8-E3C796FB155C}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{3D330B80-87BA-435E-B3B8-E3C796FB155C}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{3D330B80-87BA-435E-B3B8-E3C796FB155C}.Release|Any CPU.Build.0 = Release|Any CPU
+		{8543F6E2-9B1C-4BFF-B2CC-DD0198E921CC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{8543F6E2-9B1C-4BFF-B2CC-DD0198E921CC}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{8543F6E2-9B1C-4BFF-B2CC-DD0198E921CC}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{8543F6E2-9B1C-4BFF-B2CC-DD0198E921CC}.Release|Any CPU.Build.0 = Release|Any CPU
+		{88AB220D-4FB4-4875-8865-25CB6DF55EF8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{88AB220D-4FB4-4875-8865-25CB6DF55EF8}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{88AB220D-4FB4-4875-8865-25CB6DF55EF8}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{88AB220D-4FB4-4875-8865-25CB6DF55EF8}.Release|Any CPU.Build.0 = Release|Any CPU
+		{31C73629-6979-41ED-8278-A291CB12DADF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{31C73629-6979-41ED-8278-A291CB12DADF}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{31C73629-6979-41ED-8278-A291CB12DADF}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{31C73629-6979-41ED-8278-A291CB12DADF}.Release|Any CPU.Build.0 = Release|Any CPU
+		{F2F2E123-EA8C-4753-9383-4C86B152F4FE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{F2F2E123-EA8C-4753-9383-4C86B152F4FE}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{F2F2E123-EA8C-4753-9383-4C86B152F4FE}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{F2F2E123-EA8C-4753-9383-4C86B152F4FE}.Release|Any CPU.Build.0 = Release|Any CPU
+		{33026B26-C907-4DBB-A438-85F042578AEA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{33026B26-C907-4DBB-A438-85F042578AEA}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{33026B26-C907-4DBB-A438-85F042578AEA}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{33026B26-C907-4DBB-A438-85F042578AEA}.Release|Any CPU.Build.0 = Release|Any CPU
 	EndGlobalSection
 	GlobalSection(SolutionProperties) = preSolution
 		HideSolutionNode = FALSE

Added: trunk/Tomboy/Addins/Backlinks/Backlinks.csproj
==============================================================================
--- (empty file)
+++ trunk/Tomboy/Addins/Backlinks/Backlinks.csproj	Sun Oct 12 19:34:40 2008
@@ -0,0 +1,70 @@
+ï<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003";>
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <ProjectGuid>{3D330B80-87BA-435E-B3B8-E3C796FB155C}</ProjectGuid>
+    <ProductVersion>9.0.21022</ProductVersion>
+    <SchemaVersion>2.0</SchemaVersion>
+    <OutputType>Library</OutputType>
+    <NoStandardLibraries>false</NoStandardLibraries>
+    <AssemblyName>Backlinks</AssemblyName>
+    <TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
+    <FileAlignment>512</FileAlignment>
+    <RootNamespace>Backlinks</RootNamespace>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>false</Optimize>
+    <OutputPath>bin\Debug\</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <DebugType>pdbonly</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>bin\Release\</OutputPath>
+    <DefineConstants>TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <ItemGroup>
+    <Reference Include="gtk-sharp, Version=2.10.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f">
+      <SpecificVersion>False</SpecificVersion>
+      <HintPath>..\..\..\..\..\..\..\Program Files\Medsphere\Gtk# SDK\lib\gtk-sharp-2.0\gtk\gtk-sharp.dll</HintPath>
+    </Reference>
+    <Reference Include="glib-sharp, Version=2.10.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
+    <Reference Include="pango-sharp, Version=2.10.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
+    <Reference Include="gdk-sharp, Version=2.10.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
+    <Reference Include="atk-sharp, Version=2.10.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
+    <Reference Include="Mono.Posix, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756">
+      <SpecificVersion>False</SpecificVersion>
+      <HintPath>..\..\..\winbin\Mono.Posix.dll</HintPath>
+    </Reference>
+    <Reference Include="System" />
+  </ItemGroup>
+  <ItemGroup>
+    <EmbeddedResource Include="Backlinks.addin.xml" />
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="BacklinkMenuItem.cs" />
+    <Compile Include="BacklinksNoteAddin.cs" />
+  </ItemGroup>
+  <ItemGroup>
+    <None Include="Makefile.am" />
+  </ItemGroup>
+  <ItemGroup>
+    <ProjectReference Include="..\..\..\Tomboy.csproj">
+      <Project>{315DBB30-1461-4A41-A23F-A888D84E1EA0}</Project>
+      <Name>Tomboy</Name>
+    </ProjectReference>
+  </ItemGroup>
+  <Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" />
+  <ProjectExtensions>
+    <VisualStudio AllowExistingFolder="true" />
+  </ProjectExtensions>
+  <PropertyGroup>
+    <PostBuildEvent>copy "$(TargetPath)" "$(SolutionDir)\bin\Debug\"</PostBuildEvent>
+  </PropertyGroup>
+</Project>
\ No newline at end of file

Added: trunk/Tomboy/Addins/Bugzilla/Bugzilla.csproj
==============================================================================
--- (empty file)
+++ trunk/Tomboy/Addins/Bugzilla/Bugzilla.csproj	Sun Oct 12 19:34:40 2008
@@ -0,0 +1,75 @@
+ï<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003";>
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <ProjectGuid>{8543F6E2-9B1C-4BFF-B2CC-DD0198E921CC}</ProjectGuid>
+    <ProductVersion>9.0.21022</ProductVersion>
+    <SchemaVersion>2.0</SchemaVersion>
+    <OutputType>Library</OutputType>
+    <NoStandardLibraries>false</NoStandardLibraries>
+    <AssemblyName>Bugzilla</AssemblyName>
+    <TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
+    <FileAlignment>512</FileAlignment>
+    <RootNamespace>Bugzilla</RootNamespace>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>false</Optimize>
+    <OutputPath>bin\Debug\</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <DebugType>pdbonly</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>bin\Release\</OutputPath>
+    <DefineConstants>TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <ItemGroup>
+    <Reference Include="gtk-sharp, Version=2.10.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f">
+      <SpecificVersion>False</SpecificVersion>
+      <HintPath>..\..\..\..\..\..\..\Program Files\Medsphere\Gtk# SDK\lib\gtk-sharp-2.0\gtk\gtk-sharp.dll</HintPath>
+    </Reference>
+    <Reference Include="glib-sharp, Version=2.10.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
+    <Reference Include="pango-sharp, Version=2.10.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
+    <Reference Include="gdk-sharp, Version=2.10.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
+    <Reference Include="atk-sharp, Version=2.10.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
+    <Reference Include="Mono.Posix, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756">
+      <SpecificVersion>False</SpecificVersion>
+      <HintPath>..\..\..\winbin\Mono.Posix.dll</HintPath>
+    </Reference>
+    <Reference Include="System" />
+    <Reference Include="System.XML" />
+  </ItemGroup>
+  <ItemGroup>
+    <EmbeddedResource Include="Bugzilla.addin.xml" />
+    <EmbeddedResource Include="bug.png" />
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="BugzillaLink.cs" />
+    <Compile Include="BugzillaNoteAddin.cs" />
+    <Compile Include="BugzillaPreferences.cs" />
+    <Compile Include="BugzillaPreferencesFactory.cs" />
+    <Compile Include="InsertBugAction.cs" />
+  </ItemGroup>
+  <ItemGroup>
+    <None Include="Makefile.am" />
+  </ItemGroup>
+  <ItemGroup>
+    <ProjectReference Include="..\..\..\Tomboy.csproj">
+      <Project>{315DBB30-1461-4A41-A23F-A888D84E1EA0}</Project>
+      <Name>Tomboy</Name>
+    </ProjectReference>
+  </ItemGroup>
+  <Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" />
+  <ProjectExtensions>
+    <VisualStudio AllowExistingFolder="true" />
+  </ProjectExtensions>
+  <PropertyGroup>
+    <PostBuildEvent>copy "$(TargetPath)" "$(SolutionDir)\bin\Debug\"</PostBuildEvent>
+  </PropertyGroup>
+</Project>
\ No newline at end of file

Modified: trunk/Tomboy/Addins/Bugzilla/BugzillaLink.cs
==============================================================================
--- trunk/Tomboy/Addins/Bugzilla/BugzillaLink.cs	(original)
+++ trunk/Tomboy/Addins/Bugzilla/BugzillaLink.cs	Sun Oct 12 19:34:40 2008
@@ -68,7 +68,7 @@
 		{
 			if (BugUrl != string.Empty) {
 				Logger.Log ("Opening url '{0}'...", BugUrl);
-				Gnome.Url.Show (BugUrl);
+				Services.NativeApplication.OpenUrl (BugUrl);
 			}
 			return true;
 		}

Added: trunk/Tomboy/Addins/ExportToHtml/ExportToHtml.csproj
==============================================================================
--- (empty file)
+++ trunk/Tomboy/Addins/ExportToHtml/ExportToHtml.csproj	Sun Oct 12 19:34:40 2008
@@ -0,0 +1,76 @@
+ï<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003";>
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <ProjectGuid>{88AB220D-4FB4-4875-8865-25CB6DF55EF8}</ProjectGuid>
+    <ProductVersion>9.0.21022</ProductVersion>
+    <SchemaVersion>2.0</SchemaVersion>
+    <OutputType>Library</OutputType>
+    <NoStandardLibraries>false</NoStandardLibraries>
+    <AssemblyName>ExportToHtml</AssemblyName>
+    <TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
+    <FileAlignment>512</FileAlignment>
+    <RootNamespace>ExportToHtml</RootNamespace>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>false</Optimize>
+    <OutputPath>bin\Debug\</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <DebugType>pdbonly</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>bin\Release\</OutputPath>
+    <DefineConstants>TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <ItemGroup>
+    <Reference Include="gtk-sharp, Version=2.10.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f">
+      <SpecificVersion>False</SpecificVersion>
+      <HintPath>..\..\..\..\..\..\..\Program Files\Medsphere\Gtk# SDK\lib\gtk-sharp-2.0\gtk\gtk-sharp.dll</HintPath>
+    </Reference>
+    <Reference Include="glib-sharp, Version=2.10.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
+    <Reference Include="pango-sharp, Version=2.10.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
+    <Reference Include="gdk-sharp, Version=2.10.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
+    <Reference Include="atk-sharp, Version=2.10.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
+    <Reference Include="Mono.Posix, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756">
+      <SpecificVersion>False</SpecificVersion>
+      <HintPath>..\..\..\winbin\Mono.Posix.dll</HintPath>
+    </Reference>
+    <Reference Include="System" />
+    <Reference Include="System.XML" />
+  </ItemGroup>
+  <ItemGroup>
+    <EmbeddedResource Include="ExportToHtml.addin.xml" />
+    <None Include="ExportToHtml.xsl">
+      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
+    </None>
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="ExportToHtmlDialog.cs" />
+    <Compile Include="ExportToHtmlNoteAddin.cs" />
+    <Compile Include="NoteNameResolver.cs" />
+  </ItemGroup>
+  <ItemGroup>
+    <None Include="Makefile.am" />
+  </ItemGroup>
+  <ItemGroup>
+    <ProjectReference Include="..\..\..\Tomboy.csproj">
+      <Project>{315DBB30-1461-4A41-A23F-A888D84E1EA0}</Project>
+      <Name>Tomboy</Name>
+    </ProjectReference>
+  </ItemGroup>
+  <Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" />
+  <ProjectExtensions>
+    <VisualStudio AllowExistingFolder="true" />
+  </ProjectExtensions>
+  <PropertyGroup>
+    <PostBuildEvent>copy "$(TargetPath)" "$(SolutionDir)\bin\Debug\"
+copy "$(TargetDir)*.xsl" "$(SolutionDir)\bin\Debug\"</PostBuildEvent>
+  </PropertyGroup>
+</Project>
\ No newline at end of file

Modified: trunk/Tomboy/Addins/ExportToHtml/ExportToHtmlNoteAddin.cs
==============================================================================
--- trunk/Tomboy/Addins/ExportToHtml/ExportToHtmlNoteAddin.cs	(original)
+++ trunk/Tomboy/Addins/ExportToHtml/ExportToHtmlNoteAddin.cs	Sun Oct 12 19:34:40 2008
@@ -100,7 +100,7 @@
 
 				try {
 					Uri output_uri = new Uri (output_path);
-					Gnome.Url.Show (output_uri.AbsoluteUri);
+					Services.NativeApplication.OpenUrl (output_uri.AbsoluteUri);
 				} catch (Exception ex) {
 					Logger.Log ("Could not open exported note in a web browser: {0}",
 					            ex);

Added: trunk/Tomboy/Addins/FileSystemSyncService/FileSystemSyncService.csproj
==============================================================================
--- (empty file)
+++ trunk/Tomboy/Addins/FileSystemSyncService/FileSystemSyncService.csproj	Sun Oct 12 19:34:40 2008
@@ -0,0 +1,69 @@
+ï<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003";>
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <ProjectGuid>{31C73629-6979-41ED-8278-A291CB12DADF}</ProjectGuid>
+    <ProductVersion>9.0.21022</ProductVersion>
+    <SchemaVersion>2.0</SchemaVersion>
+    <OutputType>Library</OutputType>
+    <NoStandardLibraries>false</NoStandardLibraries>
+    <AssemblyName>FileSystemSyncService</AssemblyName>
+    <TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
+    <FileAlignment>512</FileAlignment>
+    <RootNamespace>FileSystemSyncService</RootNamespace>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>false</Optimize>
+    <OutputPath>bin\Debug\</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <DebugType>pdbonly</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>bin\Release\</OutputPath>
+    <DefineConstants>TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <ItemGroup>
+    <Reference Include="gtk-sharp, Version=2.10.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f">
+      <SpecificVersion>False</SpecificVersion>
+      <HintPath>..\..\..\..\..\..\..\Program Files\Medsphere\Gtk# SDK\lib\gtk-sharp-2.0\gtk\gtk-sharp.dll</HintPath>
+    </Reference>
+    <Reference Include="glib-sharp, Version=2.10.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
+    <Reference Include="pango-sharp, Version=2.10.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
+    <Reference Include="gdk-sharp, Version=2.10.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
+    <Reference Include="atk-sharp, Version=2.10.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
+    <Reference Include="Mono.Posix, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756">
+      <SpecificVersion>False</SpecificVersion>
+      <HintPath>..\..\..\winbin\Mono.Posix.dll</HintPath>
+    </Reference>
+    <Reference Include="System" />
+  </ItemGroup>
+  <ItemGroup>
+    <EmbeddedResource Include="FileSystemSyncService.addin.xml" />
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="FileSystemSyncServiceAddin.cs" />
+  </ItemGroup>
+  <ItemGroup>
+    <None Include="Makefile.am" />
+  </ItemGroup>
+  <ItemGroup>
+    <ProjectReference Include="..\..\..\Tomboy.csproj">
+      <Project>{315DBB30-1461-4A41-A23F-A888D84E1EA0}</Project>
+      <Name>Tomboy</Name>
+    </ProjectReference>
+  </ItemGroup>
+  <Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" />
+  <ProjectExtensions>
+    <VisualStudio AllowExistingFolder="true" />
+  </ProjectExtensions>
+  <PropertyGroup>
+    <PostBuildEvent>copy "$(TargetPath)" "$(SolutionDir)\bin\Debug\"</PostBuildEvent>
+  </PropertyGroup>
+</Project>
\ No newline at end of file

Added: trunk/Tomboy/Addins/FixedWidth/FixedWidth.csproj
==============================================================================
--- (empty file)
+++ trunk/Tomboy/Addins/FixedWidth/FixedWidth.csproj	Sun Oct 12 19:34:40 2008
@@ -0,0 +1,71 @@
+ï<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003";>
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <ProjectGuid>{30A75F9A-7305-465E-8754-334345424569}</ProjectGuid>
+    <ProductVersion>9.0.21022</ProductVersion>
+    <SchemaVersion>2.0</SchemaVersion>
+    <OutputType>Library</OutputType>
+    <NoStandardLibraries>false</NoStandardLibraries>
+    <AssemblyName>FixedWidth</AssemblyName>
+    <TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
+    <FileAlignment>512</FileAlignment>
+    <RootNamespace>FixedWidth</RootNamespace>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>false</Optimize>
+    <OutputPath>bin\Debug\</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <DebugType>pdbonly</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>bin\Release\</OutputPath>
+    <DefineConstants>TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <ItemGroup>
+    <Reference Include="gtk-sharp, Version=2.10.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f">
+      <SpecificVersion>False</SpecificVersion>
+      <HintPath>..\..\..\..\..\..\..\Program Files\Medsphere\Gtk# SDK\lib\gtk-sharp-2.0\gtk\gtk-sharp.dll</HintPath>
+    </Reference>
+    <Reference Include="glib-sharp, Version=2.10.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
+    <Reference Include="pango-sharp, Version=2.10.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
+    <Reference Include="gdk-sharp, Version=2.10.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
+    <Reference Include="atk-sharp, Version=2.10.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
+    <Reference Include="Mono.Posix, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756">
+      <SpecificVersion>False</SpecificVersion>
+      <HintPath>..\..\..\winbin\Mono.Posix.dll</HintPath>
+    </Reference>
+    <Reference Include="System" />
+  </ItemGroup>
+  <ItemGroup>
+    <EmbeddedResource Include="FixedWidth.addin.xml" />
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="FixedWidthMenuItem.cs" />
+    <Compile Include="FixedWidthNoteAddin.cs" />
+    <Compile Include="FixedWidthTag.cs" />
+  </ItemGroup>
+  <ItemGroup>
+    <None Include="Makefile.am" />
+  </ItemGroup>
+  <ItemGroup>
+    <ProjectReference Include="..\..\..\Tomboy.csproj">
+      <Project>{315DBB30-1461-4A41-A23F-A888D84E1EA0}</Project>
+      <Name>Tomboy</Name>
+    </ProjectReference>
+  </ItemGroup>
+  <Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" />
+  <ProjectExtensions>
+    <VisualStudio AllowExistingFolder="true" />
+  </ProjectExtensions>
+  <PropertyGroup>
+    <PostBuildEvent>copy "$(TargetPath)" "$(SolutionDir)\bin\Debug\"</PostBuildEvent>
+  </PropertyGroup>
+</Project>
\ No newline at end of file

Added: trunk/Tomboy/Addins/InsertTimestamp/InsertTimestamp.csproj
==============================================================================
--- (empty file)
+++ trunk/Tomboy/Addins/InsertTimestamp/InsertTimestamp.csproj	Sun Oct 12 19:34:40 2008
@@ -0,0 +1,71 @@
+ï<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003";>
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <ProjectGuid>{F2F2E123-EA8C-4753-9383-4C86B152F4FE}</ProjectGuid>
+    <ProductVersion>9.0.21022</ProductVersion>
+    <SchemaVersion>2.0</SchemaVersion>
+    <OutputType>Library</OutputType>
+    <NoStandardLibraries>false</NoStandardLibraries>
+    <AssemblyName>InsertTimestamp</AssemblyName>
+    <TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
+    <FileAlignment>512</FileAlignment>
+    <RootNamespace>InsertTimestamp</RootNamespace>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>false</Optimize>
+    <OutputPath>bin\Debug\</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <DebugType>pdbonly</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>bin\Release\</OutputPath>
+    <DefineConstants>TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <ItemGroup>
+    <Reference Include="gtk-sharp, Version=2.10.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f">
+      <SpecificVersion>False</SpecificVersion>
+      <HintPath>..\..\..\..\..\..\..\Program Files\Medsphere\Gtk# SDK\lib\gtk-sharp-2.0\gtk\gtk-sharp.dll</HintPath>
+    </Reference>
+    <Reference Include="glib-sharp, Version=2.10.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
+    <Reference Include="pango-sharp, Version=2.10.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
+    <Reference Include="gdk-sharp, Version=2.10.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
+    <Reference Include="atk-sharp, Version=2.10.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
+    <Reference Include="Mono.Posix, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756">
+      <SpecificVersion>False</SpecificVersion>
+      <HintPath>..\..\..\winbin\Mono.Posix.dll</HintPath>
+    </Reference>
+    <Reference Include="System" />
+  </ItemGroup>
+  <ItemGroup>
+    <EmbeddedResource Include="InsertTimestamp.addin.xml" />
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="InsertTimestampNoteAddin.cs" />
+    <Compile Include="InsertTimestampPreferences.cs" />
+    <Compile Include="InsertTimestampPreferencesFactory.cs" />
+  </ItemGroup>
+  <ItemGroup>
+    <None Include="Makefile.am" />
+  </ItemGroup>
+  <ItemGroup>
+    <ProjectReference Include="..\..\..\Tomboy.csproj">
+      <Project>{315DBB30-1461-4A41-A23F-A888D84E1EA0}</Project>
+      <Name>Tomboy</Name>
+    </ProjectReference>
+  </ItemGroup>
+  <Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" />
+  <ProjectExtensions>
+    <VisualStudio AllowExistingFolder="true" />
+  </ProjectExtensions>
+  <PropertyGroup>
+    <PostBuildEvent>copy "$(TargetPath)" "$(SolutionDir)\bin\Debug\"</PostBuildEvent>
+  </PropertyGroup>
+</Project>
\ No newline at end of file

Added: trunk/Tomboy/Addins/NoteOfTheDay/NoteOfTheDay.csproj
==============================================================================
--- (empty file)
+++ trunk/Tomboy/Addins/NoteOfTheDay/NoteOfTheDay.csproj	Sun Oct 12 19:34:40 2008
@@ -0,0 +1,72 @@
+ï<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003";>
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <ProjectGuid>{33026B26-C907-4DBB-A438-85F042578AEA}</ProjectGuid>
+    <ProductVersion>9.0.21022</ProductVersion>
+    <SchemaVersion>2.0</SchemaVersion>
+    <OutputType>Library</OutputType>
+    <NoStandardLibraries>false</NoStandardLibraries>
+    <AssemblyName>NoteOfTheDay</AssemblyName>
+    <TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
+    <FileAlignment>512</FileAlignment>
+    <RootNamespace>NoteOfTheDay</RootNamespace>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>false</Optimize>
+    <OutputPath>bin\Debug\</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <DebugType>pdbonly</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>bin\Release\</OutputPath>
+    <DefineConstants>TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <ItemGroup>
+    <Reference Include="gtk-sharp, Version=2.10.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f">
+      <SpecificVersion>False</SpecificVersion>
+      <HintPath>..\..\..\..\..\..\..\Program Files\Medsphere\Gtk# SDK\lib\gtk-sharp-2.0\gtk\gtk-sharp.dll</HintPath>
+    </Reference>
+    <Reference Include="glib-sharp, Version=2.10.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
+    <Reference Include="pango-sharp, Version=2.10.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
+    <Reference Include="gdk-sharp, Version=2.10.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
+    <Reference Include="atk-sharp, Version=2.10.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
+    <Reference Include="Mono.Posix, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756">
+      <SpecificVersion>False</SpecificVersion>
+      <HintPath>..\..\..\winbin\Mono.Posix.dll</HintPath>
+    </Reference>
+    <Reference Include="System" />
+  </ItemGroup>
+  <ItemGroup>
+    <EmbeddedResource Include="NoteOfTheDay.addin.xml" />
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="NoteOfTheDay.cs" />
+    <Compile Include="NoteOfTheDayApplicationAddin.cs" />
+    <Compile Include="NoteOfTheDayPreferences.cs" />
+    <Compile Include="NoteOfTheDayPreferencesFactory.cs" />
+  </ItemGroup>
+  <ItemGroup>
+    <None Include="Makefile.am" />
+  </ItemGroup>
+  <ItemGroup>
+    <ProjectReference Include="..\..\..\Tomboy.csproj">
+      <Project>{315DBB30-1461-4A41-A23F-A888D84E1EA0}</Project>
+      <Name>Tomboy</Name>
+    </ProjectReference>
+  </ItemGroup>
+  <Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" />
+  <ProjectExtensions>
+    <VisualStudio AllowExistingFolder="true" />
+  </ProjectExtensions>
+  <PropertyGroup>
+    <PostBuildEvent>copy "$(TargetPath)" "$(SolutionDir)\bin\Debug\"</PostBuildEvent>
+  </PropertyGroup>
+</Project>
\ No newline at end of file

Added: trunk/Tomboy/Defines.WIN32.cs
==============================================================================
--- (empty file)
+++ trunk/Tomboy/Defines.WIN32.cs	Sun Oct 12 19:34:40 2008
@@ -0,0 +1,19 @@
+ïusing System;
+using System.Reflection;
+
+// TODO: Automate this
+[assembly: AssemblyInformationalVersion ("0.13.0")]
+
+namespace Tomboy {
+	public class Defines {
+		public const string VERSION = "0.13.0";
+		public const string DATADIR = "@datadir@";
+		public const string GNOME_LOCALE_DIR = "@datadir@/locale";
+		public const string GNOME_HELP_DIR = "@datadir@/gnome/help/tomboy";
+		public const string PKGLIBDIR = "@pkglibdir@";
+		public const string SYS_ADDINS_DIR = "@pkglibdir@/addins";
+		public const string TOMBOY_WEBSITE = "http://www.gnome.org/projects/tomboy/";;
+	}
+}
+
+

Modified: trunk/Tomboy/NoteWindow.cs
==============================================================================
--- trunk/Tomboy/NoteWindow.cs	(original)
+++ trunk/Tomboy/NoteWindow.cs	Sun Oct 12 19:34:40 2008
@@ -242,6 +242,9 @@
 
 		void CloseAllWindowsHandler (object sender, EventArgs args)
 		{
+#if WIN32
+			Tomboy.Exit (0);
+#else
 			int workspace = tomboy_window_get_workspace (note.Window.Handle);
 
 			foreach (Note iter in note.Manager.Notes) {
@@ -255,6 +258,7 @@
 					iter.Window.CloseWindowHandler (null, null);
 				}
 			}
+#endif
 		}
 
 		//

Modified: trunk/Tomboy/Synchronization/FileSystemSyncServer.cs
==============================================================================
--- trunk/Tomboy/Synchronization/FileSystemSyncServer.cs	(original)
+++ trunk/Tomboy/Synchronization/FileSystemSyncServer.cs	Sun Oct 12 19:34:40 2008
@@ -597,7 +597,9 @@
 
 		private void AdjustPermissions (string path)
 		{
+#if !WIN32
 			Mono.Unix.Native.Syscall.chmod (path, Mono.Unix.Native.FilePermissions.ACCESSPERMS);
+#endif
 		}
 		#endregion // Private Methods
 

Modified: trunk/Tomboy/XmlPreferencesClient.cs
==============================================================================
--- trunk/Tomboy/XmlPreferencesClient.cs	(original)
+++ trunk/Tomboy/XmlPreferencesClient.cs	Sun Oct 12 19:34:40 2008
@@ -23,6 +23,7 @@
 				Services.NativeApplication.ConfDir,
 				"prefs.xml");
 			prefsDoc = new XmlDocument ();
+			prefsDoc.Load (fileName);
 			events = new Dictionary<string, NotifyEventHandler> ();
 		}
 		



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]