Bug#733122: fatal error: Typelib file for namespace 'GnomeBluetoothApplet' (any version) not found

Michael Biebl biebl at debian.org
Sun Jan 12 16:55:43 UTC 2014


Am 12.01.2014 17:47, schrieb Michael Biebl:
> In summary, the patch is not quite ready yet imho.

Hm, looking more closely, instead of moving the files around, it might
be better to use a try {} catch {} statement like we do for NM.

Robert, can you try the following patch:

--- a/js/ui/panel.js
+++ b/js/ui/panel.js
@@ -930,8 +930,12 @@ const PANEL_ITEM_IMPLEMENTATIONS = {
 };

 if (Config.HAVE_BLUETOOTH)
-    PANEL_ITEM_IMPLEMENTATIONS['bluetooth'] =
-        imports.ui.status.bluetooth.Indicator;
+    try {
+        PANEL_ITEM_IMPLEMENTATIONS['bluetooth'] =
+            imports.ui.status.bluetooth.Indicator;
+    } catch(e) {
+        log('Bluetooth is not supported.');
+    }

 if (Config.HAVE_NETWORKMANAGER) {
     try {


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 884 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20140112/c7c852bc/attachment.sig>


More information about the pkg-gnome-maintainers mailing list