~ubuntu-branches/ubuntu/quantal/gnome-documents/quantal

« back to all changes in this revision

Viewing changes to src/preview.js

  • Committer: Package Import Robot
  • Author(s): Robert Ancell
  • Date: 2012-08-22 10:01:18 UTC
  • mfrom: (1.1.8)
  • Revision ID: package-import@ubuntu.com-20120822100118-3837rqfy72e1op72
Tags: 3.5.90-0ubuntu1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
 
22
22
const Clutter = imports.gi.Clutter;
23
23
const EvView = imports.gi.EvinceView;
24
 
const Gd = imports.gi.Gd;
 
24
const GdPrivate = imports.gi.GdPrivate;
25
25
const Gdk = imports.gi.Gdk;
26
26
const Gio = imports.gi.Gio;
27
27
const Gtk = imports.gi.Gtk;
175
175
    _onSearchJobUpdated: function(job, page) {
176
176
        // FIXME: ev_job_find_get_results() returns a GList **
177
177
        // and thus is not introspectable
178
 
        Gd.ev_view_find_changed(this.view, job, page);
 
178
        GdPrivate.ev_view_find_changed(this.view, job, page);
179
179
    },
180
180
 
181
181
    setModel: function(model) {
202
202
    Name: 'PreviewThumbnails',
203
203
 
204
204
    _init: function(model) {
205
 
        this.view = new Gd.SidebarThumbnails({ model: model });
206
 
        this.widget = new Gd.ThumbNav({ thumbview: this.view });
 
205
        this.view = new GdPrivate.SidebarThumbnails({ model: model });
 
206
        this.widget = new GdPrivate.ThumbNav({ thumbview: this.view });
207
207
        this.actor = new GtkClutter.Actor({ contents: this.widget,
208
208
                                            opacity: 0 });
209
209
 
239
239
 
240
240
        let model = previewView.getModel();
241
241
 
242
 
        this._filter = new Gd.FullscreenFilter();
 
242
        this._filter = new GdPrivate.FullscreenFilter();
243
243
        this._filter.connect('motion-event', Lang.bind(this, this._fullscreenMotionHandler));
244
244
        this._filter.start();
245
245