File tree Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -89,10 +89,6 @@ tabutils._stackTabs = function() {
89
89
90
90
gBrowser . unstackTabs = function unstackTabs ( aTabs , aMove ) {
91
91
aMove = aMove != false ;
92
- for ( let i = 0 ; i < aTabs . length ; i ++ ) {
93
- if ( aTabs [ i ] . hasAttribute ( "group-first" ) )
94
- this . detachTab ( aTabs [ i ] ) ;
95
- }
96
92
for ( let i = aTabs . length - 1 ; i >= 0 ; i -- )
97
93
this . detachTab ( aTabs [ i ] , aMove ) ;
98
94
} ;
@@ -156,7 +152,7 @@ tabutils._stackTabs = function() {
156
152
if ( ! aTab . hasAttribute ( "group" ) )
157
153
return ;
158
154
159
- if ( aMove && ! aTab . hasAttribute ( "group-first" ) && ! aTab . hasAttribute ( "group- last") ) {
155
+ if ( aMove && ! aTab . hasAttribute ( "group-last" ) ) {
160
156
aTab . _suppressTabMove = true ;
161
157
this . moveTabAfter ( aTab , this . lastSiblingTabOf ( aTab ) ) ;
162
158
this . mTabContainer . _notifyBackgroundTab ( aTab ) ;
Original file line number Diff line number Diff line change 58
58
<key id =" key_freezeTab" key =" F" modifiers =" accel,alt" oncommand =" gBrowser.freezeTab(gBrowser.mCurrentTab);" />
59
59
<key id =" key_faviconizeTab" key =" I" modifiers =" accel,alt" oncommand =" gBrowser.faviconizeTab(gBrowser.mCurrentTab);" />
60
60
<key id =" key_pinTab" key =" P" modifiers =" accel,alt" oncommand =" gBrowser.pinTab(gBrowser.mCurrentTab, !gBrowser.mCurrentTab.pinned);" />
61
+ <key id =" key_unstackTab" key =" U" modifiers =" accel,alt" oncommand =" gBrowser.unstackTabs([gBrowser.mCurrentTab]);" />
61
62
<key id =" key_moveTabBackward" oncommand =" gBrowser.moveTabBackward();" keycode =" VK_PAGE_UP" modifiers =" accel,shift" />
62
63
<key id =" key_moveTabForward" oncommand =" gBrowser.moveTabForward();" keycode =" VK_PAGE_DOWN" modifiers =" accel,shift" />
63
64
<key id =" key_moveTabToStart" oncommand =" gBrowser.moveTabToStart();" keycode =" VK_HOME" modifiers =" accel,shift" />
262
263
<menuitem id =" context_unstackTab"
263
264
label =" &unstackTab.label; "
264
265
accesskey =" &unstackTab.accesskey; "
266
+ key =" key_unstackTab"
265
267
insertbefore =" context_closeTab"
266
268
multiselected =" any"
267
269
grouponly =" true"
Original file line number Diff line number Diff line change @@ -161,6 +161,7 @@ pref("extensions.tabutils.shortcut.key_lockTab", true);
161
161
pref ( "extensions.tabutils.shortcut.key_freezeTab" , true ) ;
162
162
pref ( "extensions.tabutils.shortcut.key_faviconizeTab" , true ) ;
163
163
pref ( "extensions.tabutils.shortcut.key_pinTab" , true ) ;
164
+ pref ( "extensions.tabutils.shortcut.key_unstackTab" , true ) ;
164
165
pref ( "extensions.tabutils.shortcut.key_moveTabBackward" , true ) ;
165
166
pref ( "extensions.tabutils.shortcut.key_moveTabForward" , true ) ;
166
167
pref ( "extensions.tabutils.shortcut.key_moveTabToStart" , true ) ;
You can’t perform that action at this time.
0 commit comments