overview: make shellInfo private
This commit forwards the shellInfo setMessage method to the overview itself and makes shellInfo private. https://bugzilla.gnome.org/show_bug.cgi?id=657082
This commit is contained in:
@ -175,7 +175,7 @@ Overview.prototype = {
|
||||
// signal handlers and so forth. So we create them after
|
||||
// construction in this init() method.
|
||||
init: function() {
|
||||
this.shellInfo = new ShellInfo();
|
||||
this._shellInfo = new ShellInfo();
|
||||
|
||||
this._viewSelector = new ViewSelector.ViewSelector();
|
||||
this._group.add_actor(this._viewSelector.actor);
|
||||
@ -211,6 +211,10 @@ Overview.prototype = {
|
||||
this._relayout();
|
||||
},
|
||||
|
||||
setMessage: function(text, undoCallback, undoLabel) {
|
||||
this._shellInfo.setMessage(text, undoCallback, undoLabel);
|
||||
},
|
||||
|
||||
_onDragBegin: function() {
|
||||
DND.addDragMonitor(this._dragMonitor);
|
||||
// Remember the workspace we started from
|
||||
|
Reference in New Issue
Block a user