Preferences/ConfigurationPages/NotificationsPage.py

changeset 2408
dc3a7c9d8f6e
parent 2302
f29e9405c851
child 2525
8b507a9a2d40
child 2964
84b65fb9e780
diff -r b98cc8ee1142 -r dc3a7c9d8f6e Preferences/ConfigurationPages/NotificationsPage.py
--- a/Preferences/ConfigurationPages/NotificationsPage.py	Sun Feb 10 19:46:21 2013 +0100
+++ b/Preferences/ConfigurationPages/NotificationsPage.py	Mon Feb 11 14:08:08 2013 +0100
@@ -13,8 +13,6 @@
 from .ConfigurationPageBase import ConfigurationPageBase
 from .Ui_NotificationsPage import Ui_NotificationsPage
 
-from UI.NotificationWidget import NotificationWidget
-
 import Preferences
 import UI.PixmapCache
 
@@ -73,6 +71,7 @@
         @param checked state of the button (boolean)
         """
         if checked:
+            from UI.NotificationWidget import NotificationWidget
             self.__notification = NotificationWidget(parent=self, setPosition=True)
             self.__notification.setPixmap(UI.PixmapCache.getPixmap("notification48.png"))
             self.__notification.setHeading(self.trUtf8("Visual Selection"))

eric ide

mercurial