[gnome-shell-extensions] Stringify the xml definitions for E4X removal
- From: Tim Lunn <timl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell-extensions] Stringify the xml definitions for E4X removal
- Date: Fri, 25 Oct 2013 00:37:52 +0000 (UTC)
commit e73752118d30a9c17a6403036ea33d6eb0e70e55
Author: Tim Lunn <tim feathertop org>
Date: Fri Oct 25 10:57:03 2013 +1100
Stringify the xml definitions for E4X removal
https://bugzilla.gnome.org/show_bug.cgi?id=691409
extensions/places-menu/placeDisplay.js | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/extensions/places-menu/placeDisplay.js b/extensions/places-menu/placeDisplay.js
index a501494..043d8be 100644
--- a/extensions/places-menu/placeDisplay.js
+++ b/extensions/places-menu/placeDisplay.js
@@ -18,9 +18,11 @@ const Gettext = imports.gettext.domain('gnome-shell-extensions');
const _ = Gettext.gettext;
const N_ = function(x) { return x; }
-const Hostname1Iface = <interface name="org.freedesktop.hostname1">
-<property name="PrettyHostname" type="s" access="read" />
-</interface>;
+const Hostname1Iface = '<node> \
+<interface name="org.freedesktop.hostname1"> \
+<property name="PrettyHostname" type="s" access="read" /> \
+</interface> \
+</node>';
const Hostname1 = Gio.DBusProxy.makeProxyWrapper(Hostname1Iface);
const PlaceInfo = new Lang.Class({
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]