summaryrefslogtreecommitdiff
path: root/cocoa/NetsurfApp.m
diff options
context:
space:
mode:
authorFran├žois Revel <mmu_man@netsurf-browser.org>2011-05-12 17:31:55 +0000
committerFran├žois Revel <mmu_man@netsurf-browser.org>2011-05-12 17:31:55 +0000
commit092c62f0e01ae489baa50fa66a2045b680e15f50 (patch)
tree2c67c97005cb4fdcacb0049e95bb7701c97e2b61 /cocoa/NetsurfApp.m
parent6dfcd3558064082c1f30ac880fa19b2995da6527 (diff)
downloadnetsurf-092c62f0e01ae489baa50fa66a2045b680e15f50.tar.gz
netsurf-092c62f0e01ae489baa50fa66a2045b680e15f50.tar.bz2
Add code to open the source file into Xcode. Currently called by the context menu because I didn't want to dig the .xib files, feel free to move it to the View main menu.
svn path=/trunk/netsurf/; revision=12387
Diffstat (limited to 'cocoa/NetsurfApp.m')
-rw-r--r--cocoa/NetsurfApp.m4
1 files changed, 4 insertions, 0 deletions
diff --git a/cocoa/NetsurfApp.m b/cocoa/NetsurfApp.m
index 631d56b6c..8caa9f849 100644
--- a/cocoa/NetsurfApp.m
+++ b/cocoa/NetsurfApp.m
@@ -37,6 +37,7 @@
#import "desktop/tree.h"
#import "render/html.h"
#import "utils/url.h"
+#import "utils/filename.h"
#import "utils/log.h"
#import "utils/messages.h"
#import "utils/utils.h"
@@ -180,6 +181,9 @@ int main( int argc, char **argv )
netsurf_init(&argc, &argv, options, messages);
+ /* Initialise filename allocator */
+ filename_initialise();
+
apple_image_init();
NSApplication *app = cocoa_prepare_app();