From e875b9cdcaaf26b82171c8459726e46111a55463 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Wed, 25 Jul 2012 08:47:15 -0300 Subject: [PATCH] status: Clean up imports https://bugzilla.gnome.org/show_bug.cgi?id=680426 --- js/ui/status/accessibility.js | 8 -------- js/ui/status/bluetooth.js | 5 ----- js/ui/status/keyboard.js | 3 --- js/ui/status/network.js | 3 --- js/ui/status/power.js | 4 ---- js/ui/status/volume.js | 5 ----- 6 files changed, 28 deletions(-) diff --git a/js/ui/status/accessibility.js b/js/ui/status/accessibility.js index 35cd6fece..9cdc62531 100644 --- a/js/ui/status/accessibility.js +++ b/js/ui/status/accessibility.js @@ -1,18 +1,10 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- -const GDesktopEnums = imports.gi.GDesktopEnums; const Gio = imports.gi.Gio; -const Gtk = imports.gi.Gtk; const Lang = imports.lang; -const Mainloop = imports.mainloop; -const Shell = imports.gi.Shell; -const Signals = imports.signals; -const St = imports.gi.St; -const Main = imports.ui.main; const PanelMenu = imports.ui.panelMenu; const PopupMenu = imports.ui.popupMenu; -const Util = imports.misc.util; const A11Y_SCHEMA = 'org.gnome.desktop.a11y.keyboard'; const KEY_STICKY_KEYS_ENABLED = 'stickykeys-enable'; diff --git a/js/ui/status/bluetooth.js b/js/ui/status/bluetooth.js index 7df1006c7..c9ba1fc87 100644 --- a/js/ui/status/bluetooth.js +++ b/js/ui/status/bluetooth.js @@ -1,16 +1,11 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- const Clutter = imports.gi.Clutter; -const Gdk = imports.gi.Gdk; const GLib = imports.gi.GLib; -const Gio = imports.gi.Gio; const GnomeBluetoothApplet = imports.gi.GnomeBluetoothApplet; const GnomeBluetooth = imports.gi.GnomeBluetooth; -const Gtk = imports.gi.Gtk; const Lang = imports.lang; -const Mainloop = imports.mainloop; const St = imports.gi.St; -const Shell = imports.gi.Shell; const Main = imports.ui.main; const MessageTray = imports.ui.messageTray; diff --git a/js/ui/status/keyboard.js b/js/ui/status/keyboard.js index ce32d0192..4a3fdc704 100644 --- a/js/ui/status/keyboard.js +++ b/js/ui/status/keyboard.js @@ -1,12 +1,9 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- -const Clutter = imports.gi.Clutter; -const GdkPixbuf = imports.gi.GdkPixbuf; const Gio = imports.gi.Gio; const GLib = imports.gi.GLib; const GnomeDesktop = imports.gi.GnomeDesktop; const Lang = imports.lang; -const Mainloop = imports.mainloop; const Shell = imports.gi.Shell; const St = imports.gi.St; diff --git a/js/ui/status/network.js b/js/ui/status/network.js index 301ebcb01..82dbbcf55 100644 --- a/js/ui/status/network.js +++ b/js/ui/status/network.js @@ -1,12 +1,9 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- -const ByteArray = imports.byteArray; const GLib = imports.gi.GLib; const GObject = imports.gi.GObject; const Lang = imports.lang; -const Mainloop = imports.mainloop; const NetworkManager = imports.gi.NetworkManager; const NMClient = imports.gi.NMClient; -const Shell = imports.gi.Shell; const Signals = imports.signals; const St = imports.gi.St; diff --git a/js/ui/status/power.js b/js/ui/status/power.js index 8d2e00bfd..c887406b0 100644 --- a/js/ui/status/power.js +++ b/js/ui/status/power.js @@ -2,14 +2,10 @@ const Gio = imports.gi.Gio; const Lang = imports.lang; -const Mainloop = imports.mainloop; -const Shell = imports.gi.Shell; const St = imports.gi.St; -const Main = imports.ui.main; const PanelMenu = imports.ui.panelMenu; const PopupMenu = imports.ui.popupMenu; -const Util = imports.misc.util; const BUS_NAME = 'org.gnome.SettingsDaemon'; const OBJECT_PATH = '/org/gnome/SettingsDaemon/Power'; diff --git a/js/ui/status/volume.js b/js/ui/status/volume.js index 9a085a24b..550788776 100644 --- a/js/ui/status/volume.js +++ b/js/ui/status/volume.js @@ -2,16 +2,11 @@ const Clutter = imports.gi.Clutter; const Lang = imports.lang; -const Mainloop = imports.mainloop; -const Shell = imports.gi.Shell; const Gvc = imports.gi.Gvc; -const Signals = imports.signals; const St = imports.gi.St; -const Main = imports.ui.main; const PanelMenu = imports.ui.panelMenu; const PopupMenu = imports.ui.popupMenu; -const Util = imports.misc.util; const VOLUME_ADJUSTMENT_STEP = 0.05; /* Volume adjustment step in % */