I tried the others.

-- 
You received this message because you are subscribed to the Google Groups 
"GMarks" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/gmarks.
For more options, visit https://groups.google.com/groups/opt_out.


diff -uNr gmarks_1.0.5/components/nsIGMarksService.js gmarks_1.0.5k/components/nsIGMarksService.js
--- gmarks_1.0.5/components/nsIGMarksService.js	2011-06-20 21:03:12.000000000 +0900
+++ gmarks_1.0.5k/components/nsIGMarksService.js	2013-06-30 21:02:07.802296263 +0900
@@ -673,7 +673,12 @@
       var ioservice = Components.classes["@mozilla.org/network/io-service;1"]
         .getService(Components.interfaces.nsIIOService);
       var uri = ioservice.newURI(bkmk.url, null, null);
-      bkmk.image=faviconService.getFaviconImageForPage(uri).spec;
+      faviconService.getFaviconDataForPage(uri, function (uri) {
+	      if (uri)
+		      bkmk.image= uri.spec;
+	      else
+		      bkmk.image= faviconService.defaultFavicon.spec;
+      });
       }catch(e){
         //dump(e+"\nUrl Error: "+bkmk.url+"\n");
       }

Reply via email to