mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 766942 - Set query argument with initial reading list state (r=mfinkle)
This commit is contained in:
parent
bac0c2b63d
commit
542366042e
@ -449,7 +449,8 @@ public final class Tab {
|
||||
if (!mReaderEnabled)
|
||||
return;
|
||||
|
||||
GeckoApp.mAppContext.loadUrl("about:reader?url=" + Uri.encode(getURL()));
|
||||
GeckoApp.mAppContext.loadUrl("about:reader?url=" + Uri.encode(getURL()) +
|
||||
"&readingList=" + (mReadingListItem ? 1 : 0));
|
||||
}
|
||||
|
||||
public void doReload() {
|
||||
|
@ -92,7 +92,7 @@ abstract public class AwesomeBarTab {
|
||||
protected String getReaderForUrl(String url) {
|
||||
// FIXME: still need to define the final way to open items from
|
||||
// reading list. For now, we're using an about:reader page.
|
||||
return "about:reader?url=" + Uri.encode(url);
|
||||
return "about:reader?url=" + Uri.encode(url) + "&readingList=1";
|
||||
}
|
||||
|
||||
protected void updateFavicon(ImageView faviconView, Cursor cursor) {
|
||||
|
Loading…
Reference in New Issue
Block a user