mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-04 13:07:52 +00:00
Fixing bug 344958, add hidden preference for turning off tab jumpback. Patch by froodian <stridey@gmail.com>, r=cl, sr=pink.
This commit is contained in:
parent
1e1a2555c5
commit
5d7e13b544
@ -126,3 +126,6 @@ pref("browser.download.progressDnldDialog.bringToFront", true);
|
||||
// multi/single line controls
|
||||
pref("layout.spellcheckDefault", 1);
|
||||
|
||||
// enable the tab jumpback feature
|
||||
pref("camino.enable_tabjumpback", true);
|
||||
|
||||
|
@ -155,7 +155,9 @@ NSString* const kTabBarBackgroundDoubleClickedNotification = @"kTabBarBackground
|
||||
// make sure the close button and spinner get removed
|
||||
[(BrowserTabViewItem *)tabViewItem willBeRemoved:YES];
|
||||
if ([self selectedTabViewItem] == tabViewItem) {
|
||||
if (mJumpbackTab)
|
||||
BOOL tabJumpbackPref = [[PreferenceManager sharedInstance] getBooleanPref:"camino.enable_tabjumpback" withSuccess:NULL];
|
||||
|
||||
if (tabJumpbackPref && mJumpbackTab)
|
||||
[mJumpbackTab selectTab:self];
|
||||
else
|
||||
[self selectNextTabViewItem:self];
|
||||
|
Loading…
x
Reference in New Issue
Block a user