зеркало из https://github.com/mozilla/gecko-dev.git
* Added ability to edit Live Bookmark feed & site URIs in Bookmark Properties dialog
* Fixed a setFeedURI bug in the LivemarkService * Fixed problems that broke the toolbar when a live bookmark had no site URI * Converted some browser UI code to use LivemarkService methods rather than manipulating the annotations directly bug=330063 r=annie.sullivan@gmail.com sr=ben@mozilla.org Original committer: joe%retrovirus.com Original revision: 1.16 Original date: 2006/04/06 23:25:36
This commit is contained in:
Родитель
1b7d652c4b
Коммит
79f973be59
|
@ -480,7 +480,7 @@ nsLivemarkService::SetFeedURI(PRInt64 aContainer, nsIURI *aFeedURI)
|
||||||
|
|
||||||
// Now update our internal table
|
// Now update our internal table
|
||||||
PRInt32 livemarkIndex = GetLivemarkIndex(aContainer);
|
PRInt32 livemarkIndex = GetLivemarkIndex(aContainer);
|
||||||
NS_ENSURE_TRUE(livemarkIndex == -1, NS_ERROR_FAILURE);
|
NS_ENSURE_TRUE(livemarkIndex > -1, NS_ERROR_FAILURE);
|
||||||
|
|
||||||
mLivemarks[livemarkIndex]->feedURI = aFeedURI;
|
mLivemarks[livemarkIndex]->feedURI = aFeedURI;
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче