Merge lp:~submarine/unity-scope-firefoxbookmarks/ff23-thumbnails into lp:unity-scope-firefoxbookmarks

Proposed by David Callé on 2013-07-08
Status: Merged
Approved by: David Callé on 2013-08-06
Approved revision: 31
Merged at revision: 33
Proposed branch: lp:~submarine/unity-scope-firefoxbookmarks/ff23-thumbnails
Merge into: lp:unity-scope-firefoxbookmarks
Diff against target: 11 lines (+1/-0)
1 file modified
src/unity_firefoxbookmarks_daemon.py (+1/-0)
To merge this branch: bzr merge lp:~submarine/unity-scope-firefoxbookmarks/ff23-thumbnails
Reviewer Review Type Date Requested Status
PS Jenkins bot (community) continuous-integration Approve on 2013-08-06
Guillermo Gonzalez 2013-07-08 Approve on 2013-07-17
Review via email: mp+173609@code.launchpad.net

Commit message

Fix thumbnails fetching with FF23

Description of the change

Change thumbs search location (FF23)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/unity_firefoxbookmarks_daemon.py'
2--- src/unity_firefoxbookmarks_daemon.py 2013-06-07 14:15:48 +0000
3+++ src/unity_firefoxbookmarks_daemon.py 2013-07-08 22:01:27 +0000
4@@ -105,6 +105,7 @@
5 if not bookmark[1].find("place:") == -1:
6 continue
7 path = bookmark[4].replace('places.sqlite', 'thumbnails/')
8+ path = path.replace('.mozilla/', '.cache/mozilla/')
9 icon = '%s%s.png' % (path, hashlib.md5(bookmark[1].encode()).hexdigest())
10 if not os.path.exists(icon):
11 icon = None

Subscribers

People subscribed via source and target branches

to all changes: