mirror of
https://github.com/zen-browser/desktop.git
synced 2025-07-08 14:09:58 +02:00
Merge branch 'dev' of https://github.com/zen-browser/desktop into dev
This commit is contained in:
commit
3a317daa87
2 changed files with 3 additions and 3 deletions
|
@ -72,7 +72,7 @@ var gZenCommonActions = {
|
||||||
let transferable = Cc['@mozilla.org/widget/transferable;1'].createInstance(
|
let transferable = Cc['@mozilla.org/widget/transferable;1'].createInstance(
|
||||||
Ci.nsITransferable
|
Ci.nsITransferable
|
||||||
);
|
);
|
||||||
transferable.init(getLoadContext());
|
transferable.init(window.docShell.QueryInterface(Ci.nsILoadContext));
|
||||||
transferable.addDataFlavor('text/plain');
|
transferable.addDataFlavor('text/plain');
|
||||||
transferable.setTransferData('text/plain', str);
|
transferable.setTransferData('text/plain', str);
|
||||||
Services.clipboard.setData(transferable, null, Ci.nsIClipboard.kGlobalClipboard);
|
Services.clipboard.setData(transferable, null, Ci.nsIClipboard.kGlobalClipboard);
|
||||||
|
@ -110,7 +110,7 @@ var gZenCommonActions = {
|
||||||
let transferable = Cc['@mozilla.org/widget/transferable;1'].createInstance(
|
let transferable = Cc['@mozilla.org/widget/transferable;1'].createInstance(
|
||||||
Ci.nsITransferable
|
Ci.nsITransferable
|
||||||
);
|
);
|
||||||
transferable.init(getLoadContext());
|
transferable.init(window.docShell.QueryInterface(Ci.nsILoadContext));
|
||||||
transferable.addDataFlavor('text/plain');
|
transferable.addDataFlavor('text/plain');
|
||||||
transferable.setTransferData('text/plain', str);
|
transferable.setTransferData('text/plain', str);
|
||||||
Services.clipboard.setData(transferable, null, Ci.nsIClipboard.kGlobalClipboard);
|
Services.clipboard.setData(transferable, null, Ci.nsIClipboard.kGlobalClipboard);
|
||||||
|
|
|
@ -104,7 +104,7 @@
|
||||||
#zen-main-app-wrapper,
|
#zen-main-app-wrapper,
|
||||||
#zen-appcontent-wrapper,
|
#zen-appcontent-wrapper,
|
||||||
#zen-sidebar-splitter {
|
#zen-sidebar-splitter {
|
||||||
appearance: -moz-window-sidebar !important;
|
appearance: -moz-sidebar !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue