From 8cc6b55981e808576d32c37f374716015fafe55b Mon Sep 17 00:00:00 2001 From: Sven Weidauer Date: Mon, 24 Jan 2011 09:12:22 +0000 Subject: Nice back/forward buttons and moved refresh button into URL field (like Safari) svn path=/trunk/netsurf/; revision=11477 --- cocoa/BrowserWindowController.m | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'cocoa/BrowserWindowController.m') diff --git a/cocoa/BrowserWindowController.m b/cocoa/BrowserWindowController.m index 7a59fad2f..ceb3f9f28 100644 --- a/cocoa/BrowserWindowController.m +++ b/cocoa/BrowserWindowController.m @@ -21,6 +21,7 @@ #import "BrowserViewController.h" #import "PSMTabBarControl.h" #import "PSMRolloverButton.h" +#import "URLFieldCell.h" #import "desktop/browser.h" @@ -28,6 +29,8 @@ @synthesize tabBar; @synthesize tabView; +@synthesize urlField; + @synthesize activeBrowser; - (id) init; @@ -41,6 +44,7 @@ { [self setTabBar: nil]; [self setTabView: nil]; + [self setUrlField: nil]; [super dealloc]; } @@ -56,6 +60,8 @@ [b setAction: @selector(newTab:)]; [[self window] setAcceptsMouseMovedEvents: YES]; + + [urlField setRefreshAction: @selector(reloadPage:)]; } - (void) addTab: (BrowserViewController *)browser; -- cgit v1.2.3