Select an item when information button is clicked, launch on single click
Clicking the information button for an item selects it (i.e. highlights it) and shows details about the item. Clicking the rest of the item area launches it. Item does not become draggable if the dragging is started over the information icon (i.e. if the user presses the information icon, but releases elsewhere). Make sure we emit "activated" signal and close the overlay when an item from one of the results displays is launched.
This commit is contained in:
@ -393,6 +393,12 @@ Dash.prototype = {
|
||||
this._docDisplay.connect('activated', function(docDisplay) {
|
||||
me.emit('activated');
|
||||
});
|
||||
this._resultsAppsSection.display.connect('activated', function(resultsAppsDisplay) {
|
||||
me.emit('activated');
|
||||
});
|
||||
this._resultsDocsSection.display.connect('activated', function(resultsDocsDisplay) {
|
||||
me.emit('activated');
|
||||
});
|
||||
this._appDisplay.connect('selected', function(appDisplay) {
|
||||
// We allow clicking on any item to select it, so if an
|
||||
// item in the app display is selected, we need to make sure that
|
||||
|
Reference in New Issue
Block a user