~ken-vandine/ubuntu/quantal/unity-lens-photos/trunk

« back to all changes in this revision

Viewing changes to src/unity-lens-photos

  • Committer: Didier Roche
  • Date: 2012-10-02 15:12:24 UTC
  • mfrom: (14.1.5)
  • Revision ID: didier.roche@canonical.com-20121002151224-bfedp7cqjq42cokr
* New upstream release.
  - Fix previews for raw files by using shotwell generated jpg file
    (LP: #1057949, #1057432)
  - [FFe] [UIFe] No easy way to disable online-fetched results in lenses
    (LP: #1054746)

Show diffs side-by-side

added added

removed removed

Lines of Context:
61
61
        # Populate categories
62
62
        cats = []
63
63
        cats.append (Unity.Category.new (CAT_RECENT,
64
 
                                         Gio.ThemedIcon.new("/usr/share/icons/unity-icon-theme/places/svg/group-recent.svg"),
 
64
                                         Gio.ThemedIcon.new(THEME + "group-recent.svg"),
65
65
                                         Unity.CategoryRenderer.VERTICAL_TILE))
66
66
        cats.append (Unity.Category.new (CAT_MINE,
67
 
                                         Gio.ThemedIcon.new("/usr/share/unity/6/lens-nav-photo.svg"),
 
67
                                         Gio.ThemedIcon.new(THEME + "group-photos.svg"),
68
68
                                         Unity.CategoryRenderer.VERTICAL_TILE))
69
69
        cats.append (Unity.Category.new (CAT_FRIENDS,
70
 
                                         Gio.ThemedIcon.new("/usr/share/unity-lens-photos/media/group-friends.svg"),
 
70
                                         Gio.ThemedIcon.new(THEME + "group-friends.svg"),
71
71
                                         Unity.CategoryRenderer.VERTICAL_TILE))
72
72
        cats.append (Unity.Category.new (CAT_ONLINE,
73
 
                                         Gio.ThemedIcon.new("/usr/share/icons/unity-icon-theme/places/svg/group-downloads.svg"),
 
73
                                         Gio.ThemedIcon.new(THEME + "group-internet.svg"),
74
74
                                         Unity.CategoryRenderer.VERTICAL_TILE))
75
75
        cats.append (Unity.Category.new (CAT_GLOBAL,
76
 
                                         Gio.ThemedIcon.new("/usr/share/unity/6/lens-nav-photo.svg"),
 
76
                                         Gio.ThemedIcon.new(THEME + "group-photos.svg"),
77
77
                                         Unity.CategoryRenderer.VERTICAL_TILE))
78
78
        self._lens.props.categories = cats
79
79