~enli/lernid/async-slide-download

« back to all changes in this revision

Viewing changes to lernid/ConnectDialog.py

  • Committer: Michael Budde
  • Date: 2010-03-01 19:51:16 UTC
  • Revision ID: mbudde@gmail.com-20100301195116-redawlrdqkpce8mo
Fix circular import

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
import logging
26
26
 
27
27
from lernid.lernidconfig import get_data_path, save_cache_path
28
 
from lernid.EventManager import EventManager
29
28
 
30
29
class ConnectDialog(gtk.Dialog):
31
30
    __gtype_name__ = "ConnectDialog"
48
47
        initializing the start of the new ConnectDialog instance.
49
48
 
50
49
        """
 
50
        # FIXME: avoid circular import
 
51
        from lernid.EventManager import EventManager
 
52
 
51
53
        #get a reference to the builder and set up the signals
52
54
        self.builder = builder
53
55
        self.builder.connect_signals(self)