mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 12:25:53 +00:00
fix bug 170157: bookmarks should be read regardless of the bookmark toolbar being visible or not.
This commit is contained in:
parent
60a7ef7ed2
commit
9c539a5271
@ -343,8 +343,10 @@ function delayedStartup(aElt)
|
|||||||
checkForDefaultBrowser();
|
checkForDefaultBrowser();
|
||||||
|
|
||||||
// now load bookmarks after a delay
|
// now load bookmarks after a delay
|
||||||
|
BMSVC.ReadBookmarks();
|
||||||
var bt = document.getElementById("bookmarks-toolbar");
|
var bt = document.getElementById("bookmarks-toolbar");
|
||||||
bt.loadBookmarksCallback();
|
if ("toolbar" in bt)
|
||||||
|
bt.toolbar.builder.rebuild();
|
||||||
|
|
||||||
WindowFocusTimerCallback(aElt);
|
WindowFocusTimerCallback(aElt);
|
||||||
|
|
||||||
|
@ -71,13 +71,6 @@
|
|||||||
]]></getter>
|
]]></getter>
|
||||||
</property>
|
</property>
|
||||||
|
|
||||||
<method name="loadBookmarksCallback">
|
|
||||||
<body><![CDATA[
|
|
||||||
BMSVC.ReadBookmarks();
|
|
||||||
this.toolbar.builder.rebuild();
|
|
||||||
]]></body>
|
|
||||||
</method>
|
|
||||||
|
|
||||||
<field name="_selection"> null</field>
|
<field name="_selection"> null</field>
|
||||||
<field name="_target"> null</field>
|
<field name="_target"> null</field>
|
||||||
<field name="_orientation">null</field>
|
<field name="_orientation">null</field>
|
||||||
|
Loading…
Reference in New Issue
Block a user