summaryrefslogtreecommitdiff
path: root/cocoa/LocalHistoryController.m
diff options
context:
space:
mode:
authorSven Weidauer <sven.weidauer@gmail.com>2011-02-27 09:46:54 +0000
committerSven Weidauer <sven.weidauer@gmail.com>2011-02-27 09:46:54 +0000
commite1901889698454018150bfc58f469708837dfd7a (patch)
tree68cbf63380769e92d56f9adfbe522087766c5f27 /cocoa/LocalHistoryController.m
parent1842be491dffdbc0b0d2dc8e3891d13369824887 (diff)
downloadnetsurf-e1901889698454018150bfc58f469708837dfd7a.tar.gz
netsurf-e1901889698454018150bfc58f469708837dfd7a.tar.bz2
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
Diffstat (limited to 'cocoa/LocalHistoryController.m')
-rw-r--r--cocoa/LocalHistoryController.m7
1 files changed, 6 insertions, 1 deletions
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