Esempio n. 1
0
 def __new__(cls):
     """Special static method that's automatically called by Python when 
     constructing a new instance of this class.
     
     Returns a fully instantiated DeleteerrorDialog object.
     """
     builder = get_builder('DeleteerrorDialog')
     new_object = builder.get_object('deleteerror_dialog')
     new_object.finish_initializing(builder)
     return new_object
Esempio n. 2
0
 def __new__(cls):
     """Special static method that's automatically called by Python when 
     constructing a new instance of this class.
     
     Returns a fully instantiated OpenpasswordDialog object.
     """
     builder = get_builder('OpenpasswordDialog')
     new_object = builder.get_object('openpassword_dialog')
     new_object.finish_initializing(builder)
     return new_object