summaryrefslogtreecommitdiff
path: root/wikipedia
diff options
context:
space:
mode:
authorP. F. Chimento <philip.chimento@gmail.com>2014-04-23 16:03:55 -0700
committerP. F. Chimento <philip.chimento@gmail.com>2014-04-23 16:03:55 -0700
commit05489e880a2391b1dee2e6df5b7008b09d76539a (patch)
treec4084829f88fe0b71fa36efabbe80fd019ed0ffc /wikipedia
parentbd214ae7985d5bc3a495ea32de4f2439561c56a0 (diff)
parent01151c964bc97317dd431995a3bbcbebc013946e (diff)
Merge pull request #941 from endlessm/sdk/940
Fix broken imports in sdk [endlessm/eos-sdk#940]
Diffstat (limited to 'wikipedia')
-rw-r--r--wikipedia/PrebuiltCategoryPage.js1
-rw-r--r--wikipedia/presenters/domain_wiki_presenter.js3
-rw-r--r--wikipedia/widgets/category_back_button.js1
-rw-r--r--wikipedia/widgets/category_button.js2
4 files changed, 6 insertions, 1 deletions
diff --git a/wikipedia/PrebuiltCategoryPage.js b/wikipedia/PrebuiltCategoryPage.js
index a41ff4a..bc5fe28 100644
--- a/wikipedia/PrebuiltCategoryPage.js
+++ b/wikipedia/PrebuiltCategoryPage.js
@@ -4,6 +4,7 @@ const Gtk = imports.gi.Gtk;
const Lang = imports.lang;
const CategoryBackButton = imports.wikipedia.widgets.category_back_button;
+const EndlessWikipedia = imports.wikipedia.EndlessWikipedia;
const FixedSizeTextView = imports.wikipedia.widgets.FixedSizeTextView;
GObject.ParamFlags.READWRITE = GObject.ParamFlags.READABLE | GObject.ParamFlags.WRITABLE;
diff --git a/wikipedia/presenters/domain_wiki_presenter.js b/wikipedia/presenters/domain_wiki_presenter.js
index 736158d..66701d2 100644
--- a/wikipedia/presenters/domain_wiki_presenter.js
+++ b/wikipedia/presenters/domain_wiki_presenter.js
@@ -1,6 +1,7 @@
const Endless = imports.gi.Endless;
-const Lang = imports.lang;
+const Gio = imports.gi.Gio;
const GObject = imports.gi.GObject;
+const Lang = imports.lang;
const System = imports.system;
//Local Libraries
diff --git a/wikipedia/widgets/category_back_button.js b/wikipedia/widgets/category_back_button.js
index 312d7af..e959fa8 100644
--- a/wikipedia/widgets/category_back_button.js
+++ b/wikipedia/widgets/category_back_button.js
@@ -1,6 +1,7 @@
// Copyright 2014 Endless Mobile, Inc.
const Gettext = imports.gettext;
+const Gio = imports.gi.Gio;
const GLib = imports.gi.GLib;
const Gtk = imports.gi.Gtk;
const Lang = imports.lang;
diff --git a/wikipedia/widgets/category_button.js b/wikipedia/widgets/category_button.js
index cafa7a6..c116018 100644
--- a/wikipedia/widgets/category_button.js
+++ b/wikipedia/widgets/category_button.js
@@ -1,10 +1,12 @@
const Gdk = imports.gi.Gdk;
const GdkPixbuf = imports.gi.GdkPixbuf;
+const Gio = imports.gi.Gio;
const GObject = imports.gi.GObject;
const Gtk = imports.gi.Gtk;
const Lang = imports.lang;
const CompositeButton = imports.wikipedia.widgets.composite_button;
+const EndlessWikipedia = imports.wikipedia.EndlessWikipedia;
const Utils = imports.wikipedia.utils;
const CATEGORY_LABEL_LEFT_MARGIN_PIXELS = 5; // in addition to the 20px below