On Mon, 2010-04-26 at 14:58 +0800, Jason Heeris wrote:
> Hi,
> 
> The Nautilus menu provider interface includes the function:
> nautilus_menu_provider_emit_items_updated_signal()
> 
> What does this function do (and how should it be used)? Presumably it
> relates to refreshing menu items, but can it be used for the
> "background" menu (obtained by get_background_items)? It's not in the
> nautilus-python bindings... does that mean it can't be used by Python
> extensions?

It signals that any view showing things that depend on this provider
should recreate its popup menu to get the new list of menu items from
the provider.

nautilus_menu_provider_emit_items_updated_signal just emits the
"items_updated" signal on the provider, so you can do that yourself from
python.


-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
       [email protected]            [email protected] 
He's a deeply religious zombie vampire hunter living undercover at Ringling 
Bros. Circus. She's a psychotic mutant angel who believes she is the 
reincarnation of an ancient Egyptian queen. They fight crime! 

-- 
nautilus-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/nautilus-list

Reply via email to