From cf58a7eafd1d8be1e903147b1a8f156acb484fc4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Mon, 8 Oct 2012 20:33:21 +0200 Subject: [PATCH] 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 --- js/ui/dash.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/ui/dash.js b/js/ui/dash.js index dc08b68ab..b564aea8c 100644 --- a/js/ui/dash.js +++ b/js/ui/dash.js @@ -446,6 +446,7 @@ const Dash = new Lang.Class({ _endDrag: function() { this._clearDragPlaceholder(); + this._showAppsIcon.setDragApp(null); DND.removeDragMonitor(this._dragMonitor); },