[gnome-shell] dash: Reset show-apps label on drag-end
- From: Florian MÃllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] dash: Reset show-apps label on drag-end
- Date: Mon, 15 Oct 2012 21:22:48 +0000 (UTC)
commit cf58a7eafd1d8be1e903147b1a8f156acb484fc4
Author: Florian MÃllner <fmuellner gnome org>
Date: Mon Oct 8 20:33:21 2012 +0200
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 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/dash.js b/js/ui/dash.js
index dc08b68..b564aea 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);
},
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]