~stolowski/unity-scope-mediascanner/set-child-feeds

« back to all changes in this revision

Viewing changes to src/myvideos/video-scope.cpp

  • Committer: CI bot
  • Author(s): James Henstridge
  • Date: 2014-10-13 12:00:45 UTC
  • mfrom: (177.2.16 click-support)
  • Revision ID: ps-jenkins@lists.canonical.com-20141013120045-d7bd9poj72au5672
Reorganise package and update build rules to support building scopes as click packages.  Also update icons to the latest versions from design. Fixes: 1380586
Approved by: Pawel Stolowski, PS Jenkins bot

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
#include <unity/scopes/VariantBuilder.h>
33
33
 
34
34
#include "video-scope.h"
35
 
#include "i18n.h"
 
35
#include "../utils/i18n.h"
36
36
 
37
37
#define MAX_RESULTS 100
38
38
 
101
101
};
102
102
 
103
103
void VideoScope::start(std::string const&) {
104
 
    setlocale(LC_ALL, "");
 
104
    init_gettext(*this);
105
105
    store.reset(new MediaStore(MS_READ_ONLY));
106
106
}
107
107