• Maciej Stachowiak's avatar
    This is Maciej checking in Martin's fix for 3691. Credit to him, · b1d1b652
    Maciej Stachowiak authored
    	blame to me.
    
    	* components/adapter/nautilus-adapter-embed-strategy.h
    	(NautilusAdapterEmbedStrategyClass): Added "activate" and "deactivate"
    	signals.
    	(nautilus_adapter_embed_strategy_get): Removed ui_container argument.
    	(nautilus_adapter_embed_strategy_activate): New function; emits
    	the "activate" signal.
    	(nautilus_adapter_embed_strategy_deactivate): New function; emits
    	the "deactivate" signal.
    
    	* components/adapter/nautilus-adapter-control-embed-strategy.c
    	(nautilus_adapter_control_embed_strategy_activate): New static function;
    	this is the handler of the "activate" signal.
    	(nautilus_adapter_control_embed_strategy_deactivate): New static function;
    	this is the handler of the "deactivate" signal.
    
    	* components/adapter/nautilus-adapter-embeddable-embed-strategy.c
    	(nautilus_adapter_embeddable_embed_strategy_activate): New static function;
    	this is the handler of the "activate" signal.
    	(nautilus_adapter_embeddable_embed_strategy_deactivate): New static function;
    	this is the handler of the "deactivate" signal.
    
    	* components/adapter/nautilus-adapter.c (nautilus_adapter_activate_callback):
    	New static function; connect this to the "activate" signal of the adapter
    	control.
    b1d1b652
nautilus-adapter-embeddable-embed-strategy.c 7.59 KB