From a860d0cde813a74e30802ecb547f2bca3337c9e8 Mon Sep 17 00:00:00 2001 From: Laurent BERNABE Date: Mon, 30 May 2011 14:19:44 +0000 Subject: Corrected imports in *.py files --- diff --git a/Launcher.py b/Launcher.py index 10208c6..74bd54d 100755 --- a/Launcher.py +++ b/Launcher.py @@ -22,11 +22,9 @@ from gettext import gettext as _ from sugar.activity import activity -from com.gmail.bernabe.laurent.sugar_olpc.learning_writing.gui.MenuActions \ -import MenuActions +from MenuActions import MenuActions -from com.gmail.bernabe.laurent.sugar_olpc.learning_writing.gui.TheDrawingAreaEventBox \ -import TheDrawingAreaEventBox +from TheDrawingAreaEventBox import TheDrawingAreaEventBox import pygtk pygtk.require('2.0') diff --git a/MenuActions.py b/MenuActions.py index 1b81f48..815bed1 100755 --- a/MenuActions.py +++ b/MenuActions.py @@ -20,8 +20,7 @@ # St, Fifth Floor, Boston, MA 02110-1301 USA from gettext import gettext as _ -from com.gmail.bernabe.laurent.sugar_olpc.learning_writing.gui.InputDialog import \ - InputDialog +from InputDialog import InputDialog import pygtk pygtk.require('2.0') diff --git a/PurePyGTKLauncher.py b/PurePyGTKLauncher.py index bdf291a..b3b69d3 100755 --- a/PurePyGTKLauncher.py +++ b/PurePyGTKLauncher.py @@ -20,7 +20,7 @@ # St, Fifth Floor, Boston, MA 02110-1301 USA import gtk -from com.gmail.bernabe.laurent.sugar_olpc.learning_writing.pure_pygtk_launcher.TheWindow import TheWindow +from TheWindow import TheWindow if __name__ == '__main__': TheWindow() diff --git a/TheWindow.py b/TheWindow.py index 3ea365b..6bdaed9 100755 --- a/TheWindow.py +++ b/TheWindow.py @@ -21,15 +21,12 @@ import pygtk -from com.gmail.bernabe.laurent.sugar_olpc.learning_writing.gui.MenuActions \ -import MenuActions +from MenuActions import MenuActions pygtk.require('2.0') import gtk -from \ -com.gmail.bernabe.laurent.sugar_olpc.learning_writing.gui.TheDrawingAreaEventBox \ -import TheDrawingAreaEventBox +from TheDrawingAreaEventBox import TheDrawingAreaEventBox class TheWindow(gtk.Window): ''' -- cgit v0.9.1