summary refs log tree commit diff stats
path: root/src/fe-gtk
diff options
context:
space:
mode:
Diffstat (limited to 'src/fe-gtk')
-rw-r--r--src/fe-gtk/fe-gtk-xp.vcxproj180
-rw-r--r--src/fe-gtk/fe-gtk-xp.vcxproj.filters222
-rw-r--r--src/fe-gtk/fe-gtk.vcxproj13
-rw-r--r--src/fe-gtk/setup.c4
-rw-r--r--src/fe-gtk/urlgrab.c2
5 files changed, 411 insertions, 10 deletions
diff --git a/src/fe-gtk/fe-gtk-xp.vcxproj b/src/fe-gtk/fe-gtk-xp.vcxproj
new file mode 100644
index 00000000..26fb830f
--- /dev/null
+++ b/src/fe-gtk/fe-gtk-xp.vcxproj
@@ -0,0 +1,180 @@
+<?xml version="1.0" encoding="utf-8"?>

+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">

+  <ItemGroup Label="ProjectConfigurations">

+    <ProjectConfiguration Include="Release|Win32">

+      <Configuration>Release</Configuration>

+      <Platform>Win32</Platform>

+    </ProjectConfiguration>

+    <ProjectConfiguration Include="Release|x64">

+      <Configuration>Release</Configuration>

+      <Platform>x64</Platform>

+    </ProjectConfiguration>

+  </ItemGroup>

+  <PropertyGroup Label="Globals">

+    <ProjectGuid>{E4BDB4C8-2335-415A-ACEE-BA88B19BFE82}</ProjectGuid>

+    <Keyword>Win32Proj</Keyword>

+    <RootNamespace>fegtk</RootNamespace>

+    <ProjectName>fe-gtk</ProjectName>

+  </PropertyGroup>

+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />

+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">

+    <ConfigurationType>Application</ConfigurationType>

+    <UseDebugLibraries>false</UseDebugLibraries>

+    <WholeProgramOptimization>true</WholeProgramOptimization>

+    <CharacterSet>MultiByte</CharacterSet>

+    <PlatformToolset>WDK7</PlatformToolset>

+  </PropertyGroup>

+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">

+    <ConfigurationType>Application</ConfigurationType>

+    <UseDebugLibraries>false</UseDebugLibraries>

+    <WholeProgramOptimization>true</WholeProgramOptimization>

+    <CharacterSet>MultiByte</CharacterSet>

+    <PlatformToolset>WDK7</PlatformToolset>

+  </PropertyGroup>

+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />

+  <ImportGroup Label="ExtensionSettings">

+  </ImportGroup>

+  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">

+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />

+    <Import Project="..\..\win32\hexchat-xp.props" />

+  </ImportGroup>

+  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">

+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />

+    <Import Project="..\..\win32\hexchat-xp.props" />

+  </ImportGroup>

+  <PropertyGroup Label="UserMacros" />

+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">

+    <LinkIncremental>false</LinkIncremental>

+    <TargetName>hexchat</TargetName>

+    <OutDir>$(HexChatBin)</OutDir>

+    <IntDir>$(HexChatObj)$(ProjectName)\</IntDir>

+  </PropertyGroup>

+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">

+    <LinkIncremental>false</LinkIncremental>

+    <TargetName>hexchat</TargetName>

+    <OutDir>$(HexChatBin)</OutDir>

+    <IntDir>$(HexChatObj)$(ProjectName)\</IntDir>

+  </PropertyGroup>

+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">

+    <ClCompile>

+      <WarningLevel>Level1</WarningLevel>

+      <PrecompiledHeader>

+      </PrecompiledHeader>

+      <Optimization>MaxSpeed</Optimization>

+      <FunctionLevelLinking>true</FunctionLevelLinking>

+      <IntrinsicFunctions>true</IntrinsicFunctions>

+      <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;$(OwnFlags);%(PreprocessorDefinitions)</PreprocessorDefinitions>

+      <AdditionalIncludeDirectories>$(DepsRoot)\include;$(Glib);$(Gtk);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>

+      <MultiProcessorCompilation>true</MultiProcessorCompilation>

+    </ClCompile>

+    <Link>

+      <SubSystem>Windows</SubSystem>

+      <GenerateDebugInformation>true</GenerateDebugInformation>

+      <EnableCOMDATFolding>true</EnableCOMDATFolding>

+      <OptimizeReferences>true</OptimizeReferences>

+      <AdditionalLibraryDirectories>$(DepsRoot)\lib;$(OutDir);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>

+      <AdditionalDependencies>$(DepLibs);common.lib;dirent-win32.lib;%(AdditionalDependencies)</AdditionalDependencies>

+      <EntryPointSymbol>mainCRTStartup</EntryPointSymbol>

+    </Link>

+  </ItemDefinitionGroup>

+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">

+    <ClCompile>

+      <WarningLevel>Level1</WarningLevel>

+      <PrecompiledHeader>

+      </PrecompiledHeader>

+      <Optimization>MaxSpeed</Optimization>

+      <FunctionLevelLinking>true</FunctionLevelLinking>

+      <IntrinsicFunctions>true</IntrinsicFunctions>

+      <PreprocessorDefinitions>WIN32;_WIN64;_AMD64_;NDEBUG;_WINDOWS;$(OwnFlags);%(PreprocessorDefinitions)</PreprocessorDefinitions>

+      <AdditionalIncludeDirectories>$(DepsRoot)\include;$(Glib);$(Gtk);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>

+      <MultiProcessorCompilation>true</MultiProcessorCompilation>

+    </ClCompile>

+    <Link>

+      <SubSystem>Windows</SubSystem>

+      <GenerateDebugInformation>true</GenerateDebugInformation>

+      <EnableCOMDATFolding>true</EnableCOMDATFolding>

+      <OptimizeReferences>true</OptimizeReferences>

+      <AdditionalLibraryDirectories>$(DepsRoot)\lib;$(OutDir);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>

+      <AdditionalDependencies>$(DepLibs);common.lib;dirent-win32.lib;%(AdditionalDependencies)</AdditionalDependencies>

+      <EntryPointSymbol>mainCRTStartup</EntryPointSymbol>

+    </Link>

+  </ItemDefinitionGroup>

+  <ItemGroup>

+    <ClInclude Include="about.h" />

+    <ClInclude Include="ascii.h" />

+    <ClInclude Include="banlist.h" />

+    <ClInclude Include="chanlist.h" />

+    <ClInclude Include="chanview.h" />

+    <ClInclude Include="custom-list.h" />

+    <ClInclude Include="editlist.h" />

+    <ClInclude Include="fe-gtk.h" />

+    <ClInclude Include="fkeys.h" />

+    <ClInclude Include="gtkutil.h" />

+    <ClInclude Include="joind.h" />

+    <ClInclude Include="maingui.h" />

+    <ClInclude Include="menu.h" />

+    <ClInclude Include="mmx_cmod.h" />

+    <ClInclude Include="notifygui.h" />

+    <ClInclude Include="palette.h" />

+    <ClInclude Include="pixmaps.h" />

+    <ClInclude Include="plugin-tray.h" />

+    <ClInclude Include="plugingui.h" />

+    <ClInclude Include="rawlog.h" />

+    <ClInclude Include="search.h" />

+    <ClInclude Include="servlistgui.h" />

+    <ClInclude Include="setup.h" />

+    <ClInclude Include="sexy-iso-codes.h" />

+    <ClInclude Include="sexy-marshal.h" />

+    <ClInclude Include="sexy-spell-entry.h" />

+    <ClInclude Include="textgui.h" />

+    <ClInclude Include="typedef.h" />

+    <ClInclude Include="urlgrab.h" />

+    <ClInclude Include="userlistgui.h" />

+    <ClInclude Include="xtext.h" />

+  </ItemGroup>

+  <ItemGroup>

+    <ClCompile Include="about.c" />

+    <ClCompile Include="ascii.c" />

+    <ClCompile Include="banlist.c" />

+    <ClCompile Include="chanlist.c" />

+    <ClCompile Include="chanview.c" />

+    <ClCompile Include="custom-list.c" />

+    <ClCompile Include="dccgui.c" />

+    <ClCompile Include="editlist.c" />

+    <ClCompile Include="fe-gtk.c" />

+    <ClCompile Include="fkeys.c" />

+    <ClCompile Include="gtkutil.c" />

+    <ClCompile Include="ignoregui.c" />

+    <ClCompile Include="joind.c" />

+    <ClCompile Include="maingui.c" />

+    <ClCompile Include="menu.c" />

+    <ClCompile Include="notifygui.c" />

+    <ClCompile Include="palette.c" />

+    <ClCompile Include="pixmaps.c" />

+    <ClCompile Include="plugin-tray.c" />

+    <ClCompile Include="plugingui.c" />

+    <ClCompile Include="rawlog.c" />

+    <ClCompile Include="search.c" />

+    <ClCompile Include="servlistgui.c" />

+    <ClCompile Include="setup.c" />

+    <ClCompile Include="sexy-iso-codes.c" />

+    <ClCompile Include="sexy-marshal.c" />

+    <ClCompile Include="sexy-spell-entry.c" />

+    <ClCompile Include="textgui.c" />

+    <ClCompile Include="urlgrab.c" />

+    <ClCompile Include="userlistgui.c" />

+    <ClCompile Include="xtext.c" />

+  </ItemGroup>

+  <ItemGroup>

+    <Manifest Include="hexchat.exe.manifest" />

+  </ItemGroup>

+  <ItemGroup>

+    <ResourceCompile Include="hexchat.rc" />

+  </ItemGroup>

+  <ItemGroup>

+    <None Include="..\..\hexchat.ico" />

+  </ItemGroup>

+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />

+  <ImportGroup Label="ExtensionTargets">

+  </ImportGroup>

+</Project>
\ No newline at end of file
diff --git a/src/fe-gtk/fe-gtk-xp.vcxproj.filters b/src/fe-gtk/fe-gtk-xp.vcxproj.filters
new file mode 100644
index 00000000..370a1ad4
--- /dev/null
+++ b/src/fe-gtk/fe-gtk-xp.vcxproj.filters
@@ -0,0 +1,222 @@
+<?xml version="1.0" encoding="utf-8"?>

+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">

+  <ItemGroup>

+    <Filter Include="Source Files">

+      <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>

+      <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>

+    </Filter>

+    <Filter Include="Header Files">

+      <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>

+      <Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>

+    </Filter>

+    <Filter Include="Resource Files">

+      <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>

+      <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>

+    </Filter>

+  </ItemGroup>

+  <ItemGroup>

+    <ClInclude Include="about.h">

+      <Filter>Header Files</Filter>

+    </ClInclude>

+    <ClInclude Include="ascii.h">

+      <Filter>Header Files</Filter>

+    </ClInclude>

+    <ClInclude Include="banlist.h">

+      <Filter>Header Files</Filter>

+    </ClInclude>

+    <ClInclude Include="chanlist.h">

+      <Filter>Header Files</Filter>

+    </ClInclude>

+    <ClInclude Include="chanview.h">

+      <Filter>Header Files</Filter>

+    </ClInclude>

+    <ClInclude Include="custom-list.h">

+      <Filter>Header Files</Filter>

+    </ClInclude>

+    <ClInclude Include="editlist.h">

+      <Filter>Header Files</Filter>

+    </ClInclude>

+    <ClInclude Include="fe-gtk.h">

+      <Filter>Header Files</Filter>

+    </ClInclude>

+    <ClInclude Include="fkeys.h">

+      <Filter>Header Files</Filter>

+    </ClInclude>

+    <ClInclude Include="gtkutil.h">

+      <Filter>Header Files</Filter>

+    </ClInclude>

+    <ClInclude Include="joind.h">

+      <Filter>Header Files</Filter>

+    </ClInclude>

+    <ClInclude Include="maingui.h">

+      <Filter>Header Files</Filter>

+    </ClInclude>

+    <ClInclude Include="menu.h">

+      <Filter>Header Files</Filter>

+    </ClInclude>

+    <ClInclude Include="mmx_cmod.h">

+      <Filter>Header Files</Filter>

+    </ClInclude>

+    <ClInclude Include="notifygui.h">

+      <Filter>Header Files</Filter>

+    </ClInclude>

+    <ClInclude Include="palette.h">

+      <Filter>Header Files</Filter>

+    </ClInclude>

+    <ClInclude Include="pixmaps.h">

+      <Filter>Header Files</Filter>

+    </ClInclude>

+    <ClInclude Include="plugingui.h">

+      <Filter>Header Files</Filter>

+    </ClInclude>

+    <ClInclude Include="plugin-tray.h">

+      <Filter>Header Files</Filter>

+    </ClInclude>

+    <ClInclude Include="rawlog.h">

+      <Filter>Header Files</Filter>

+    </ClInclude>

+    <ClInclude Include="search.h">

+      <Filter>Header Files</Filter>

+    </ClInclude>

+    <ClInclude Include="sexy-iso-codes.h">

+      <Filter>Header Files</Filter>

+    </ClInclude>

+    <ClInclude Include="sexy-marshal.h">

+      <Filter>Header Files</Filter>

+    </ClInclude>

+    <ClInclude Include="sexy-spell-entry.h">

+      <Filter>Header Files</Filter>

+    </ClInclude>

+    <ClInclude Include="textgui.h">

+      <Filter>Header Files</Filter>

+    </ClInclude>

+    <ClInclude Include="typedef.h">

+      <Filter>Header Files</Filter>

+    </ClInclude>

+    <ClInclude Include="urlgrab.h">

+      <Filter>Header Files</Filter>

+    </ClInclude>

+    <ClInclude Include="userlistgui.h">

+      <Filter>Header Files</Filter>

+    </ClInclude>

+    <ClInclude Include="xtext.h">

+      <Filter>Header Files</Filter>

+    </ClInclude>

+    <ClInclude Include="servlistgui.h">

+      <Filter>Header Files</Filter>

+    </ClInclude>

+    <ClInclude Include="setup.h">

+      <Filter>Header Files</Filter>

+    </ClInclude>

+  </ItemGroup>

+  <ItemGroup>

+    <ClCompile Include="about.c">

+      <Filter>Source Files</Filter>

+    </ClCompile>

+    <ClCompile Include="ascii.c">

+      <Filter>Source Files</Filter>

+    </ClCompile>

+    <ClCompile Include="banlist.c">

+      <Filter>Source Files</Filter>

+    </ClCompile>

+    <ClCompile Include="chanlist.c">

+      <Filter>Source Files</Filter>

+    </ClCompile>

+    <ClCompile Include="chanview.c">

+      <Filter>Source Files</Filter>

+    </ClCompile>

+    <ClCompile Include="custom-list.c">

+      <Filter>Source Files</Filter>

+    </ClCompile>

+    <ClCompile Include="dccgui.c">

+      <Filter>Source Files</Filter>

+    </ClCompile>

+    <ClCompile Include="editlist.c">

+      <Filter>Source Files</Filter>

+    </ClCompile>

+    <ClCompile Include="fe-gtk.c">

+      <Filter>Source Files</Filter>

+    </ClCompile>

+    <ClCompile Include="fkeys.c">

+      <Filter>Source Files</Filter>

+    </ClCompile>

+    <ClCompile Include="gtkutil.c">

+      <Filter>Source Files</Filter>

+    </ClCompile>

+    <ClCompile Include="ignoregui.c">

+      <Filter>Source Files</Filter>

+    </ClCompile>

+    <ClCompile Include="joind.c">

+      <Filter>Source Files</Filter>

+    </ClCompile>

+    <ClCompile Include="maingui.c">

+      <Filter>Source Files</Filter>

+    </ClCompile>

+    <ClCompile Include="menu.c">

+      <Filter>Source Files</Filter>

+    </ClCompile>

+    <ClCompile Include="notifygui.c">

+      <Filter>Source Files</Filter>

+    </ClCompile>

+    <ClCompile Include="palette.c">

+      <Filter>Source Files</Filter>

+    </ClCompile>

+    <ClCompile Include="pixmaps.c">

+      <Filter>Source Files</Filter>

+    </ClCompile>

+    <ClCompile Include="plugingui.c">

+      <Filter>Source Files</Filter>

+    </ClCompile>

+    <ClCompile Include="plugin-tray.c">

+      <Filter>Source Files</Filter>

+    </ClCompile>

+    <ClCompile Include="rawlog.c">

+      <Filter>Source Files</Filter>

+    </ClCompile>

+    <ClCompile Include="search.c">

+      <Filter>Source Files</Filter>

+    </ClCompile>

+    <ClCompile Include="servlistgui.c">

+      <Filter>Source Files</Filter>

+    </ClCompile>

+    <ClCompile Include="setup.c">

+      <Filter>Source Files</Filter>

+    </ClCompile>

+    <ClCompile Include="sexy-iso-codes.c">

+      <Filter>Source Files</Filter>

+    </ClCompile>

+    <ClCompile Include="sexy-marshal.c">

+      <Filter>Source Files</Filter>

+    </ClCompile>

+    <ClCompile Include="sexy-spell-entry.c">

+      <Filter>Source Files</Filter>

+    </ClCompile>

+    <ClCompile Include="textgui.c">

+      <Filter>Source Files</Filter>

+    </ClCompile>

+    <ClCompile Include="urlgrab.c">

+      <Filter>Source Files</Filter>

+    </ClCompile>

+    <ClCompile Include="userlistgui.c">

+      <Filter>Source Files</Filter>

+    </ClCompile>

+    <ClCompile Include="xtext.c">

+      <Filter>Source Files</Filter>

+    </ClCompile>

+  </ItemGroup>

+  <ItemGroup>

+    <Manifest Include="hexchat.exe.manifest">

+      <Filter>Resource Files</Filter>

+    </Manifest>

+  </ItemGroup>

+  <ItemGroup>

+    <ResourceCompile Include="hexchat.rc">

+      <Filter>Resource Files</Filter>

+    </ResourceCompile>

+  </ItemGroup>

+  <ItemGroup>

+    <None Include="..\..\hexchat.ico">

+      <Filter>Resource Files</Filter>

+    </None>

+  </ItemGroup>

+</Project>
\ No newline at end of file
diff --git a/src/fe-gtk/fe-gtk.vcxproj b/src/fe-gtk/fe-gtk.vcxproj
index de631308..4a150d92 100644
--- a/src/fe-gtk/fe-gtk.vcxproj
+++ b/src/fe-gtk/fe-gtk.vcxproj
@@ -21,14 +21,12 @@
     <UseDebugLibraries>false</UseDebugLibraries>

     <WholeProgramOptimization>true</WholeProgramOptimization>

     <CharacterSet>MultiByte</CharacterSet>

-    <PlatformToolset>WDK7</PlatformToolset>

   </PropertyGroup>

   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">

     <ConfigurationType>Application</ConfigurationType>

     <UseDebugLibraries>false</UseDebugLibraries>

     <WholeProgramOptimization>true</WholeProgramOptimization>

     <CharacterSet>MultiByte</CharacterSet>

-    <PlatformToolset>WDK7</PlatformToolset>

   </PropertyGroup>

   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />

   <ImportGroup Label="ExtensionSettings">

@@ -45,14 +43,14 @@
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">

     <LinkIncremental>false</LinkIncremental>

     <TargetName>hexchat</TargetName>

-    <OutDir>$(SolutionDir)build\$(PlatformName)\bin\</OutDir>

-    <IntDir>$(SolutionDir)build\$(PlatformName)\obj\$(ProjectName)\</IntDir>

+    <OutDir>$(HexChatBin)</OutDir>

+    <IntDir>$(HexChatObj)$(ProjectName)\</IntDir>

   </PropertyGroup>

   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">

     <LinkIncremental>false</LinkIncremental>

     <TargetName>hexchat</TargetName>

-    <OutDir>$(SolutionDir)build\$(PlatformName)\bin\</OutDir>

-    <IntDir>$(SolutionDir)build\$(PlatformName)\obj\$(ProjectName)\</IntDir>

+    <OutDir>$(HexChatBin)</OutDir>

+    <IntDir>$(HexChatObj)$(ProjectName)\</IntDir>

   </PropertyGroup>

   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">

     <ClCompile>

@@ -65,7 +63,6 @@
       <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;$(OwnFlags);%(PreprocessorDefinitions)</PreprocessorDefinitions>

       <AdditionalIncludeDirectories>$(DepsRoot)\include;$(Glib);$(Gtk);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>

       <MultiProcessorCompilation>true</MultiProcessorCompilation>

-      <BufferSecurityCheck>false</BufferSecurityCheck>

     </ClCompile>

     <Link>

       <SubSystem>Windows</SubSystem>

@@ -75,7 +72,6 @@
       <AdditionalLibraryDirectories>$(DepsRoot)\lib;$(OutDir);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>

       <AdditionalDependencies>$(DepLibs);common.lib;dirent-win32.lib;%(AdditionalDependencies)</AdditionalDependencies>

       <EntryPointSymbol>mainCRTStartup</EntryPointSymbol>

-      <ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>

     </Link>

   </ItemDefinitionGroup>

   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">

@@ -89,7 +85,6 @@
       <PreprocessorDefinitions>WIN32;_WIN64;_AMD64_;NDEBUG;_WINDOWS;$(OwnFlags);%(PreprocessorDefinitions)</PreprocessorDefinitions>

       <AdditionalIncludeDirectories>$(DepsRoot)\include;$(Glib);$(Gtk);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>

       <MultiProcessorCompilation>true</MultiProcessorCompilation>

-      <BufferSecurityCheck>false</BufferSecurityCheck>

     </ClCompile>

     <Link>

       <SubSystem>Windows</SubSystem>

diff --git a/src/fe-gtk/setup.c b/src/fe-gtk/setup.c
index e2ec7fd8..907218b7 100644
--- a/src/fe-gtk/setup.c
+++ b/src/fe-gtk/setup.c
@@ -489,6 +489,10 @@ static const setting logging_settings[] =
 	{ST_LABEL,	N_("See the strftime manpage for details.")},
 #endif
 
+	{ST_HEADER,	N_("URL Grabber"),0,0,0},
+	{ST_TOGGLE,	N_("Enable URL grabber"), P_OFFINTNL(url_grabber), 0, 0, 2},
+	{ST_NUMBER,	N_("Maximum number of URLs:"), P_OFFINTNL(url_grabber_limit), 0, 0, 9999},
+
 	{ST_END, 0, 0, 0, 0, 0}
 };
 
diff --git a/src/fe-gtk/urlgrab.c b/src/fe-gtk/urlgrab.c
index 9ab238cf..d9b79670 100644
--- a/src/fe-gtk/urlgrab.c
+++ b/src/fe-gtk/urlgrab.c
@@ -145,7 +145,7 @@ static void
 url_button_save (void)
 {
 	gtkutil_file_req (_("Select an output filename"),
-							url_save_callback, NULL, NULL, NULL, FRF_WRITE);
+							url_save_callback, NULL, get_xdir_utf8 (), NULL, FRF_WRITE|FRF_FILTERISINITIAL);
 }
 
 void