Bug 767599 - Disable bookmarking while in reader mode (r=mfinkle)

This commit is contained in:
Lucas Rocha 2012-06-29 16:55:54 +01:00
parent 2f7f30dd7b
commit a6f0f7b852

View File

@ -586,7 +586,7 @@ abstract public class BrowserApp extends GeckoApp
return true; return true;
} }
bookmark.setEnabled(true); bookmark.setEnabled(!tab.getURL().startsWith("about:reader"));
bookmark.setCheckable(true); bookmark.setCheckable(true);
if (tab.isBookmark()) { if (tab.isBookmark()) {