[gnome-shell] power-status: Remove tooltip



commit deb7e7317ea30e012b075a017cd2d987b15c3c0c
Author: Florian Müllner <fmuellner gnome org>
Date:   Wed Nov 17 20:05:28 2010 +0100

    power-status: Remove tooltip
    
    Status icons should not have tooltips according to the design.

 js/ui/status/power.js |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/js/ui/status/power.js b/js/ui/status/power.js
index 2e02853..c09fd2f 100644
--- a/js/ui/status/power.js
+++ b/js/ui/status/power.js
@@ -50,7 +50,6 @@ const PowerManagerInterface = {
         ],
     properties: [
         { name: 'Icon', signature: 's', access: 'read' },
-        { name: 'Tooltip', signature: 's', access: 'read' },
         ]
 };
 let PowerManagerProxy = DBus.makeProxyClass(PowerManagerInterface);
@@ -159,9 +158,6 @@ Indicator.prototype = {
                 this.actor.hide();
             }
         }));
-        this._proxy.GetRemote('Tooltip', Lang.bind(this, function(tooltip) {
-            this.setTooltip(tooltip);
-        }));
         this._readPrimaryDevice();
         this._readOtherDevices();
     },



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]