Set the window title and url bar string upon changing tabs
This commit is contained in:
parent
d34296b017
commit
dfbf82f0bf
|
@ -391,6 +391,9 @@ static id newTabTarget;
|
||||||
scrollView = [tabContents scrollView];
|
scrollView = [tabContents scrollView];
|
||||||
browser = [tabContents browser];
|
browser = [tabContents browser];
|
||||||
activeTab = tabContents;
|
activeTab = tabContents;
|
||||||
|
Website *website = [self currentWebsiteForTab: activeTab];
|
||||||
|
[urlBar setStringValue: [website url]];
|
||||||
|
[[self window] setTitle: [website name]];
|
||||||
}
|
}
|
||||||
|
|
||||||
-(Website*)currentWebsiteForTab: (id)tab {
|
-(Website*)currentWebsiteForTab: (id)tab {
|
||||||
|
|
Loading…
Reference in New Issue