dash: Reset show-apps label on drag-end
Currently the label for the show-apps button is only updated during drag operations, so after an item is successfully dropped on the button, the label will still read "Remove from Favorites". Fix this by resetting the label on drag-end. https://bugzilla.gnome.org/show_bug.cgi?id=684627
This commit is contained in:
parent
487749c25b
commit
cf58a7eafd
@ -446,6 +446,7 @@ const Dash = new Lang.Class({
|
|||||||
|
|
||||||
_endDrag: function() {
|
_endDrag: function() {
|
||||||
this._clearDragPlaceholder();
|
this._clearDragPlaceholder();
|
||||||
|
this._showAppsIcon.setDragApp(null);
|
||||||
DND.removeDragMonitor(this._dragMonitor);
|
DND.removeDragMonitor(this._dragMonitor);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user