diff --git a/js/extensionPrefs/main.js b/js/extensionPrefs/main.js index a30b46b30..80b8d5cda 100644 --- a/js/extensionPrefs/main.js +++ b/js/extensionPrefs/main.js @@ -14,15 +14,16 @@ const _ = Gettext.gettext; const Config = imports.misc.config; const ExtensionUtils = imports.misc.extensionUtils; -const GnomeShellIface = ' \ - \ - \ - \ - \ - \ - \ - \ -'; +const GnomeShellIface = ` + + + + + + + + +`; const GnomeShellProxy = Gio.DBusProxy.makeProxyWrapper(GnomeShellIface); diff --git a/js/gdm/fingerprint.js b/js/gdm/fingerprint.js index 2aeb377ce..91025b962 100644 --- a/js/gdm/fingerprint.js +++ b/js/gdm/fingerprint.js @@ -5,13 +5,14 @@ const Lang = imports.lang; const Shell = imports.gi.Shell; const Signals = imports.signals; -const FprintManagerIface = ' \ - \ - \ - \ - \ - \ -'; +const FprintManagerIface = ` + + + + + + +`; const FprintManagerInfo = Gio.DBusInterfaceInfo.new_for_xml(FprintManagerIface); diff --git a/js/gdm/oVirt.js b/js/gdm/oVirt.js index 8a6a545ec..8194c2075 100644 --- a/js/gdm/oVirt.js +++ b/js/gdm/oVirt.js @@ -4,13 +4,13 @@ const Gio = imports.gi.Gio; const Lang = imports.lang; const Signals = imports.signals; -const OVirtCredentialsIface = ' \ - \ - \ - \ - \ - \ -'; +const OVirtCredentialsIface =` + + + + + +`; const OVirtCredentialsInfo = Gio.DBusInterfaceInfo.new_for_xml(OVirtCredentialsIface); diff --git a/js/gdm/realmd.js b/js/gdm/realmd.js index 9aa27d928..ae87aa193 100644 --- a/js/gdm/realmd.js +++ b/js/gdm/realmd.js @@ -5,58 +5,61 @@ const Lang = imports.lang; const Shell = imports.gi.Shell; const Signals = imports.signals; -const ProviderIface = ' \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ -'; +const ProviderIface = ` + + + + + + + + + + + + +`; const Provider = Gio.DBusProxy.makeProxyWrapper(ProviderIface); -const ServiceIface = ' \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ -'; +const ServiceIface = ` + + + + + + + + + + + + + + +`; const Service = Gio.DBusProxy.makeProxyWrapper(ServiceIface); -const RealmIface = ' \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ -'; +const RealmIface = ` + + + + + + + + + + + + + + + + + + + +`; const Realm = Gio.DBusProxy.makeProxyWrapper(RealmIface); var Manager = new Lang.Class({ diff --git a/js/misc/gnomeSession.js b/js/misc/gnomeSession.js index 4c5d7f2a9..15a22023b 100644 --- a/js/misc/gnomeSession.js +++ b/js/misc/gnomeSession.js @@ -4,17 +4,18 @@ const Gio = imports.gi.Gio; const Lang = imports.lang; const Signals = imports.signals; -const PresenceIface = ' \ - \ - \ - \ - \ - \ - \ - \ - \ - \ -'; +const PresenceIface = ` + + + + + + + + + + +`; var PresenceStatus = { AVAILABLE: 0, @@ -32,16 +33,17 @@ function Presence(initCallback, cancellable) { // Note inhibitors are immutable objects, so they don't // change at runtime (changes always come in the form // of new inhibitors) -const InhibitorIface = ' \ - \ - \ - \ - \ - \ - \ - \ - \ -'; +const InhibitorIface = ` + + + + + + + + + +`; var InhibitorProxy = Gio.DBusProxy.makeProxyWrapper(InhibitorIface); function Inhibitor(objectPath, initCallback, cancellable) { @@ -49,29 +51,30 @@ function Inhibitor(objectPath, initCallback, cancellable) { } // Not the full interface, only the methods we use -const SessionManagerIface = ' \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ -'; +const SessionManagerIface = ` + + + + + + + + + + + + + + + + + + + + + + +`; var SessionManagerProxy = Gio.DBusProxy.makeProxyWrapper(SessionManagerIface); function SessionManager(initCallback, cancellable) { diff --git a/js/misc/loginManager.js b/js/misc/loginManager.js index ccda382ff..b5891a383 100644 --- a/js/misc/loginManager.js +++ b/js/misc/loginManager.js @@ -7,53 +7,56 @@ const Mainloop = imports.mainloop; const Shell = imports.gi.Shell; const Signals = imports.signals; -const SystemdLoginManagerIface = ' \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ -'; +const SystemdLoginManagerIface = ` + + + + + + + + + + + + + + + + + + + + + + + + + + +`; -const SystemdLoginSessionIface = ' \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ -'; +const SystemdLoginSessionIface = ` + + + + + + + + + + + +`; -const SystemdLoginUserIface = ' \ - \ - \ - \ - \ -'; +const SystemdLoginUserIface = ` + + + + + +`; const SystemdLoginManager = Gio.DBusProxy.makeProxyWrapper(SystemdLoginManagerIface); const SystemdLoginSession = Gio.DBusProxy.makeProxyWrapper(SystemdLoginSessionIface); diff --git a/js/misc/modemManager.js b/js/misc/modemManager.js index 7ef265a28..c47393781 100644 --- a/js/misc/modemManager.js +++ b/js/misc/modemManager.js @@ -92,41 +92,43 @@ function _findProviderForSid(sid) { // The following are not the complete interfaces, just the methods we need // (or may need in the future) -const ModemGsmNetworkInterface = ' \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ -'; +const ModemGsmNetworkInterface = ` + + + + + + + + + + + + + + + + + + +`; const ModemGsmNetworkProxy = Gio.DBusProxy.makeProxyWrapper(ModemGsmNetworkInterface); -const ModemCdmaInterface = ' \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ -'; +const ModemCdmaInterface = ` + + + + + + + + + + + + +`; const ModemCdmaProxy = Gio.DBusProxy.makeProxyWrapper(ModemCdmaInterface); @@ -222,26 +224,29 @@ Signals.addSignalMethods(ModemCdma.prototype); // Support for the new ModemManager1 interface (MM >= 0.7) //------------------------------------------------------------------------------ -const BroadbandModemInterface = ' \ - \ - \ - \ -'; +const BroadbandModemInterface = ` + + + + +`; const BroadbandModemProxy = Gio.DBusProxy.makeProxyWrapper(BroadbandModemInterface); -const BroadbandModem3gppInterface = ' \ - \ - \ - \ - \ -'; +const BroadbandModem3gppInterface = ` + + + + + +`; const BroadbandModem3gppProxy = Gio.DBusProxy.makeProxyWrapper(BroadbandModem3gppInterface); -const BroadbandModemCdmaInterface = ' \ - \ - \ - \ -'; +const BroadbandModemCdmaInterface = ` + + + + +`; const BroadbandModemCdmaProxy = Gio.DBusProxy.makeProxyWrapper(BroadbandModemCdmaInterface); var BroadbandModem = new Lang.Class({ diff --git a/js/misc/objectManager.js b/js/misc/objectManager.js index 1ce4f8342..efe669ba3 100644 --- a/js/misc/objectManager.js +++ b/js/misc/objectManager.js @@ -8,21 +8,22 @@ const Signals = imports.signals; // Specified in the D-Bus specification here: // http://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-objectmanager -const ObjectManagerIface = ' \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ -'; +const ObjectManagerIface = ` + + + + + + + + + + + + + + +`; const ObjectManagerInfo = Gio.DBusInterfaceInfo.new_for_xml(ObjectManagerIface); diff --git a/js/misc/permissionStore.js b/js/misc/permissionStore.js index 86c0cd820..6126e1fe4 100644 --- a/js/misc/permissionStore.js +++ b/js/misc/permissionStore.js @@ -2,30 +2,31 @@ const Gio = imports.gi.Gio; -const PermissionStoreIface = ' \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ -'; +const PermissionStoreIface = ` + + + + + + + + + + + + + + + + + + + + + + + +`; const PermissionStoreProxy = Gio.DBusProxy.makeProxyWrapper(PermissionStoreIface); diff --git a/js/misc/smartcardManager.js b/js/misc/smartcardManager.js index 60808b371..51d2ea9cc 100644 --- a/js/misc/smartcardManager.js +++ b/js/misc/smartcardManager.js @@ -7,14 +7,15 @@ const Signals = imports.signals; const ObjectManager = imports.misc.objectManager; -const SmartcardTokenIface = ' \ - \ - \ - \ - \ - \ - \ -'; +const SmartcardTokenIface = ` + + + + + + + +`; let _smartcardManager = null; diff --git a/js/misc/systemActions.js b/js/misc/systemActions.js index bf8b4607f..434dd9555 100644 --- a/js/misc/systemActions.js +++ b/js/misc/systemActions.js @@ -22,11 +22,12 @@ const ALWAYS_SHOW_LOG_OUT_KEY = 'always-show-log-out'; const SENSOR_BUS_NAME = 'net.hadess.SensorProxy'; const SENSOR_OBJECT_PATH = '/net/hadess/SensorProxy'; -const SensorProxyInterface = ' \ - \ - \ - \ -'; +const SensorProxyInterface = ` + + + + +`; const POWER_OFF_ACTION_ID = 'power-off'; const LOCK_SCREEN_ACTION_ID = 'lock-screen'; diff --git a/js/portalHelper/main.js b/js/portalHelper/main.js index 838af46e9..e112f820f 100644 --- a/js/portalHelper/main.js +++ b/js/portalHelper/main.js @@ -30,25 +30,26 @@ const CONNECTIVITY_CHECK_HOST = 'nmcheck.gnome.org'; const CONNECTIVITY_CHECK_URI = 'http://' + CONNECTIVITY_CHECK_HOST; const CONNECTIVITY_RECHECK_RATELIMIT_TIMEOUT = 30 * GLib.USEC_PER_SEC; -const HelperDBusInterface = ' \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ -'; +const HelperDBusInterface = ` + + + + + + + + + + + + + + + + + + +`; var PortalHeaderBar = new Lang.Class({ Name: 'PortalHeaderBar', diff --git a/js/ui/accessDialog.js b/js/ui/accessDialog.js index 1bd9004e5..bb59ee5ce 100644 --- a/js/ui/accessDialog.js +++ b/js/ui/accessDialog.js @@ -10,27 +10,29 @@ const CheckBox = imports.ui.checkBox; const Dialog = imports.ui.dialog; const ModalDialog = imports.ui.modalDialog; -const RequestIface = ' \ - \ - \ - \ -'; +const RequestIface = ` + + + + +`; -const AccessIface = ' \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ -'; +const AccessIface = ` + + + + + + + + + + + + + + +`; var DialogResponse = { OK: 0, diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js index 785b9f764..623dc6f38 100644 --- a/js/ui/appDisplay.js +++ b/js/ui/appDisplay.js @@ -66,11 +66,12 @@ var PAGE_SWITCH_TIME = 0.3; const SWITCHEROO_BUS_NAME = 'net.hadess.SwitcherooControl'; const SWITCHEROO_OBJECT_PATH = '/net/hadess/SwitcherooControl'; -const SwitcherooProxyInterface = ' \ - \ - \ - \ -'; +const SwitcherooProxyInterface = ` + + + + +`; const SwitcherooProxy = Gio.DBusProxy.makeProxyWrapper(SwitcherooProxyInterface); let discreteGpuAvailable = false; diff --git a/js/ui/audioDeviceSelection.js b/js/ui/audioDeviceSelection.js index de8af09b6..8010ec12c 100644 --- a/js/ui/audioDeviceSelection.js +++ b/js/ui/audioDeviceSelection.js @@ -15,18 +15,19 @@ var AudioDevice = { MICROPHONE: 1 << 2 }; -const AudioDeviceSelectionIface = ' \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ -'; +const AudioDeviceSelectionIface = ` + + + + + + + + + + + +`; var AudioDeviceSelectionDialog = new Lang.Class({ Name: 'AudioDeviceSelectionDialog', diff --git a/js/ui/calendar.js b/js/ui/calendar.js index 651aac610..990cac243 100644 --- a/js/ui/calendar.js +++ b/js/ui/calendar.js @@ -134,18 +134,19 @@ var EmptyEventSource = new Lang.Class({ }); Signals.addSignalMethods(EmptyEventSource.prototype); -const CalendarServerIface = ' \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ -'; +const CalendarServerIface = ` + + + + + + + + + + + +`; const CalendarServerInfo = Gio.DBusInterfaceInfo.new_for_xml(CalendarServerIface); diff --git a/js/ui/components/autorunManager.js b/js/ui/components/autorunManager.js index bbd732876..37c774c53 100644 --- a/js/ui/components/autorunManager.js +++ b/js/ui/components/autorunManager.js @@ -74,14 +74,15 @@ function startAppForMount(app, mount) { /******************************************/ -const HotplugSnifferIface = ' \ - \ - \ - \ - \ - \ - \ -'; +const HotplugSnifferIface = ` + + + + + + + +`; const HotplugSnifferProxy = Gio.DBusProxy.makeProxyWrapper(HotplugSnifferIface); function HotplugSniffer() { diff --git a/js/ui/endSessionDialog.js b/js/ui/endSessionDialog.js index 5491fbb19..a6b928ce2 100644 --- a/js/ui/endSessionDialog.js +++ b/js/ui/endSessionDialog.js @@ -43,22 +43,23 @@ const _DIALOG_ICON_SIZE = 48; var GSM_SESSION_MANAGER_LOGOUT_FORCE = 2; -const EndSessionDialogIface = ' \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ -'; +const EndSessionDialogIface = ` + + + + + + + + + + + + + + + +`; const logoutDialogContent = { subjectWithUser: C_("title", "Log Out %s"), @@ -168,39 +169,42 @@ const DialogContent = { var MAX_USERS_IN_SESSION_DIALOG = 5; -const LogindSessionIface = ' \ - \ - \ - \ - \ - \ - \ - \ -'; +const LogindSessionIface = ` + + + + + + + + +`; const LogindSession = Gio.DBusProxy.makeProxyWrapper(LogindSessionIface); -const PkOfflineIface = ' \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ -'; +const PkOfflineIface = ` + + + + + + + + + + + + +`; const PkOfflineProxy = Gio.DBusProxy.makeProxyWrapper(PkOfflineIface); -const UPowerIface = ' \ - \ - \ - \ -'; +const UPowerIface = ` + + + + +`; const UPowerProxy = Gio.DBusProxy.makeProxyWrapper(UPowerIface); diff --git a/js/ui/magnifierDBus.js b/js/ui/magnifierDBus.js index cf8b43098..c796d0735 100644 --- a/js/ui/magnifierDBus.js +++ b/js/ui/magnifierDBus.js @@ -9,89 +9,91 @@ const ZOOM_SERVICE_PATH = '/org/gnome/Magnifier/ZoomRegion'; // Subset of gnome-mag's Magnifier dbus interface -- to be expanded. See: // http://git.gnome.org/browse/gnome-mag/tree/xml/...Magnifier.xml -const MagnifierIface = ' \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ -'; +const MagnifierIface = ` + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +`; // Subset of gnome-mag's ZoomRegion dbus interface -- to be expanded. See: // http://git.gnome.org/browse/gnome-mag/tree/xml/...ZoomRegion.xml -const ZoomRegionIface = ' \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ -'; +const ZoomRegionIface = ` + + + + + + + + + + + + + + + + + + + + + + + + + +`; // For making unique ZoomRegion DBus proxy object paths of the form: // '/org/gnome/Magnifier/ZoomRegion/zoomer0', diff --git a/js/ui/mpris.js b/js/ui/mpris.js index 2e80e995d..a3b369ce2 100644 --- a/js/ui/mpris.js +++ b/js/ui/mpris.js @@ -8,41 +8,44 @@ const Calendar = imports.ui.calendar; const Main = imports.ui.main; const MessageList = imports.ui.messageList; -const DBusIface = ' \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ -'; +const DBusIface = ` + + + + + + + + + + + +`; const DBusProxy = Gio.DBusProxy.makeProxyWrapper(DBusIface); -const MprisIface = ' \ - \ - \ - \ - \ - \ -'; +const MprisIface = ` + + + + + + +`; const MprisProxy = Gio.DBusProxy.makeProxyWrapper(MprisIface); -const MprisPlayerIface = ' \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ -'; +const MprisPlayerIface = ` + + + + + + + + + + + +`; const MprisPlayerProxy = Gio.DBusProxy.makeProxyWrapper(MprisPlayerIface); const MPRIS_PLAYER_PREFIX = 'org.mpris.MediaPlayer2.'; diff --git a/js/ui/notificationDaemon.js b/js/ui/notificationDaemon.js index 2b5a453c7..19d23da14 100644 --- a/js/ui/notificationDaemon.js +++ b/js/ui/notificationDaemon.js @@ -17,55 +17,57 @@ const Params = imports.misc.params; const Util = imports.misc.util; // Should really be defined in Gio.js -const BusIface = ' \ - \ - \ - \ - \ - \ - \ -'; +const BusIface = ` + + + + + + + +`; var BusProxy = Gio.DBusProxy.makeProxyWrapper(BusIface); function Bus() { return new BusProxy(Gio.DBus.session, 'org.freedesktop.DBus', '/org/freedesktop/DBus'); } -const FdoNotificationsIface = ' \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ -'; +const FdoNotificationsIface = ` + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +`; var NotificationClosedReason = { EXPIRED: 1, @@ -654,18 +656,19 @@ var GtkNotificationDaemonNotification = new Lang.Class({ }, }); -const FdoApplicationIface = ' \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ -'; +const FdoApplicationIface = ` + + + + + + + + + + + +`; const FdoApplicationProxy = Gio.DBusProxy.makeProxyWrapper(FdoApplicationIface); function objectPathFromAppId(appId) { @@ -774,19 +777,20 @@ var GtkNotificationDaemonAppSource = new Lang.Class({ }, }); -const GtkNotificationsIface = ' \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ -'; +const GtkNotificationsIface = ` + + + + + + + + + + + + +`; var GtkNotificationDaemon = new Lang.Class({ Name: 'GtkNotificationDaemon', diff --git a/js/ui/padOsd.js b/js/ui/padOsd.js index 8ef20b67b..76321f5f5 100644 --- a/js/ui/padOsd.js +++ b/js/ui/padOsd.js @@ -962,14 +962,15 @@ var PadOsd = new Lang.Class({ }); Signals.addSignalMethods(PadOsd.prototype); -const PadOsdIface = ' \ - \ - \ - \ - \ - \ - \ -'; +const PadOsdIface = ` + + + + + + + +`; var PadOsdService = new Lang.Class({ Name: 'PadOsdService', diff --git a/js/ui/remoteSearch.js b/js/ui/remoteSearch.js index c6c5a29ca..3b847af5b 100644 --- a/js/ui/remoteSearch.js +++ b/js/ui/remoteSearch.js @@ -12,53 +12,55 @@ const Search = imports.ui.search; const KEY_FILE_GROUP = 'Shell Search Provider'; -const SearchProviderIface = ' \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ -'; +const SearchProviderIface = ` + + + + + + + + + + + + + + + + + + + +`; -const SearchProvider2Iface = ' \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ -'; +const SearchProvider2Iface = ` + + + + + + + + + + + + + + + + + + + + + + + + + +`; var SearchProviderProxyInfo = Gio.DBusInterfaceInfo.new_for_xml(SearchProviderIface); var SearchProvider2ProxyInfo = Gio.DBusInterfaceInfo.new_for_xml(SearchProvider2Iface); diff --git a/js/ui/screencast.js b/js/ui/screencast.js index bf5d954c8..91514e3a0 100644 --- a/js/ui/screencast.js +++ b/js/ui/screencast.js @@ -8,29 +8,30 @@ const Signals = imports.signals; const Main = imports.ui.main; -const ScreencastIface = ' \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ -'; +const ScreencastIface = ` + + + + + + + + + + + + + + + + + + + + + + +`; var ScreencastService = new Lang.Class({ Name: 'ScreencastService', diff --git a/js/ui/screenshot.js b/js/ui/screenshot.js index 356a8ccfa..653454256 100644 --- a/js/ui/screenshot.js +++ b/js/ui/screenshot.js @@ -16,50 +16,51 @@ const Lightbox = imports.ui.lightbox; const Main = imports.ui.main; const Tweener = imports.ui.tweener; -const ScreenshotIface = ' \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ -'; +const ScreenshotIface = ` + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +`; var ScreenshotService = new Lang.Class({ Name: 'ScreenshotService', diff --git a/js/ui/scripting.js b/js/ui/scripting.js index c96ebd1f9..b325eb10d 100644 --- a/js/ui/scripting.js +++ b/js/ui/scripting.js @@ -68,19 +68,20 @@ function waitLeisure() { return callback => { cb = callback; }; } -const PerfHelperIface = ' \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ -'; +const PerfHelperIface = ` + + + + + + + + + + + + +`; var PerfHelperProxy = Gio.DBusProxy.makeProxyWrapper(PerfHelperIface); function PerfHelper() { diff --git a/js/ui/shellDBus.js b/js/ui/shellDBus.js index 4d60ef45b..871fe9924 100644 --- a/js/ui/shellDBus.js +++ b/js/ui/shellDBus.js @@ -14,70 +14,72 @@ const Main = imports.ui.main; const Screenshot = imports.ui.screenshot; const ViewSelector = imports.ui.viewSelector; -const GnomeShellIface = ' \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ -'; +const GnomeShellIface = ` + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +`; -const ScreenSaverIface = ' \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ -'; +const ScreenSaverIface = ` + + + + + + + + + + + + + + + + + + +`; var GnomeShell = new Lang.Class({ Name: 'GnomeShellDBus', @@ -293,43 +295,44 @@ var GnomeShell = new Lang.Class({ ShellVersion: Config.PACKAGE_VERSION }); -const GnomeShellExtensionsIface = ' \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ -'; +const GnomeShellExtensionsIface = ` + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +`; var GnomeShellExtensions = new Lang.Class({ Name: 'GnomeShellExtensionsDBus', diff --git a/js/ui/shellMountOperation.js b/js/ui/shellMountOperation.js index dee7799e3..9be0a4650 100644 --- a/js/ui/shellMountOperation.js +++ b/js/ui/shellMountOperation.js @@ -436,38 +436,39 @@ var ShellProcessesDialog = new Lang.Class({ }); Signals.addSignalMethods(ShellProcessesDialog.prototype); -const GnomeShellMountOpIface = ' \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ -'; +const GnomeShellMountOpIface = ` + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +`; var ShellMountOperationType = { NONE: 0, diff --git a/js/ui/status/bluetooth.js b/js/ui/status/bluetooth.js index 7ffc8f767..c81f8362e 100644 --- a/js/ui/status/bluetooth.js +++ b/js/ui/status/bluetooth.js @@ -11,13 +11,14 @@ const PopupMenu = imports.ui.popupMenu; const BUS_NAME = 'org.gnome.SettingsDaemon.Rfkill'; const OBJECT_PATH = '/org/gnome/SettingsDaemon/Rfkill'; -const RfkillManagerInterface = ' \ - \ - \ - \ - \ - \ -'; +const RfkillManagerInterface = ` + + + + + + +`; const RfkillManagerProxy = Gio.DBusProxy.makeProxyWrapper(RfkillManagerInterface); diff --git a/js/ui/status/brightness.js b/js/ui/status/brightness.js index 55c5b0f34..50640d2db 100644 --- a/js/ui/status/brightness.js +++ b/js/ui/status/brightness.js @@ -11,11 +11,12 @@ const Slider = imports.ui.slider; const BUS_NAME = 'org.gnome.SettingsDaemon.Power'; const OBJECT_PATH = '/org/gnome/SettingsDaemon/Power'; -const BrightnessInterface = ' \ - \ - \ - \ -'; +const BrightnessInterface = ` + + + + +`; const BrightnessProxy = Gio.DBusProxy.makeProxyWrapper(BrightnessInterface); diff --git a/js/ui/status/location.js b/js/ui/status/location.js index e59a50397..b5d6c7dd3 100644 --- a/js/ui/status/location.js +++ b/js/ui/status/location.js @@ -40,29 +40,31 @@ function accuracyLevelToString(accuracyLevel) { return 'NONE'; } -var GeoclueIface = ' \ - \ - \ - \ - \ - \ - \ - \ -'; +var GeoclueIface = ` + + + + + + + + +`; const GeoclueManager = Gio.DBusProxy.makeProxyWrapper(GeoclueIface); -var AgentIface = ' \ - \ - \ - \ - \ - \ - \ - \ - \ - \ -'; +var AgentIface = ` + + + + + + + + + + +`; var Indicator = new Lang.Class({ Name: 'LocationIndicator', diff --git a/js/ui/status/network.js b/js/ui/status/network.js index bf3a2bac6..3e3d0d1d2 100644 --- a/js/ui/status/network.js +++ b/js/ui/status/network.js @@ -51,25 +51,26 @@ var PortalHelperResult = { RECHECK: 2 }; -const PortalHelperIface = ' \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ -'; +const PortalHelperIface = ` + + + + + + + + + + + + + + + + + + +`; const PortalHelperProxy = Gio.DBusProxy.makeProxyWrapper(PortalHelperIface); function signalToIcon(value) { diff --git a/js/ui/status/nightLight.js b/js/ui/status/nightLight.js index f2523b5f3..f369d3df2 100644 --- a/js/ui/status/nightLight.js +++ b/js/ui/status/nightLight.js @@ -10,12 +10,13 @@ const PopupMenu = imports.ui.popupMenu; const BUS_NAME = 'org.gnome.SettingsDaemon.Color'; const OBJECT_PATH = '/org/gnome/SettingsDaemon/Color'; -const ColorInterface = ' \ - \ - \ - \ - \ -'; +const ColorInterface = ` + + + + + +`; const ColorProxy = Gio.DBusProxy.makeProxyWrapper(ColorInterface); diff --git a/js/ui/status/power.js b/js/ui/status/power.js index a2bfd75a0..cf57d8cf1 100644 --- a/js/ui/status/power.js +++ b/js/ui/status/power.js @@ -13,17 +13,18 @@ const PopupMenu = imports.ui.popupMenu; const BUS_NAME = 'org.freedesktop.UPower'; const OBJECT_PATH = '/org/freedesktop/UPower/devices/DisplayDevice'; -const DisplayDeviceInterface = ' \ - \ - \ - \ - \ - \ - \ - \ - \ - \ -'; +const DisplayDeviceInterface = ` + + + + + + + + + + +`; const PowerManagerProxy = Gio.DBusProxy.makeProxyWrapper(DisplayDeviceInterface); diff --git a/js/ui/status/rfkill.js b/js/ui/status/rfkill.js index 989a4f9ed..ecc874596 100644 --- a/js/ui/status/rfkill.js +++ b/js/ui/status/rfkill.js @@ -11,13 +11,14 @@ const PopupMenu = imports.ui.popupMenu; const BUS_NAME = 'org.gnome.SettingsDaemon.Rfkill'; const OBJECT_PATH = '/org/gnome/SettingsDaemon/Rfkill'; -const RfkillManagerInterface = ' \ - \ - \ - \ - \ - \ -'; +const RfkillManagerInterface = ` + + + + + + +`; const RfkillManagerProxy = Gio.DBusProxy.makeProxyWrapper(RfkillManagerInterface); diff --git a/js/ui/status/thunderbolt.js b/js/ui/status/thunderbolt.js index 0c543190c..efb401a16 100644 --- a/js/ui/status/thunderbolt.js +++ b/js/ui/status/thunderbolt.js @@ -14,40 +14,42 @@ const PanelMenu = imports.ui.panelMenu; /* Keep in sync with data/org.freedesktop.bolt.xml */ -const BoltClientInterface = ' \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ -'; +const BoltClientInterface = ` + + + + + + + + + + + + + + +`; -const BoltDeviceInterface = ' \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ -'; +const BoltDeviceInterface = ` + + + + + + + + + + + + + + + + + +`; const BoltDeviceProxy = Gio.DBusProxy.makeProxyWrapper(BoltDeviceInterface); diff --git a/js/ui/windowManager.js b/js/ui/windowManager.js index 36d8a9fb5..b6627e253 100644 --- a/js/ui/windowManager.js +++ b/js/ui/windowManager.js @@ -42,19 +42,20 @@ var ONE_SECOND = 1000; // in ms const GSD_WACOM_BUS_NAME = 'org.gnome.SettingsDaemon.Wacom'; const GSD_WACOM_OBJECT_PATH = '/org/gnome/SettingsDaemon/Wacom'; -const GsdWacomIface = ' \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ -'; +const GsdWacomIface = ` + + + + + + + + + + + + +`; const GsdWacomProxy = Gio.DBusProxy.makeProxyWrapper(GsdWacomIface);