messageTray: Add the summary view to the focus manager

This makes keynav work between summary items
This commit is contained in:
Jasper St. Pierre 2012-08-15 12:23:33 -04:00
parent 0711a70398
commit c33e2d1971

View File

@ -1326,6 +1326,7 @@ const MessageTray = new Lang.Class({
this._summary = new St.BoxLayout({ name: 'summary-mode', this._summary = new St.BoxLayout({ name: 'summary-mode',
reactive: true, reactive: true,
track_hover: true }); track_hover: true });
global.focus_manager.add_group(this._summary);
this._summary.connect('notify::hover', Lang.bind(this, this._onSummaryHoverChanged)); this._summary.connect('notify::hover', Lang.bind(this, this._onSummaryHoverChanged));
this._summaryBin.child = this._summary; this._summaryBin.child = this._summary;
this._summaryBin.opacity = 0; this._summaryBin.opacity = 0;