~jbicha/ubuntu/oneiric/gnome-shell/oneiric-3.2.2.1

« back to all changes in this revision

Viewing changes to js/ui/appDisplay.js

  • Committer: Bazaar Package Importer
  • Author(s): Michael Terry
  • Date: 2011-07-20 14:46:28 UTC
  • mfrom: (1.1.25 upstream)
  • Revision ID: james.westby@ubuntu.com-20110720144628-ipirjtz8od4uktpg
Tags: 3.1.3-0ubuntu1
* New upstream release
* debian/control.in:
  - Update dependency versions

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
const Meta = imports.gi.Meta;
10
10
const St = imports.gi.St;
11
11
const Mainloop = imports.mainloop;
12
 
const Gettext = imports.gettext.domain('gnome-shell');
13
 
const _ = Gettext.gettext;
14
12
 
15
13
const AppFavorites = imports.ui.appFavorites;
16
14
const DND = imports.ui.dnd;
46
44
        this.actor = new St.ScrollView({ x_fill: true,
47
45
                                         y_fill: false,
48
46
                                         y_align: St.Align.START,
49
 
                                         vfade: true });
 
47
                                         style_class: 'vfade' });
50
48
        this.actor.add_actor(box);
51
49
        this.actor.set_policy(Gtk.PolicyType.NEVER, Gtk.PolicyType.AUTOMATIC);
52
50
        this.actor.connect('notify::mapped', Lang.bind(this,
434
432
        this.icon = new AppIcon(app, iconParams);
435
433
        this.actor.set_child(this.icon.actor);
436
434
 
 
435
        this.actor.label_actor = this.icon.label;
 
436
 
437
437
        this.actor.connect('button-press-event', Lang.bind(this, this._onButtonPress));
438
438
        this.actor.connect('clicked', Lang.bind(this, this._onClicked));
439
439
        this.actor.connect('popup-menu', Lang.bind(this, this._onKeyboardPopupMenu));