Do not show "More" next to "Recent Docs" if there are no docs (bug #582037)

This commit is contained in:
Siegfried-Angel Gevatter Pujals
2009-09-25 20:54:40 +02:00
parent 3ffc510be7
commit 36b11ee8c7
2 changed files with 21 additions and 4 deletions

View File

@ -302,7 +302,7 @@ DashDocDisplayItem.prototype = {
shellWorkspaceLaunch: function () {
this._info.launch();
}
}
};
/**
* Class used to display two column recent documents in the dash
@ -436,5 +436,9 @@ DashDocDisplay.prototype = {
let display = new DashDocDisplayItem(docInfo);
this.actor.add_actor(display.actor);
}
this.emit('changed');
}
}
};
Signals.addSignalMethods(DashDocDisplay.prototype);