From e3575595821afe048c135cddd00216332eceec88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Thu, 31 Jan 2019 15:07:06 +0100 Subject: [PATCH] cleanup: Mark globals used from other modules as exported eslint cannot figure out that those symbols are used from other modules via imports, so they trigger unused-variable errors. To fix, explicitly mark those symbols as exported. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/627 --- js/extensionPrefs/main.js | 1 + js/gdm/fingerprint.js | 1 + js/gdm/loginDialog.js | 1 + js/gdm/oVirt.js | 1 + js/gdm/util.js | 2 ++ js/misc/extensionUtils.js | 3 +++ js/misc/fileUtils.js | 2 ++ js/misc/gnomeSession.js | 1 + js/misc/ibusManager.js | 1 + js/misc/inputMethod.js | 1 + js/misc/introspect.js | 1 + js/misc/jsParse.js | 1 + js/misc/keyboardManager.js | 1 + js/misc/loginManager.js | 1 + js/misc/params.js | 1 + js/misc/permissionStore.js | 1 + js/misc/smartcardManager.js | 1 + js/misc/systemActions.js | 1 + js/misc/util.js | 3 +++ js/perf/core.js | 4 ++++ js/perf/hwtest.js | 8 ++++++++ js/portalHelper/main.js | 1 + js/ui/accessDialog.js | 1 + js/ui/altTab.js | 2 ++ js/ui/animation.js | 1 + js/ui/appDisplay.js | 1 + js/ui/appFavorites.js | 1 + js/ui/audioDeviceSelection.js | 1 + js/ui/backgroundMenu.js | 1 + js/ui/barLevel.js | 1 + js/ui/boxpointer.js | 1 + js/ui/calendar.js | 1 + js/ui/checkBox.js | 1 + js/ui/closeDialog.js | 1 + js/ui/components/__init__.js | 1 + js/ui/components/automountManager.js | 1 + js/ui/components/autorunManager.js | 1 + js/ui/components/keyring.js | 1 + js/ui/components/networkAgent.js | 1 + js/ui/components/polkitAgent.js | 1 + js/ui/components/telepathyClient.js | 1 + js/ui/ctrlAltTab.js | 1 + js/ui/dash.js | 1 + js/ui/dateMenu.js | 1 + js/ui/dialog.js | 1 + js/ui/dnd.js | 1 + js/ui/edgeDragAction.js | 1 + js/ui/endSessionDialog.js | 1 + js/ui/environment.js | 1 + js/ui/extensionDownloader.js | 2 ++ js/ui/extensionSystem.js | 1 + js/ui/grabHelper.js | 1 + js/ui/ibusCandidatePopup.js | 1 + js/ui/iconGrid.js | 1 + js/ui/inhibitShortcutsDialog.js | 1 + js/ui/kbdA11yDialog.js | 1 + js/ui/keyboard.js | 1 + js/ui/layout.js | 1 + js/ui/lightbox.js | 1 + js/ui/locatePointer.js | 1 + js/ui/lookingGlass.js | 1 + js/ui/magnifierDBus.js | 1 + js/ui/main.js | 8 ++++++++ js/ui/messageTray.js | 3 +++ js/ui/modalDialog.js | 1 + js/ui/mpris.js | 1 + js/ui/notificationDaemon.js | 1 + js/ui/osdMonitorLabeler.js | 1 + js/ui/osdWindow.js | 1 + js/ui/overview.js | 1 + js/ui/overviewControls.js | 1 + js/ui/padOsd.js | 1 + js/ui/pageIndicators.js | 1 + js/ui/panel.js | 1 + js/ui/panelMenu.js | 1 + js/ui/pointerA11yTimeout.js | 1 + js/ui/pointerWatcher.js | 1 + js/ui/popupMenu.js | 3 +++ js/ui/remoteSearch.js | 1 + js/ui/ripples.js | 1 + js/ui/runDialog.js | 1 + js/ui/screenshot.js | 1 + js/ui/scripting.js | 3 +++ js/ui/sessionMode.js | 1 + js/ui/shellDBus.js | 1 + js/ui/shellEntry.js | 1 + js/ui/shellMountOperation.js | 1 + js/ui/slider.js | 1 + js/ui/status/accessibility.js | 1 + js/ui/status/bluetooth.js | 1 + js/ui/status/brightness.js | 1 + js/ui/status/dwellClick.js | 1 + js/ui/status/keyboard.js | 1 + js/ui/status/location.js | 1 + js/ui/status/network.js | 1 + js/ui/status/nightLight.js | 1 + js/ui/status/power.js | 1 + js/ui/status/remoteAccess.js | 1 + js/ui/status/rfkill.js | 1 + js/ui/status/screencast.js | 1 + js/ui/status/system.js | 1 + js/ui/status/thunderbolt.js | 1 + js/ui/status/volume.js | 1 + js/ui/switchMonitor.js | 1 + js/ui/switcherPopup.js | 1 + js/ui/tweener.js | 3 +++ js/ui/unlockDialog.js | 1 + js/ui/userWidget.js | 1 + js/ui/viewSelector.js | 1 + js/ui/windowAttentionHandler.js | 1 + js/ui/windowManager.js | 1 + js/ui/windowMenu.js | 1 + js/ui/workspace.js | 1 + js/ui/workspaceSwitcherPopup.js | 1 + js/ui/workspaceThumbnail.js | 1 + js/ui/workspacesView.js | 1 + 116 files changed, 149 insertions(+) diff --git a/js/extensionPrefs/main.js b/js/extensionPrefs/main.js index afac49a80..d8c51bfa5 100644 --- a/js/extensionPrefs/main.js +++ b/js/extensionPrefs/main.js @@ -1,3 +1,4 @@ +/* exported main */ const Gettext = imports.gettext; const { Gdk, GLib, Gio, GObject, Gtk, Pango } = imports.gi; const Format = imports.format; diff --git a/js/gdm/fingerprint.js b/js/gdm/fingerprint.js index 3e203ae31..3f1047007 100644 --- a/js/gdm/fingerprint.js +++ b/js/gdm/fingerprint.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported FprintManager */ const Gio = imports.gi.Gio; diff --git a/js/gdm/loginDialog.js b/js/gdm/loginDialog.js index 3e15e458e..4c302d524 100644 --- a/js/gdm/loginDialog.js +++ b/js/gdm/loginDialog.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported LoginDialog */ /* * Copyright 2011 Red Hat, Inc * diff --git a/js/gdm/oVirt.js b/js/gdm/oVirt.js index d5f6fbbac..084399e81 100644 --- a/js/gdm/oVirt.js +++ b/js/gdm/oVirt.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported getOVirtCredentialsManager */ const Gio = imports.gi.Gio; const Signals = imports.signals; diff --git a/js/gdm/util.js b/js/gdm/util.js index 0d52a60d0..85616ba07 100644 --- a/js/gdm/util.js +++ b/js/gdm/util.js @@ -1,4 +1,6 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported BANNER_MESSAGE_KEY, BANNER_MESSAGE_TEXT_KEY, LOGO_KEY, + DISABLE_USER_LIST_KEY, fadeInActor, fadeOutActor, cloneAndFadeOutActor */ const { Clutter, Gio, GLib } = imports.gi; const Signals = imports.signals; diff --git a/js/misc/extensionUtils.js b/js/misc/extensionUtils.js index 6887299bb..a05a88418 100644 --- a/js/misc/extensionUtils.js +++ b/js/misc/extensionUtils.js @@ -1,4 +1,7 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported ExtensionState, ExtensionType, getCurrentExtension, + getSettings, initTranslations, isOutOfDate, installImporter, + serializeExtension, deserializeExtension */ // Common utils for the extension system and the extension // preferences tool diff --git a/js/misc/fileUtils.js b/js/misc/fileUtils.js index 0a3c4a387..338460ce6 100644 --- a/js/misc/fileUtils.js +++ b/js/misc/fileUtils.js @@ -1,4 +1,6 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported collectFromDatadirs, deleteGFile, recursivelyDeleteDir, + recursivelyMoveDir, loadInterfaceXML */ const { Gio, GLib } = imports.gi; const Config = imports.misc.config; diff --git a/js/misc/gnomeSession.js b/js/misc/gnomeSession.js index 89b860d72..026da25e4 100644 --- a/js/misc/gnomeSession.js +++ b/js/misc/gnomeSession.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported PresenceStatus, Presence, Inhibitor, SessionManager */ const Gio = imports.gi.Gio; diff --git a/js/misc/ibusManager.js b/js/misc/ibusManager.js index 362c4cbf3..5a2d24e2f 100644 --- a/js/misc/ibusManager.js +++ b/js/misc/ibusManager.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported getIBusManager */ const { Gio, GLib, IBus } = imports.gi; const Mainloop = imports.mainloop; diff --git a/js/misc/inputMethod.js b/js/misc/inputMethod.js index 03b44aad8..811ba55fd 100644 --- a/js/misc/inputMethod.js +++ b/js/misc/inputMethod.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported InputMethod */ const { Clutter, GLib, GObject, IBus } = imports.gi; const Keyboard = imports.ui.status.keyboard; diff --git a/js/misc/introspect.js b/js/misc/introspect.js index b36c04199..c7fb3a712 100644 --- a/js/misc/introspect.js +++ b/js/misc/introspect.js @@ -1,3 +1,4 @@ +/* exported IntrospectService */ const { Gio, GLib, Meta, Shell } = imports.gi; const INTROSPECT_SCHEMA = 'org.gnome.shell'; diff --git a/js/misc/jsParse.js b/js/misc/jsParse.js index a25479117..05ab42337 100644 --- a/js/misc/jsParse.js +++ b/js/misc/jsParse.js @@ -1,4 +1,5 @@ /* -*- mode: js2; js2-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* exported getCompletions, getCommonPrefix, getDeclaredConstants */ // Returns a list of potential completions for text. Completions either // follow a dot (e.g. foo.ba -> bar) or they are picked from globalCompletionList (e.g. fo -> foo) diff --git a/js/misc/keyboardManager.js b/js/misc/keyboardManager.js index c3cc336dd..0b56bee3d 100644 --- a/js/misc/keyboardManager.js +++ b/js/misc/keyboardManager.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported getKeyboardManager, holdKeyboard, releaseKeyboard */ const { GLib, GnomeDesktop, Meta } = imports.gi; diff --git a/js/misc/loginManager.js b/js/misc/loginManager.js index 74d20eadb..f1ab2572f 100644 --- a/js/misc/loginManager.js +++ b/js/misc/loginManager.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported canLock, getLoginManager, registerSessionWithGDM */ const { GLib, Gio } = imports.gi; const Signals = imports.signals; diff --git a/js/misc/params.js b/js/misc/params.js index 40dd9168e..92adeb006 100644 --- a/js/misc/params.js +++ b/js/misc/params.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported parse */ // parse: // @params: caller-provided parameter object, or %null diff --git a/js/misc/permissionStore.js b/js/misc/permissionStore.js index 61f60c6e9..46c5d5412 100644 --- a/js/misc/permissionStore.js +++ b/js/misc/permissionStore.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported PermissionStore */ const Gio = imports.gi.Gio; diff --git a/js/misc/smartcardManager.js b/js/misc/smartcardManager.js index 890ca9a89..c1a23ddad 100644 --- a/js/misc/smartcardManager.js +++ b/js/misc/smartcardManager.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported getSmartcardManager */ const Gio = imports.gi.Gio; const Signals = imports.signals; diff --git a/js/misc/systemActions.js b/js/misc/systemActions.js index a5e793909..9aeb680ed 100644 --- a/js/misc/systemActions.js +++ b/js/misc/systemActions.js @@ -1,3 +1,4 @@ +/* exported getDefault */ const { AccountsService, Clutter, Gdm, Gio, GLib, GObject, Meta } = imports.gi; const GnomeSession = imports.misc.gnomeSession; diff --git a/js/misc/util.js b/js/misc/util.js index d4441d960..bd87b33c8 100644 --- a/js/misc/util.js +++ b/js/misc/util.js @@ -1,4 +1,7 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported findUrls, spawn, spawnCommandLine, spawnApp, trySpawnCommandLine, + formatTime, formatTimeSpan, createTimeLabel, insertSorted, + makeCloseButton, ensureActorVisibleInScrollView */ const { Clutter, Gio, GLib, GObject, Shell, St } = imports.gi; const Gettext = imports.gettext; diff --git a/js/perf/core.js b/js/perf/core.js index fb40fe3b2..0eab47470 100644 --- a/js/perf/core.js +++ b/js/perf/core.js @@ -1,4 +1,8 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported run, script_overviewShowStart, script_overviewShowDone, + script_applicationsShowStart, script_applicationsShowDone, + script_afterShowHide, malloc_usedSize, glx_swapComplete, + clutter_stagePaintDone */ const System = imports.system; diff --git a/js/perf/hwtest.js b/js/perf/hwtest.js index 15ba6b897..f4fe64d96 100644 --- a/js/perf/hwtest.js +++ b/js/perf/hwtest.js @@ -1,3 +1,11 @@ +/* exported run, script_desktopShown, script_overviewShowStart, + script_overviewShowDone, script_applicationsShowStart, + script_applicationsShowDone, script_mainViewDrawStart, + script_mainViewDrawDone, script_overviewDrawStart, + script_overviewDrawDone, script_redrawTestStart, + script_redrawTestDone, script_collectTimings, + script_geditLaunch, script_geditFirstFrame, + clutter_stagePaintStart, clutter_paintCompletedTimestamp */ const { Clutter, Gio, Shell } = imports.gi; const Main = imports.ui.main; const Scripting = imports.ui.scripting; diff --git a/js/portalHelper/main.js b/js/portalHelper/main.js index d8f500e89..f98a10dce 100644 --- a/js/portalHelper/main.js +++ b/js/portalHelper/main.js @@ -1,3 +1,4 @@ +/* exported main */ const Format = imports.format; const Gettext = imports.gettext; const { Gio, GLib, GObject, Gtk, Pango, Soup, WebKit2: WebKit } = imports.gi; diff --git a/js/ui/accessDialog.js b/js/ui/accessDialog.js index 462abe31e..06321407b 100644 --- a/js/ui/accessDialog.js +++ b/js/ui/accessDialog.js @@ -1,3 +1,4 @@ +/* exported AccessDialogDBus */ const { Clutter, Gio, GLib, GObject, Shell } = imports.gi; const CheckBox = imports.ui.checkBox; diff --git a/js/ui/altTab.js b/js/ui/altTab.js index 2c8affaed..6ba3ac99f 100644 --- a/js/ui/altTab.js +++ b/js/ui/altTab.js @@ -1,4 +1,6 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported AppSwitcherPopup, GroupCyclerPopup, WindowSwitcherPopup, + WindowCyclerPopup */ const { Atk, Clutter, Gio, GLib, GObject, Meta, Shell, St } = imports.gi; const Mainloop = imports.mainloop; diff --git a/js/ui/animation.js b/js/ui/animation.js index 00bbab498..8e71a8ed5 100644 --- a/js/ui/animation.js +++ b/js/ui/animation.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported Animation, AnimatedIcon, Spinner */ const { GLib, Gio, St } = imports.gi; const Mainloop = imports.mainloop; diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js index 5bb8e61ff..c1b916a59 100644 --- a/js/ui/appDisplay.js +++ b/js/ui/appDisplay.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported AppDisplay, AppSearchProvider */ const { Clutter, Gio, GLib, GObject, Meta, Shell, St } = imports.gi; const Signals = imports.signals; diff --git a/js/ui/appFavorites.js b/js/ui/appFavorites.js index 9573dc5ee..36d3d6a7d 100644 --- a/js/ui/appFavorites.js +++ b/js/ui/appFavorites.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported getAppFavorites */ const Shell = imports.gi.Shell; const Signals = imports.signals; diff --git a/js/ui/audioDeviceSelection.js b/js/ui/audioDeviceSelection.js index 2f947e249..232307eea 100644 --- a/js/ui/audioDeviceSelection.js +++ b/js/ui/audioDeviceSelection.js @@ -1,3 +1,4 @@ +/* exported AudioDeviceSelectionDBus */ const { Clutter, Gio, GLib, GObject, Meta, Shell, St } = imports.gi; const Main = imports.ui.main; diff --git a/js/ui/backgroundMenu.js b/js/ui/backgroundMenu.js index b5bb2a664..b19ced9e4 100644 --- a/js/ui/backgroundMenu.js +++ b/js/ui/backgroundMenu.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported addBackgroundMenu */ const { Clutter, St } = imports.gi; diff --git a/js/ui/barLevel.js b/js/ui/barLevel.js index 6b2f69b63..4d75cc5d8 100644 --- a/js/ui/barLevel.js +++ b/js/ui/barLevel.js @@ -1,4 +1,5 @@ /* -*- mode: js2; js2-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* exported BarLevel */ const { Atk, Clutter, St } = imports.gi; const Signals = imports.signals; diff --git a/js/ui/boxpointer.js b/js/ui/boxpointer.js index c24d3682f..aab595189 100644 --- a/js/ui/boxpointer.js +++ b/js/ui/boxpointer.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported BoxPointer */ const { Clutter, GObject, Shell, St } = imports.gi; diff --git a/js/ui/calendar.js b/js/ui/calendar.js index b74e0e81d..2a4214e60 100644 --- a/js/ui/calendar.js +++ b/js/ui/calendar.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported Calendar, CalendarMessageList */ const { Clutter, Gio, GLib, Shell, St } = imports.gi; const Signals = imports.signals; diff --git a/js/ui/checkBox.js b/js/ui/checkBox.js index deaa34ab7..58fec1633 100644 --- a/js/ui/checkBox.js +++ b/js/ui/checkBox.js @@ -1,3 +1,4 @@ +/* exported CheckBox */ const { Clutter, Pango, St } = imports.gi; var CheckBox = class CheckBox { diff --git a/js/ui/closeDialog.js b/js/ui/closeDialog.js index afc246ee1..4098b4bbb 100644 --- a/js/ui/closeDialog.js +++ b/js/ui/closeDialog.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported CloseDialog */ const { Clutter, Gio, GLib, GObject, Meta, Shell } = imports.gi; diff --git a/js/ui/components/__init__.js b/js/ui/components/__init__.js index a6fa4bf50..2813e51af 100644 --- a/js/ui/components/__init__.js +++ b/js/ui/components/__init__.js @@ -1,3 +1,4 @@ +/* exported ComponentManager */ const Main = imports.ui.main; var ComponentManager = class { diff --git a/js/ui/components/automountManager.js b/js/ui/components/automountManager.js index f01b16926..399a41986 100644 --- a/js/ui/components/automountManager.js +++ b/js/ui/components/automountManager.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported Component */ const { Gio, GLib } = imports.gi; const Mainloop = imports.mainloop; diff --git a/js/ui/components/autorunManager.js b/js/ui/components/autorunManager.js index 6d8790131..f1aaaaf36 100644 --- a/js/ui/components/autorunManager.js +++ b/js/ui/components/autorunManager.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported Component */ const { Gio, St } = imports.gi; diff --git a/js/ui/components/keyring.js b/js/ui/components/keyring.js index 0629ec849..28932ddd8 100644 --- a/js/ui/components/keyring.js +++ b/js/ui/components/keyring.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported Component */ const { Clutter, Gcr, Gio, GObject, Pango, Shell, St } = imports.gi; diff --git a/js/ui/components/networkAgent.js b/js/ui/components/networkAgent.js index 338371d13..80691b88a 100644 --- a/js/ui/components/networkAgent.js +++ b/js/ui/components/networkAgent.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported Component */ const { Clutter, Gio, GLib, GObject, NM, Pango, Shell, St } = imports.gi; const Signals = imports.signals; diff --git a/js/ui/components/polkitAgent.js b/js/ui/components/polkitAgent.js index 3c592fcd7..1c1b8e610 100644 --- a/js/ui/components/polkitAgent.js +++ b/js/ui/components/polkitAgent.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported Component */ const { AccountsService, Clutter, Gio, GLib, GObject, Pango, PolkitAgent, Polkit, Shell, St } = imports.gi; diff --git a/js/ui/components/telepathyClient.js b/js/ui/components/telepathyClient.js index e8b2dbabb..71311467d 100644 --- a/js/ui/components/telepathyClient.js +++ b/js/ui/components/telepathyClient.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported Component */ const { Clutter, Gio, GLib, GObject, St } = imports.gi; const Lang = imports.lang; diff --git a/js/ui/ctrlAltTab.js b/js/ui/ctrlAltTab.js index 481ad0da1..935e6acdc 100644 --- a/js/ui/ctrlAltTab.js +++ b/js/ui/ctrlAltTab.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported CtrlAltTabManager */ const { Clutter, GObject, Meta, Shell, St } = imports.gi; diff --git a/js/ui/dash.js b/js/ui/dash.js index 35c5b709d..7da335bfb 100644 --- a/js/ui/dash.js +++ b/js/ui/dash.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported Dash */ const { Clutter, GLib, GObject, Meta, Shell, St } = imports.gi; const Mainloop = imports.mainloop; diff --git a/js/ui/dateMenu.js b/js/ui/dateMenu.js index 4b6dd922a..ab137edf4 100644 --- a/js/ui/dateMenu.js +++ b/js/ui/dateMenu.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported DateMenuButton */ const { Clutter, GLib, GnomeDesktop, GObject, GWeather, Shell, St } = imports.gi; diff --git a/js/ui/dialog.js b/js/ui/dialog.js index fd0069cad..f81dbfb40 100644 --- a/js/ui/dialog.js +++ b/js/ui/dialog.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported Dialog, MessageDialogContent */ const { Clutter, Gio, GObject, Pango, St } = imports.gi; diff --git a/js/ui/dnd.js b/js/ui/dnd.js index 5172b845f..ad9fb0e76 100644 --- a/js/ui/dnd.js +++ b/js/ui/dnd.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported addDragMonitor, removeDragMonitor, makeDraggable */ const { Clutter, GLib, Meta, Shell, St } = imports.gi; const Signals = imports.signals; diff --git a/js/ui/edgeDragAction.js b/js/ui/edgeDragAction.js index 9ec57e8ec..7ba22fdfc 100644 --- a/js/ui/edgeDragAction.js +++ b/js/ui/edgeDragAction.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported EdgeDragAction */ const { Clutter, GObject, Meta, St } = imports.gi; diff --git a/js/ui/endSessionDialog.js b/js/ui/endSessionDialog.js index 491fee8d0..0b475b6f9 100644 --- a/js/ui/endSessionDialog.js +++ b/js/ui/endSessionDialog.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported init, EndSessionDialog */ /* * Copyright 2010-2016 Red Hat, Inc * diff --git a/js/ui/environment.js b/js/ui/environment.js index a0d32f4da..61524facd 100644 --- a/js/ui/environment.js +++ b/js/ui/environment.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported init */ const Config = imports.misc.config; diff --git a/js/ui/extensionDownloader.js b/js/ui/extensionDownloader.js index 858c3659c..dc67909e8 100644 --- a/js/ui/extensionDownloader.js +++ b/js/ui/extensionDownloader.js @@ -1,4 +1,6 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported init, installExtension, uninstallExtension, + checkForUpdates, updateExtension */ const { Clutter, Gio, GLib, GObject, Soup } = imports.gi; diff --git a/js/ui/extensionSystem.js b/js/ui/extensionSystem.js index 7cf5e4453..fd7196972 100644 --- a/js/ui/extensionSystem.js +++ b/js/ui/extensionSystem.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported init connect disconnect */ const { Gio, St } = imports.gi; const Signals = imports.signals; diff --git a/js/ui/grabHelper.js b/js/ui/grabHelper.js index 39873e16f..d694f5ced 100644 --- a/js/ui/grabHelper.js +++ b/js/ui/grabHelper.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported GrabHelper */ const { Clutter, St } = imports.gi; diff --git a/js/ui/ibusCandidatePopup.js b/js/ui/ibusCandidatePopup.js index 75ddfafba..b9d209261 100644 --- a/js/ui/ibusCandidatePopup.js +++ b/js/ui/ibusCandidatePopup.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported CandidatePopup */ const { Clutter, IBus, St } = imports.gi; const Signals = imports.signals; diff --git a/js/ui/iconGrid.js b/js/ui/iconGrid.js index 5eec995c5..d5f600513 100644 --- a/js/ui/iconGrid.js +++ b/js/ui/iconGrid.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported BaseIcon, IconGrid, PaginatedIconGrid */ const { Clutter, GLib, GObject, Meta, St } = imports.gi; diff --git a/js/ui/inhibitShortcutsDialog.js b/js/ui/inhibitShortcutsDialog.js index 375ef977b..b81fec394 100644 --- a/js/ui/inhibitShortcutsDialog.js +++ b/js/ui/inhibitShortcutsDialog.js @@ -1,3 +1,4 @@ +/* exported InhibitShortcutsDialog */ const { Clutter, Gio, GLib, GObject, Gtk, Meta, Shell } = imports.gi; const Dialog = imports.ui.dialog; diff --git a/js/ui/kbdA11yDialog.js b/js/ui/kbdA11yDialog.js index b9d005fe7..26efbce0c 100644 --- a/js/ui/kbdA11yDialog.js +++ b/js/ui/kbdA11yDialog.js @@ -1,3 +1,4 @@ +/* exported KbdA11yDialog */ const { Clutter, Gio, GObject } = imports.gi; const Dialog = imports.ui.dialog; diff --git a/js/ui/keyboard.js b/js/ui/keyboard.js index d4d41a638..d29a4aefc 100644 --- a/js/ui/keyboard.js +++ b/js/ui/keyboard.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported Keyboard */ const { Clutter, Gio, GLib, GObject, Meta, St } = imports.gi; const Signals = imports.signals; diff --git a/js/ui/layout.js b/js/ui/layout.js index 2e6db7b6f..5a963d756 100644 --- a/js/ui/layout.js +++ b/js/ui/layout.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported MonitorConstraint, LayoutManager */ const { Clutter, Gio, GLib, GObject, Meta, Shell, St } = imports.gi; const Signals = imports.signals; diff --git a/js/ui/lightbox.js b/js/ui/lightbox.js index 948cc0de3..b033e40d3 100644 --- a/js/ui/lightbox.js +++ b/js/ui/lightbox.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported Lightbox */ const { Clutter, GObject, Shell, St } = imports.gi; const Signals = imports.signals; diff --git a/js/ui/locatePointer.js b/js/ui/locatePointer.js index 0da10aab4..10caa656d 100644 --- a/js/ui/locatePointer.js +++ b/js/ui/locatePointer.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported LocatePointer */ const { Gio } = imports.gi; const Ripples = imports.ui.ripples; diff --git a/js/ui/lookingGlass.js b/js/ui/lookingGlass.js index 22f66e9dd..ffd49364f 100644 --- a/js/ui/lookingGlass.js +++ b/js/ui/lookingGlass.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported LookingGlass */ const { Clutter, Cogl, Gio, GLib, GObject, Meta, Pango, Shell, St } = imports.gi; diff --git a/js/ui/magnifierDBus.js b/js/ui/magnifierDBus.js index 04c7a8e2c..b71cd0db5 100644 --- a/js/ui/magnifierDBus.js +++ b/js/ui/magnifierDBus.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported ShellMagnifier */ const Gio = imports.gi.Gio; const Main = imports.ui.main; diff --git a/js/ui/main.js b/js/ui/main.js index 68e0889ed..d5d18b2ce 100644 --- a/js/ui/main.js +++ b/js/ui/main.js @@ -1,4 +1,12 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported componentManager, notificationDaemon, windowAttentionHandler, + ctrlAltTabManager, padOsdService, osdWindowManager, + osdMonitorLabeler, shellMountOpDBusService, shellDBusService, + shellAccessDialogDBusService, shellAudioSelectionDBusService, + screenSaverDBus, screencastService, uiGroup, magnifier, + xdndHandler, keyboard, kbdA11yDialog, introspectService, + start, pushModal, popModal, activateWindow, createLookingGlass, + initializeDeferredWork, getThemeStylesheet, setThemeStylesheet */ const { Clutter, Gio, GLib, GObject, Meta, Shell, St } = imports.gi; const Mainloop = imports.mainloop; diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js index 3648a9145..f8958c350 100644 --- a/js/ui/messageTray.js +++ b/js/ui/messageTray.js @@ -1,4 +1,7 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported NotificationPolicy, NotificationGenericPolicy, + NotificationApplicationPolicy, Source, SourceActor, SourceActorWithLabel, + SystemNotificationSource, MessageTray */ const { Clutter, Gio, GLib, GObject, Meta, Shell, St } = imports.gi; const Mainloop = imports.mainloop; diff --git a/js/ui/modalDialog.js b/js/ui/modalDialog.js index 06d3a3e82..5f8ba352a 100644 --- a/js/ui/modalDialog.js +++ b/js/ui/modalDialog.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported ModalDialog */ const { Atk, Clutter, GObject, Shell, St } = imports.gi; diff --git a/js/ui/mpris.js b/js/ui/mpris.js index 0780b9300..6ea7aafa3 100644 --- a/js/ui/mpris.js +++ b/js/ui/mpris.js @@ -1,3 +1,4 @@ +/* exported MediaSection */ const { Gio, Shell, St } = imports.gi; const Signals = imports.signals; diff --git a/js/ui/notificationDaemon.js b/js/ui/notificationDaemon.js index c541bd0a4..3b8cf3350 100644 --- a/js/ui/notificationDaemon.js +++ b/js/ui/notificationDaemon.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported NotificationDaemon */ const { GdkPixbuf, Gio, GLib, Shell, St } = imports.gi; const Mainloop = imports.mainloop; diff --git a/js/ui/osdMonitorLabeler.js b/js/ui/osdMonitorLabeler.js index 9cbbd2636..9c0b4ee20 100644 --- a/js/ui/osdMonitorLabeler.js +++ b/js/ui/osdMonitorLabeler.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported OsdMonitorLabeler */ const { Clutter, Gio, Meta, St } = imports.gi; diff --git a/js/ui/osdWindow.js b/js/ui/osdWindow.js index 2895ab5f3..514287cb7 100644 --- a/js/ui/osdWindow.js +++ b/js/ui/osdWindow.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported OsdWindowManager */ const { Clutter, GLib, GObject, Meta, St } = imports.gi; const Mainloop = imports.mainloop; diff --git a/js/ui/overview.js b/js/ui/overview.js index 4db21b6df..0f4c6dca4 100644 --- a/js/ui/overview.js +++ b/js/ui/overview.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported Overview */ const { Clutter, GLib, Meta, Shell, St } = imports.gi; const Mainloop = imports.mainloop; diff --git a/js/ui/overviewControls.js b/js/ui/overviewControls.js index e9f81f776..e5bb38479 100644 --- a/js/ui/overviewControls.js +++ b/js/ui/overviewControls.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported ControlsManager */ const { Clutter, GObject, Meta, St } = imports.gi; diff --git a/js/ui/padOsd.js b/js/ui/padOsd.js index 2e76240bb..5f2c85dcd 100644 --- a/js/ui/padOsd.js +++ b/js/ui/padOsd.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported PadOsdService */ const { Atk, Clutter, GDesktopEnums, Gio, GLib, GObject, Gtk, Meta, Rsvg, St } = imports.gi; diff --git a/js/ui/pageIndicators.js b/js/ui/pageIndicators.js index 8a1202c80..68f26ad5a 100644 --- a/js/ui/pageIndicators.js +++ b/js/ui/pageIndicators.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported PageIndicators, AnimatedPageIndicators */ const { Clutter, GObject, St } = imports.gi; diff --git a/js/ui/panel.js b/js/ui/panel.js index eba0c2b7a..6adacfe7f 100644 --- a/js/ui/panel.js +++ b/js/ui/panel.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported Panel */ const { Atk, Clutter, Gio, GLib, GObject, Meta, Shell, St } = imports.gi; const Cairo = imports.cairo; diff --git a/js/ui/panelMenu.js b/js/ui/panelMenu.js index d6343b060..b8cbd8c05 100644 --- a/js/ui/panelMenu.js +++ b/js/ui/panelMenu.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported Button, SystemIndicator */ const { Atk, Clutter, GObject, St } = imports.gi; const Signals = imports.signals; diff --git a/js/ui/pointerA11yTimeout.js b/js/ui/pointerA11yTimeout.js index 9d32f9164..e0f036c76 100644 --- a/js/ui/pointerA11yTimeout.js +++ b/js/ui/pointerA11yTimeout.js @@ -1,3 +1,4 @@ +/* exported PointerA11yTimeout */ const { Clutter, GLib, GObject, Meta, St } = imports.gi; const Tweener = imports.ui.tweener; const Main = imports.ui.main; diff --git a/js/ui/pointerWatcher.js b/js/ui/pointerWatcher.js index 347315c78..6c61fe64b 100644 --- a/js/ui/pointerWatcher.js +++ b/js/ui/pointerWatcher.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported getPointerWatcher */ const { GLib, Meta } = imports.gi; const Mainloop = imports.mainloop; diff --git a/js/ui/popupMenu.js b/js/ui/popupMenu.js index 6ec1f83dc..8fd439fc8 100644 --- a/js/ui/popupMenu.js +++ b/js/ui/popupMenu.js @@ -1,4 +1,7 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported PopupMenuItem, PopupSeparatorMenuItem, Switch, PopupSwitchMenuItem, + PopupImageMenuItem, PopupMenu, PopupDummyMenu, PopupSubMenu, + PopupMenuSection, PopupSubMenuMenuItem, PopupMenuManager */ const { Atk, Clutter, Gio, GObject, Shell, St } = imports.gi; const Signals = imports.signals; diff --git a/js/ui/remoteSearch.js b/js/ui/remoteSearch.js index 808417961..b357aca74 100644 --- a/js/ui/remoteSearch.js +++ b/js/ui/remoteSearch.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported loadRemoteSearchProviders */ const { GdkPixbuf, Gio, GLib, Shell, St } = imports.gi; diff --git a/js/ui/ripples.js b/js/ui/ripples.js index d478b05a9..1ff424cba 100644 --- a/js/ui/ripples.js +++ b/js/ui/ripples.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported Ripples */ const { St } = imports.gi; const Tweener = imports.ui.tweener; diff --git a/js/ui/runDialog.js b/js/ui/runDialog.js index 9f1794878..d7d33fe75 100644 --- a/js/ui/runDialog.js +++ b/js/ui/runDialog.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported RunDialog */ const { Clutter, Gio, GLib, GObject, Meta, Shell, St } = imports.gi; diff --git a/js/ui/screenshot.js b/js/ui/screenshot.js index 320739547..517092617 100644 --- a/js/ui/screenshot.js +++ b/js/ui/screenshot.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported ScreenshotService */ const { Clutter, Gio, GLib, Meta, Shell, St } = imports.gi; const Signals = imports.signals; diff --git a/js/ui/scripting.js b/js/ui/scripting.js index e7dcc39c9..5e779e6a8 100644 --- a/js/ui/scripting.js +++ b/js/ui/scripting.js @@ -1,4 +1,7 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported sleep, waitLeisure, createTestWindow, waitTestWindows, + destroyTestWindows, defineScriptEvent, scriptEvent, + collectStatistics, runPerfScript */ const { Gio, GLib, Meta, Shell } = imports.gi; const Mainloop = imports.mainloop; diff --git a/js/ui/sessionMode.js b/js/ui/sessionMode.js index 91ce58c4a..f8b38f609 100644 --- a/js/ui/sessionMode.js +++ b/js/ui/sessionMode.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported SessionMode, listModes */ const GLib = imports.gi.GLib; const Mainloop = imports.mainloop; diff --git a/js/ui/shellDBus.js b/js/ui/shellDBus.js index 796868b61..e750c207f 100644 --- a/js/ui/shellDBus.js +++ b/js/ui/shellDBus.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported GnomeShell, ScreenSaverDBus */ const { Gio, GLib, Meta, Shell } = imports.gi; diff --git a/js/ui/shellEntry.js b/js/ui/shellEntry.js index 3b18d3459..e5b961702 100644 --- a/js/ui/shellEntry.js +++ b/js/ui/shellEntry.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported addContextMenu */ const { Clutter, Shell, St } = imports.gi; diff --git a/js/ui/shellMountOperation.js b/js/ui/shellMountOperation.js index 14cf0db6e..96eed3152 100644 --- a/js/ui/shellMountOperation.js +++ b/js/ui/shellMountOperation.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported ShellMountOperation, GnomeShellMountOpHandler */ const { Clutter, Gio, GLib, GObject, Pango, Shell, St } = imports.gi; const Signals = imports.signals; diff --git a/js/ui/slider.js b/js/ui/slider.js index 4bb7fd8e8..cfce0cccc 100644 --- a/js/ui/slider.js +++ b/js/ui/slider.js @@ -1,4 +1,5 @@ /* -*- mode: js2; js2-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* exported Slider */ const { Atk, Clutter } = imports.gi; const Signals = imports.signals; diff --git a/js/ui/status/accessibility.js b/js/ui/status/accessibility.js index 42e408419..ad2c2b406 100644 --- a/js/ui/status/accessibility.js +++ b/js/ui/status/accessibility.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported ATIndicator */ const { Gio, GLib, GObject, St } = imports.gi; const Mainloop = imports.mainloop; diff --git a/js/ui/status/bluetooth.js b/js/ui/status/bluetooth.js index a29250734..a69db2fc8 100644 --- a/js/ui/status/bluetooth.js +++ b/js/ui/status/bluetooth.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported Indicator */ const { Gio, GnomeBluetooth } = imports.gi; diff --git a/js/ui/status/brightness.js b/js/ui/status/brightness.js index 7643274fb..54081eef3 100644 --- a/js/ui/status/brightness.js +++ b/js/ui/status/brightness.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported Indicator */ const { Gio, St } = imports.gi; diff --git a/js/ui/status/dwellClick.js b/js/ui/status/dwellClick.js index abe45192a..4ce8e7544 100644 --- a/js/ui/status/dwellClick.js +++ b/js/ui/status/dwellClick.js @@ -1,3 +1,4 @@ +/* exported DwellClickIndicator */ const { Clutter, Gio, GLib, GObject, St } = imports.gi; const PanelMenu = imports.ui.panelMenu; diff --git a/js/ui/status/keyboard.js b/js/ui/status/keyboard.js index 5a4757341..dbe5ded51 100644 --- a/js/ui/status/keyboard.js +++ b/js/ui/status/keyboard.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported InputSourceIndicator */ const { Clutter, Gio, GLib, GObject, IBus, Meta, Shell, St } = imports.gi; const Gettext = imports.gettext; diff --git a/js/ui/status/location.js b/js/ui/status/location.js index 19a746a56..beb783c19 100644 --- a/js/ui/status/location.js +++ b/js/ui/status/location.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported Indicator */ const { Clutter, Gio, GLib, GObject, Shell } = imports.gi; diff --git a/js/ui/status/network.js b/js/ui/status/network.js index 276c9c208..7cff22c6e 100644 --- a/js/ui/status/network.js +++ b/js/ui/status/network.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported NMApplet */ const { Clutter, Gio, GLib, GObject, NM, St } = imports.gi; const Mainloop = imports.mainloop; const Signals = imports.signals; diff --git a/js/ui/status/nightLight.js b/js/ui/status/nightLight.js index 089a5cdf2..43a7c06ff 100644 --- a/js/ui/status/nightLight.js +++ b/js/ui/status/nightLight.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported Indicator */ const Gio = imports.gi.Gio; diff --git a/js/ui/status/power.js b/js/ui/status/power.js index 54475d029..486a7fdd3 100644 --- a/js/ui/status/power.js +++ b/js/ui/status/power.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported Indicator */ const { Clutter, Gio, St, UPowerGlib: UPower } = imports.gi; diff --git a/js/ui/status/remoteAccess.js b/js/ui/status/remoteAccess.js index 3b9338d27..794377dde 100644 --- a/js/ui/status/remoteAccess.js +++ b/js/ui/status/remoteAccess.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported RemoteAccessApplet */ const Meta = imports.gi.Meta; diff --git a/js/ui/status/rfkill.js b/js/ui/status/rfkill.js index 8cf4d157d..9afb5ac90 100644 --- a/js/ui/status/rfkill.js +++ b/js/ui/status/rfkill.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported Indicator */ const Gio = imports.gi.Gio; const Signals = imports.signals; diff --git a/js/ui/status/screencast.js b/js/ui/status/screencast.js index 4f147e0ea..df248309d 100644 --- a/js/ui/status/screencast.js +++ b/js/ui/status/screencast.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported Indicator */ const Main = imports.ui.main; const PanelMenu = imports.ui.panelMenu; diff --git a/js/ui/status/system.js b/js/ui/status/system.js index 6c2e2c8e2..2b2d99184 100644 --- a/js/ui/status/system.js +++ b/js/ui/status/system.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported Indicator */ const { AccountsService, Clutter, GLib, GObject, Shell, St } = imports.gi; diff --git a/js/ui/status/thunderbolt.js b/js/ui/status/thunderbolt.js index 8ce1652e3..6c9fbd892 100644 --- a/js/ui/status/thunderbolt.js +++ b/js/ui/status/thunderbolt.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported Indicator */ // the following is a modified version of bolt/contrib/js/client.js diff --git a/js/ui/status/volume.js b/js/ui/status/volume.js index c236805af..6c9e3d08d 100644 --- a/js/ui/status/volume.js +++ b/js/ui/status/volume.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported Indicator */ const { Clutter, Gio, Gvc, St } = imports.gi; const Signals = imports.signals; diff --git a/js/ui/switchMonitor.js b/js/ui/switchMonitor.js index b1673408c..4764aec5f 100644 --- a/js/ui/switchMonitor.js +++ b/js/ui/switchMonitor.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported SwitchMonitorPopup */ const { Clutter, GObject, Meta, St } = imports.gi; diff --git a/js/ui/switcherPopup.js b/js/ui/switcherPopup.js index 6e0690809..ec507bc0f 100644 --- a/js/ui/switcherPopup.js +++ b/js/ui/switcherPopup.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported SwitcherPopup, SwitcherList */ const { Clutter, GLib, GObject, Meta, St } = imports.gi; const Mainloop = imports.mainloop; diff --git a/js/ui/tweener.js b/js/ui/tweener.js index f3428e1f4..28a96fd8b 100644 --- a/js/ui/tweener.js +++ b/js/ui/tweener.js @@ -1,4 +1,7 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported init, addCaller, addTween, getTweenCount, removeTweens, + pauseTweens, resumeTweens, registerSpecialProperty, + registerSpecialPropertyModifier, registerSpecialPropertySplitter */ const { Clutter, GLib, Shell, St } = imports.gi; const Signals = imports.signals; diff --git a/js/ui/unlockDialog.js b/js/ui/unlockDialog.js index 527c785e0..08dbfdd06 100644 --- a/js/ui/unlockDialog.js +++ b/js/ui/unlockDialog.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported UnlockDialog */ const { AccountsService, Atk, Clutter, Gdm, Gio, GLib, Meta, Shell, St } = imports.gi; diff --git a/js/ui/userWidget.js b/js/ui/userWidget.js index 44237d9df..232a5f181 100644 --- a/js/ui/userWidget.js +++ b/js/ui/userWidget.js @@ -1,6 +1,7 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- // // A widget showing the user avatar and name +/* exported UserWidget */ const { Clutter, GLib, GObject, St } = imports.gi; diff --git a/js/ui/viewSelector.js b/js/ui/viewSelector.js index acbf5a0ad..b43544ea1 100644 --- a/js/ui/viewSelector.js +++ b/js/ui/viewSelector.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported ViewSelector */ const { Clutter, Gio, GObject, Meta, Shell, St } = imports.gi; const Signals = imports.signals; diff --git a/js/ui/windowAttentionHandler.js b/js/ui/windowAttentionHandler.js index 701f97e88..ebba20806 100644 --- a/js/ui/windowAttentionHandler.js +++ b/js/ui/windowAttentionHandler.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported WindowAttentionHandler */ const Shell = imports.gi.Shell; diff --git a/js/ui/windowManager.js b/js/ui/windowManager.js index 0d6429a17..c732a62d9 100644 --- a/js/ui/windowManager.js +++ b/js/ui/windowManager.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported WindowManager */ const { Clutter, Gio, GLib, GObject, Meta, Shell, St } = imports.gi; const Mainloop = imports.mainloop; diff --git a/js/ui/windowMenu.js b/js/ui/windowMenu.js index ed161765e..58ef841d4 100644 --- a/js/ui/windowMenu.js +++ b/js/ui/windowMenu.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -* +/* exported WindowMenuManager */ const { GLib, Meta, St } = imports.gi; diff --git a/js/ui/workspace.js b/js/ui/workspace.js index b88d9cc7b..6ee1e0f50 100644 --- a/js/ui/workspace.js +++ b/js/ui/workspace.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported Workspace */ const { Atk, Clutter, GLib, GObject, Meta, Pango, Shell, St } = imports.gi; const Mainloop = imports.mainloop; diff --git a/js/ui/workspaceSwitcherPopup.js b/js/ui/workspaceSwitcherPopup.js index 0075fc7ec..ca1f0d2a7 100644 --- a/js/ui/workspaceSwitcherPopup.js +++ b/js/ui/workspaceSwitcherPopup.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported WorkspaceSwitcherPopup */ const { Clutter, GLib, GObject, Meta, St } = imports.gi; const Mainloop = imports.mainloop; diff --git a/js/ui/workspaceThumbnail.js b/js/ui/workspaceThumbnail.js index d639386b4..b2b7eeb9c 100644 --- a/js/ui/workspaceThumbnail.js +++ b/js/ui/workspaceThumbnail.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported WorkspaceThumbnail, ThumbnailsBox */ const { Clutter, Gio, GLib, GObject, Meta, Shell, St } = imports.gi; const Mainloop = imports.mainloop; diff --git a/js/ui/workspacesView.js b/js/ui/workspacesView.js index 57227c0e1..7a7f9666e 100644 --- a/js/ui/workspacesView.js +++ b/js/ui/workspacesView.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported WorkspacesView */ const { Clutter, Gio, GObject, Meta, Shell, St } = imports.gi; const Signals = imports.signals;