From 97e7ea0b5d7012fff6cf6bc171dd6acccfe18668 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Tue, 15 Nov 2011 16:46:17 -0500 Subject: [PATCH] shellDBus: Ignore extension properties that we don't care about --- js/ui/shellDBus.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/ui/shellDBus.js b/js/ui/shellDBus.js index 8fb51e1c1..6a0a82731 100644 --- a/js/ui/shellDBus.js +++ b/js/ui/shellDBus.js @@ -171,14 +171,14 @@ GnomeShell.prototype = { let val = meta[key]; let type; switch (typeof val) { - case 'object': - throw Error('Extension had a nested object in the metadata. This is not supported'); case 'string': type = 's'; break; case 'number': type = 'd'; break; + default: + continue; } out[key] = GLib.Variant.new(type, val); }