[gnome-shell] bluetooth: remove weird "Agent" word from notification (close #637687)



commit 940f06fb3243fdf144fa6c59fe0346fb1f4446ec
Author: Luca Ferretti <lferrett gnome org>
Date:   Wed Feb 9 23:08:02 2011 +0100

    bluetooth: remove weird "Agent" word from notification (close #637687)
    
    Agents are an implementation detail of Bluetooth on Linux (it's actually
    a D-Bus "agent", not a Bluetooth one anyway). Only "Bluetooth" is fine.

 js/ui/status/bluetooth.js |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/js/ui/status/bluetooth.js b/js/ui/status/bluetooth.js
index 2220d25..2926f97 100644
--- a/js/ui/status/bluetooth.js
+++ b/js/ui/status/bluetooth.js
@@ -334,7 +334,7 @@ Source.prototype = {
     __proto__: MessageTray.Source.prototype,
 
     _init: function() {
-        MessageTray.Source.prototype._init.call(this, _("Bluetooth Agent"));
+        MessageTray.Source.prototype._init.call(this, _("Bluetooth"));
 
         this._setSummaryIcon(this.createNotificationIcon());
     },
@@ -368,7 +368,7 @@ AuthNotification.prototype = {
     _init: function(source, applet, device_path, name, long_name, uuid) {
         MessageTray.Notification.prototype._init.call(this,
                                                       source,
-                                                      _("Bluetooth Agent"),
+                                                      _("Bluetooth"),
                                                       _("Authorization request from %s").format(name),
                                                       { customContent: true });
         this.setResident(true);
@@ -408,7 +408,7 @@ ConfirmNotification.prototype = {
     _init: function(source, applet, device_path, name, long_name, pin) {
         MessageTray.Notification.prototype._init.call(this,
                                                       source,
-                                                      _("Bluetooth Agent"),
+                                                      _("Bluetooth"),
                                                       _("Pairing confirmation for %s").format(name),
                                                       { customContent: true });
         this.setResident(true);
@@ -441,7 +441,7 @@ PinNotification.prototype = {
     _init: function(source, applet, device_path, name, long_name, numeric) {
         MessageTray.Notification.prototype._init.call(this,
                                                       source,
-                                                      _("Bluetooth Agent"),
+                                                      _("Bluetooth"),
                                                       _("Pairing request for %s").format(name),
                                                       { customContent: true });
         this.setResident(true);



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