diff --git a/js/extensionPrefs/main.js b/js/extensionPrefs/main.js index 683fcc36f..8e3355d70 100644 --- a/js/extensionPrefs/main.js +++ b/js/extensionPrefs/main.js @@ -13,13 +13,15 @@ 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 41b6b35bc..bce0bc6a7 100644 --- a/js/gdm/fingerprint.js +++ b/js/gdm/fingerprint.js @@ -5,11 +5,13 @@ 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 1a31f4329..33d0b9559 100644 --- a/js/gdm/oVirt.js +++ b/js/gdm/oVirt.js @@ -4,11 +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 78c94b4be..ac83684a2 100644 --- a/js/gdm/realmd.js +++ b/js/gdm/realmd.js @@ -5,52 +5,58 @@ 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); const Manager = new Lang.Class({ diff --git a/js/misc/gnomeSession.js b/js/misc/gnomeSession.js index a31347515..6cf986c90 100644 --- a/js/misc/gnomeSession.js +++ b/js/misc/gnomeSession.js @@ -4,15 +4,17 @@ const Gio = imports.gi.Gio; const Lang = imports.lang; const Signals = imports.signals; -const PresenceIface = - - - - - - - -; +const PresenceIface = ' \ + \ + \ + \ + \ + \ + \ + \ + \ + \ +'; const PresenceStatus = { AVAILABLE: 0, @@ -30,14 +32,16 @@ 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) { @@ -45,27 +49,29 @@ 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 4b0fd0622..ae87a5509 100644 --- a/js/misc/loginManager.js +++ b/js/misc/loginManager.js @@ -7,58 +7,66 @@ const Mainloop = imports.mainloop; const Shell = imports.gi.Shell; const Signals = imports.signals; -const SystemdLoginManagerIface = - - - - - - - - - - - - - - - - - - - - - - - -; +const SystemdLoginManagerIface = ' \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ +'; -const SystemdLoginSessionIface = - - -; +const SystemdLoginSessionIface = ' \ + \ + \ + \ + \ +'; const SystemdLoginManager = Gio.DBusProxy.makeProxyWrapper(SystemdLoginManagerIface); const SystemdLoginSession = Gio.DBusProxy.makeProxyWrapper(SystemdLoginSessionIface); -const ConsoleKitManagerIface = - - - - - - - - - - - -; +const ConsoleKitManagerIface = ' \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ +'; -const ConsoleKitSessionIface = - - -; +const ConsoleKitSessionIface = ' \ + \ + \ + \ + \ +'; const ConsoleKitSession = Gio.DBusProxy.makeProxyWrapper(ConsoleKitSessionIface); const ConsoleKitManager = Gio.DBusProxy.makeProxyWrapper(ConsoleKitManagerIface); diff --git a/js/misc/modemManager.js b/js/misc/modemManager.js index d9880aae5..fb6514e63 100644 --- a/js/misc/modemManager.js +++ b/js/misc/modemManager.js @@ -92,37 +92,41 @@ 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); @@ -218,20 +222,26 @@ 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); const BroadbandModem = new Lang.Class({ diff --git a/js/misc/objectManager.js b/js/misc/objectManager.js index 0782bf026..225204347 100644 --- a/js/misc/objectManager.js +++ b/js/misc/objectManager.js @@ -8,19 +8,21 @@ 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/smartcardManager.js b/js/misc/smartcardManager.js index 644b033b2..674efc9ad 100644 --- a/js/misc/smartcardManager.js +++ b/js/misc/smartcardManager.js @@ -7,12 +7,14 @@ const Signals = imports.signals; const ObjectManager = imports.misc.objectManager; -const SmartcardTokenIface = - - - - -; +const SmartcardTokenIface = ' \ + \ + \ + \ + \ + \ + \ +'; let _smartcardManager = null; diff --git a/js/ui/calendar.js b/js/ui/calendar.js index 75dcbb609..58169287c 100644 --- a/js/ui/calendar.js +++ b/js/ui/calendar.js @@ -190,16 +190,18 @@ const 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 2667c02d3..c58fa2e0d 100644 --- a/js/ui/components/autorunManager.js +++ b/js/ui/components/autorunManager.js @@ -75,12 +75,14 @@ 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 049fe5f31..457b319bf 100644 --- a/js/ui/endSessionDialog.js +++ b/js/ui/endSessionDialog.js @@ -43,20 +43,22 @@ const _DIALOG_ICON_SIZE = 32; const GSM_SESSION_MANAGER_LOGOUT_FORCE = 2; -const EndSessionDialogIface = - - - - - - - - - - - - -; +const EndSessionDialogIface = ' \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ +'; const logoutDialogContent = { subjectWithUser: C_("title", "Log Out %s"), @@ -131,13 +133,15 @@ const DialogContent = { const MAX_USERS_IN_SESSION_DIALOG = 5; -const LogindSessionIface = - - - - - -; +const LogindSessionIface = ' \ + \ + \ + \ + \ + \ + \ + \ +'; const LogindSession = Gio.DBusProxy.makeProxyWrapper(LogindSessionIface); diff --git a/js/ui/keyboard.js b/js/ui/keyboard.js index 3201249d9..ac249dfea 100644 --- a/js/ui/keyboard.js +++ b/js/ui/keyboard.js @@ -23,27 +23,29 @@ const KEYBOARD_TYPE = 'keyboard-type'; const A11Y_APPLICATIONS_SCHEMA = 'org.gnome.desktop.a11y.applications'; const SHOW_KEYBOARD = 'screen-keyboard-enabled'; -const CaribouKeyboardIface = - - - - - - - - - - - - - - - - - - - -; +const CaribouKeyboardIface = ' \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ +'; const Key = new Lang.Class({ Name: 'Key', diff --git a/js/ui/magnifierDBus.js b/js/ui/magnifierDBus.js index ac710ff1f..e508d79d7 100644 --- a/js/ui/magnifierDBus.js +++ b/js/ui/magnifierDBus.js @@ -9,85 +9,89 @@ 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/notificationDaemon.js b/js/ui/notificationDaemon.js index d08f49dc4..ddd390b5d 100644 --- a/js/ui/notificationDaemon.js +++ b/js/ui/notificationDaemon.js @@ -16,51 +16,55 @@ 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 = ' \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ +'; const NotificationClosedReason = { EXPIRED: 1, @@ -767,16 +771,18 @@ const GtkNotificationDaemonNotification = new Lang.Class({ }, }); -const FdoApplicationIface = - - - - - - - - -; +const FdoApplicationIface = ' \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ +'; const FdoApplicationProxy = Gio.DBusProxy.makeProxyWrapper(FdoApplicationIface); function objectPathFromAppId(appId) { @@ -860,17 +866,19 @@ const GtkNotificationDaemonAppSource = new Lang.Class({ }, }); -const GtkNotificationsIface = - - - - - - - - - -; +const GtkNotificationsIface = ' \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ +'; const GtkNotificationDaemon = new Lang.Class({ Name: 'GtkNotificationDaemon', diff --git a/js/ui/remoteSearch.js b/js/ui/remoteSearch.js index f48a37fa5..372ccd4c7 100644 --- a/js/ui/remoteSearch.js +++ b/js/ui/remoteSearch.js @@ -11,49 +11,53 @@ const Search = imports.ui.search; const KEY_FILE_GROUP = 'Shell Search Provider'; -const SearchProviderIface = - - - - - - - - - - - - - - - - -; +const SearchProviderIface = ' \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ +'; -const SearchProvider2Iface = - - - - - - - - - - - - - - - - - - - - - - -; +const SearchProvider2Iface = ' \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ +'; var SearchProviderProxy = Gio.DBusProxy.makeProxyWrapper(SearchProviderIface); var SearchProvider2Proxy = Gio.DBusProxy.makeProxyWrapper(SearchProvider2Iface); diff --git a/js/ui/screencast.js b/js/ui/screencast.js index 5b3c41922..a1593b254 100644 --- a/js/ui/screencast.js +++ b/js/ui/screencast.js @@ -9,27 +9,29 @@ const Signals = imports.signals; const Hash = imports.misc.hash; const Main = imports.ui.main; -const ScreencastIface = - - - - - - - - - - - - - - - - - - - -; +const ScreencastIface = ' \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ +'; const ScreencastService = new Lang.Class({ Name: 'ScreencastService', diff --git a/js/ui/screenshot.js b/js/ui/screenshot.js index 92efd03b4..10435c5b8 100644 --- a/js/ui/screenshot.js +++ b/js/ui/screenshot.js @@ -15,45 +15,47 @@ const Lightbox = imports.ui.lightbox; const Main = imports.ui.main; const Tweener = imports.ui.tweener; -const ScreenshotIface = - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -; +const ScreenshotIface = ' \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ +'; const ScreenshotService = new Lang.Class({ Name: 'ScreenshotService', diff --git a/js/ui/scripting.js b/js/ui/scripting.js index d5e2eaee6..edfe49d3b 100644 --- a/js/ui/scripting.js +++ b/js/ui/scripting.js @@ -69,16 +69,18 @@ function waitLeisure() { }; } -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 c56692f8f..609b1c168 100644 --- a/js/ui/shellDBus.js +++ b/js/ui/shellDBus.js @@ -15,59 +15,63 @@ const Main = imports.ui.main; const Screenshot = imports.ui.screenshot; const ViewSelector = imports.ui.viewSelector; -const GnomeShellIface = - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -; +const GnomeShellIface = ' \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ +'; -const ScreenSaverIface = - - - - - - - - - - - - - - -; +const ScreenSaverIface = ' \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ +'; const GnomeShell = new Lang.Class({ Name: 'GnomeShellDBus', @@ -246,41 +250,43 @@ const GnomeShell = new Lang.Class({ ShellVersion: Config.PACKAGE_VERSION }); -const GnomeShellExtensionsIface = - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -; +const GnomeShellExtensionsIface = ' \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ +'; const GnomeShellExtensions = new Lang.Class({ Name: 'GnomeShellExtensionsDBus', diff --git a/js/ui/shellMountOperation.js b/js/ui/shellMountOperation.js index 2cc88a863..a1cc81d5c 100644 --- a/js/ui/shellMountOperation.js +++ b/js/ui/shellMountOperation.js @@ -521,36 +521,38 @@ const ShellProcessesDialog = new Lang.Class({ }); Signals.addSignalMethods(ShellProcessesDialog.prototype); -const GnomeShellMountOpIface = - - - - - - - - - - - - - - - - - - - - - - - - - - - - -; +const GnomeShellMountOpIface = ' \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ +'; const ShellMountOperationType = { NONE: 0, diff --git a/js/ui/status/brightness.js b/js/ui/status/brightness.js index bd7697213..59efc9dcd 100644 --- a/js/ui/status/brightness.js +++ b/js/ui/status/brightness.js @@ -11,9 +11,11 @@ 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/keyboard.js b/js/ui/status/keyboard.js index ac4ae2db4..8d9960ee1 100644 --- a/js/ui/status/keyboard.js +++ b/js/ui/status/keyboard.js @@ -41,11 +41,13 @@ const MAX_INPUT_SOURCE_ACTIVATION_TIME = 4000; // ms const BUS_NAME = 'org.gnome.SettingsDaemon.Keyboard'; const OBJECT_PATH = '/org/gnome/SettingsDaemon/Keyboard'; -const KeyboardManagerInterface = - - - -; +const KeyboardManagerInterface = ' \ + \ + \ + \ + \ + \ +'; const KeyboardManagerProxy = Gio.DBusProxy.makeProxyWrapper(KeyboardManagerInterface); diff --git a/js/ui/status/power.js b/js/ui/status/power.js index c7646fb81..2a98dccec 100644 --- a/js/ui/status/power.js +++ b/js/ui/status/power.js @@ -11,15 +11,17 @@ 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 9628f2de0..487e05fec 100644 --- a/js/ui/status/rfkill.js +++ b/js/ui/status/rfkill.js @@ -9,9 +9,11 @@ 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);