summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
d01d07a)
git-svn-id: file:///home/phd/archive/SVN/bookmarks_db/trunk@346
fdd5c36f-1aea-0310-aeeb-
c58d7e2b6c23
dict["type"] = "text/x-moz-place"
dict["uri"] = uri = b.href
if uri.startswith('place:'):
dict["type"] = "text/x-moz-place"
dict["uri"] = uri = b.href
if uri.startswith('place:'):
- if uri.startswith('place:sort=8'):
+ if uri.startswith('place:sort=8') \
+ or uri.startswith('place://sort=8'):
- elif uri.startswith('place:folder=BOOKMARKS_MENU'):
+ elif uri.startswith('place:folder=BOOKMARKS_MENU') \
+ or uri.startswith('place://folder=BOOKMARKS_MENU'):
value = 'RecentlyBookmarked'
value = 'RecentlyBookmarked'
- elif uri.startswith('place:sort=14'):
+ elif uri.startswith('place:sort=14') \
+ or uri.startswith('place://sort=14'):
value = 'RecentTags'
dict["annos"] = make_annos(value, name='Places/SmartBookmark')
del dict["dateAdded"]
value = 'RecentTags'
dict["annos"] = make_annos(value, name='Places/SmartBookmark')
del dict["dateAdded"]