[POS-commit] r90 - stoqlib/stoqlib/interface

Evandro Vale Miquelito evandro at async.com.br
Wed Mar 9 10:13:24 BRT 2005


Author: evandro
Date: 2005-03-09 10:13:23 -0300 (Wed, 09 Mar 2005)
New Revision: 90

Modified:
   stoqlib/stoqlib/interface/services.py
Log:

Removing wrong reference to cache module(dead module).


Modified: stoqlib/stoqlib/interface/services.py
===================================================================
--- stoqlib/stoqlib/interface/services.py	2005-03-09 13:00:05 UTC (rev 89)
+++ stoqlib/stoqlib/interface/services.py	2005-03-09 13:13:23 UTC (rev 90)
@@ -36,7 +36,6 @@
 from gtk import timeout_add
 from types import ListType, TupleType
 
-from cache import cache 
 from dialogs import NotifyDialog
 
 """ Service classes """ 
@@ -127,7 +126,7 @@
     - *args, **kwargs: the arguments which should be used on dialog_class
       instantiation;
     """
-    d = cache.get_dialog(dialog_class, *args, **kwargs)
+    d = dialog_class(*args, **kwargs)
     if not isinstance(parent, AbstractView):
         parent = None
     # If parent is a slaveview, use GTK+ calls to get the toplevel



More information about the POS-commit mailing list