Example #1
0
 def __new__(cls, variety):
     builder = get_builder("AddWallhavenDialog")
     new_object = builder.get_object("add_wallhaven_dialog")
     new_object.finish_initializing(builder)
     new_object.options = variety.options
     new_object.ui.apikey.set_text((variety.options.wallhaven_api_key
                                    or "").strip())
     return new_object
Example #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 SmartFeaturesConfirmationDialog object.
     """
     builder = get_builder('SmartFeaturesConfirmationDialog')
     new_object = builder.get_object('smart_features_confirmation_dialog')
     new_object.finish_initializing(builder)
     return new_object
Example #3
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 AddPanoramioDialog object.
     """
     builder = get_builder('AddPanoramioDialog')
     new_object = builder.get_object('add_panoramio_dialog')
     new_object.finish_initializing(builder)
     return new_object
 def __new__(cls):
     """Special static method that's automatically called by Python when 
     constructing a new instance of this class.
     
     Returns a fully instantiated EditFavoriteOperationsDialog object.
     """
     builder = get_builder("EditFavoriteOperationsDialog")
     new_object = builder.get_object("edit_favorite_operations_dialog")
     new_object.finish_initializing(builder)
     return new_object
 def __new__(cls):
     """Special static method that's automatically called by Python when 
     constructing a new instance of this class.
     
     Returns a fully instantiated LoginOrRegisterDialog object.
     """
     builder = get_builder('LoginOrRegisterDialog')
     new_object = builder.get_object('login_or_register_dialog')
     new_object.finish_initializing(builder)
     return new_object
Example #6
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 WelcomeDialog object.
     """
     builder = get_builder("WelcomeDialog")
     new_object = builder.get_object("welcome_dialog")
     new_object.finish_initializing(builder)
     return new_object
 def __new__(cls):
     """Special static method that's automatically called by Python when 
     constructing a new instance of this class.
     
     Returns a fully instantiated FacebookFirstRunDialog object.
     """
     builder = get_builder('FacebookFirstRunDialog')
     new_object = builder.get_object('facebook_first_run_dialog')
     new_object.finish_initializing(builder)
     return new_object
 def __new__(cls):
     """Special static method that's automatically called by Python when 
     constructing a new instance of this class.
     
     Returns a fully instantiated SmartFeaturesConfirmationDialog object.
     """
     builder = get_builder('SmartFeaturesConfirmationDialog')
     new_object = builder.get_object('smart_features_confirmation_dialog')
     new_object.finish_initializing(builder)
     return new_object
 def __new__(cls):
     """Special static method that's automatically called by Python when 
     constructing a new instance of this class.
     
     Returns a fully instantiated EditFavoriteOperationsDialog object.
     """
     builder = get_builder("EditFavoriteOperationsDialog")
     new_object = builder.get_object("edit_favorite_operations_dialog")
     new_object.finish_initializing(builder)
     return new_object
Example #10
0
 def __new__(cls):
     builder = get_builder("AddConfigurableDialog")
     new_object = builder.get_object("add_configurable_dialog")
     new_object.finish_initializing(builder)
     return new_object
Example #11
0
 def __new__(cls):
     builder = get_builder("AddRedditDialog")
     new_object = builder.get_object("add_reddit_dialog")
     new_object.finish_initializing(builder)
     return new_object
Example #12
0
 def __new__(cls):
     builder = get_builder("AddWallhavenDialog")
     new_object = builder.get_object("add_wallhaven_dialog")
     new_object.finish_initializing(builder)
     return new_object
Example #13
0
 def __new__(cls):
     builder = get_builder("AddMediaRssDialog")
     new_object = builder.get_object("add_media_rss_dialog")
     new_object.finish_initializing(builder)
     return new_object
Example #14
0
 def __new__(cls):
     builder = get_builder('AddMediaRssDialog')
     new_object = builder.get_object('add_media_rss_dialog')
     new_object.finish_initializing(builder)
     return new_object
Example #15
0
 def __new__(cls):
     builder = get_builder('AddRedditDialog')
     new_object = builder.get_object('add_reddit_dialog')
     new_object.finish_initializing(builder)
     return new_object
Example #16
0
 def __new__(cls):
     builder = get_builder('AddWallhavenDialog')
     new_object = builder.get_object('add_wallhaven_dialog')
     new_object.finish_initializing(builder)
     return new_object