Remove a lot of unused imports
Signed-off-by: Daniel Narvaez <dwnarvaez@gmail.com>
This commit is contained in:
parent
a3cda7c49f
commit
db448c4eea
@ -1,6 +1,6 @@
|
||||
from gi.repository import Gtk
|
||||
|
||||
from sugar3.graphics.alert import Alert, TimeoutAlert
|
||||
from sugar3.graphics.alert import TimeoutAlert
|
||||
|
||||
def _destroy_cb(widget, data=None):
|
||||
Gtk.main_quit()
|
||||
|
@ -3,8 +3,6 @@ from gi.repository import Gtk
|
||||
from sugar3.graphics.radiopalette import RadioPalette, RadioMenuButton, \
|
||||
RadioToolsButton
|
||||
from sugar3.graphics.radiotoolbutton import RadioToolButton
|
||||
from sugar3.graphics.toolbutton import ToolButton
|
||||
from sugar3.graphics import style
|
||||
|
||||
window = Gtk.Window()
|
||||
|
||||
|
@ -2,7 +2,6 @@ from gi.repository import Gtk
|
||||
|
||||
from sugar3.graphics.toolbutton import ToolButton
|
||||
from sugar3.graphics.toolbarbox import ToolbarBox, ToolbarButton
|
||||
from sugar3.graphics import style
|
||||
|
||||
window = Gtk.Window()
|
||||
|
||||
|
@ -21,13 +21,11 @@ from gi.repository import Gdk
|
||||
from gi.repository import Gtk
|
||||
import gettext
|
||||
from gi.repository import GConf
|
||||
import logging
|
||||
|
||||
from sugar3.graphics.toolbutton import ToolButton
|
||||
from sugar3.graphics.toolbarbox import ToolbarButton
|
||||
from sugar3.graphics.radiopalette import RadioPalette, RadioMenuButton
|
||||
from sugar3.graphics.radiotoolbutton import RadioToolButton
|
||||
from sugar3.graphics.toolbox import Toolbox
|
||||
from sugar3.graphics.xocolor import XoColor
|
||||
from sugar3.graphics.icon import Icon
|
||||
from sugar3.bundle.activitybundle import ActivityBundle
|
||||
|
@ -26,10 +26,8 @@ import os
|
||||
import shutil
|
||||
import tempfile
|
||||
import logging
|
||||
import warnings
|
||||
|
||||
from sugar3 import env
|
||||
from sugar3 import util
|
||||
from sugar3.bundle.bundle import Bundle, \
|
||||
MalformedBundleException, NotInstalledException
|
||||
from sugar3.bundle.bundleversion import NormalizedVersion
|
||||
|
@ -32,7 +32,6 @@ from gi.repository import GdkPixbuf
|
||||
from gi.repository import Rsvg
|
||||
import cairo
|
||||
|
||||
from sugar3.graphics import style
|
||||
from sugar3.graphics.xocolor import XoColor
|
||||
from sugar3.util import LRU
|
||||
|
||||
|
@ -27,7 +27,6 @@ from gi.repository import Gtk
|
||||
from gi.repository import GObject
|
||||
from gi.repository import Pango
|
||||
|
||||
from sugar3.graphics import palettegroup
|
||||
from sugar3.graphics import animator
|
||||
from sugar3.graphics import style
|
||||
from sugar3.graphics.icon import Icon
|
||||
|
@ -14,8 +14,6 @@
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
import logging
|
||||
|
||||
from gi.repository import GObject
|
||||
from gi.repository import Gtk
|
||||
from gi.repository import Pango
|
||||
|
@ -26,7 +26,6 @@ import os
|
||||
import logging
|
||||
|
||||
from gi.repository import Gdk
|
||||
from gi.repository import Gtk
|
||||
from gi.repository import Pango
|
||||
from gi.repository import GConf
|
||||
|
||||
|
@ -24,7 +24,6 @@ from gi.repository import GObject
|
||||
from gi.repository import Gdk
|
||||
from gi.repository import GdkX11
|
||||
from gi.repository import Gtk
|
||||
import warnings
|
||||
|
||||
from sugar3.graphics.icon import Icon
|
||||
from sugar3.graphics import palettegroup
|
||||
|
@ -23,7 +23,6 @@ Test the sugar3.graphics.progressicon.ProgressIcon widget.
|
||||
from gi.repository import GObject
|
||||
|
||||
from sugar3.graphics.progressicon import ProgressIcon
|
||||
from sugar3.graphics.icon import Icon, get_surface
|
||||
from sugar3.graphics import style
|
||||
|
||||
import common
|
||||
|
@ -21,9 +21,6 @@ Spec in ticket #2999.
|
||||
|
||||
from gi.repository import Gtk
|
||||
|
||||
from sugar3.graphics.palette import Palette
|
||||
from sugar3.graphics.icon import Icon
|
||||
|
||||
import common
|
||||
|
||||
test = common.Test()
|
||||
|
@ -17,7 +17,6 @@
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
import sys
|
||||
import unittest
|
||||
|
||||
from sugar import mime
|
||||
|
Loading…
Reference in New Issue
Block a user