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:
Florian Müllner 2012-10-08 20:33:21 +02:00
parent 487749c25b
commit cf58a7eafd

View File

@ -446,6 +446,7 @@ const Dash = new Lang.Class({
_endDrag: function() {
this._clearDragPlaceholder();
this._showAppsIcon.setDragApp(null);
DND.removeDragMonitor(this._dragMonitor);
},