From e1901889698454018150bfc58f469708837dfd7a Mon Sep 17 00:00:00 2001 From: Sven Weidauer Date: Sun, 27 Feb 2011 09:46:54 +0000 Subject: Local history view now is responsible for hiding itself after selecting a web page. Also gets redrawn when selecting other pages using the back/forward buttons. svn path=/trunk/netsurf/; revision=11837 --- cocoa/LocalHistoryController.m | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'cocoa/LocalHistoryController.m') diff --git a/cocoa/LocalHistoryController.m b/cocoa/LocalHistoryController.m index 0e90b92c0..94d70d34e 100644 --- a/cocoa/LocalHistoryController.m +++ b/cocoa/LocalHistoryController.m @@ -26,7 +26,7 @@ @synthesize browser; @synthesize history; -- initWithBrowser: (struct browser_window *) bw; +- initWithBrowser: (BrowserView *) bw; { if ((self = [super initWithWindowNibName: @"LocalHistoryPanel"]) == nil) return nil; @@ -102,4 +102,9 @@ [history setBrowser: browser]; } +- (void) redraw; +{ + [history setNeedsDisplay: YES]; +} + @end -- cgit v1.2.3