Commit 7efb8d22 authored by Francois Cartegnie's avatar Francois Cartegnie Committed by Jean-Baptiste Kempf

addons: installer/fetcher: set NO_INTERACT

(cherry picked from commit 2adca6f5ca17fb94dda68831381f466572d2e163)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent cca33e15
...@@ -301,6 +301,7 @@ static void LoadLocalStorage( addons_manager_t *p_manager ) ...@@ -301,6 +301,7 @@ static void LoadLocalStorage( addons_manager_t *p_manager )
{ {
addons_finder_t *p_finder = addons_finder_t *p_finder =
vlc_custom_create( p_manager->p_priv->p_parent, sizeof( *p_finder ), "entries finder" ); vlc_custom_create( p_manager->p_priv->p_parent, sizeof( *p_finder ), "entries finder" );
p_finder->i_flags |= OBJECT_FLAGS_NOINTERACT;
module_t *p_module = module_need( p_finder, "addons finder", module_t *p_module = module_need( p_finder, "addons finder",
"addons.store.list", true ); "addons.store.list", true );
...@@ -339,6 +340,7 @@ static void *FinderThread( void *p_data ) ...@@ -339,6 +340,7 @@ static void *FinderThread( void *p_data )
addons_finder_t *p_finder = addons_finder_t *p_finder =
vlc_custom_create( p_manager->p_priv->p_parent, sizeof( *p_finder ), "entries finder" ); vlc_custom_create( p_manager->p_priv->p_parent, sizeof( *p_finder ), "entries finder" );
p_finder->i_flags |= OBJECT_FLAGS_NOINTERACT;
i_cancel = vlc_savecancel(); i_cancel = vlc_savecancel();
if( p_finder != NULL ) if( p_finder != NULL )
...@@ -379,6 +381,7 @@ static int addons_manager_WriteCatalog( addons_manager_t *p_manager ) ...@@ -379,6 +381,7 @@ static int addons_manager_WriteCatalog( addons_manager_t *p_manager )
addons_storage_t *p_storage = addons_storage_t *p_storage =
vlc_custom_create( p_manager->p_priv->p_parent, sizeof( *p_storage ), "entries storage" ); vlc_custom_create( p_manager->p_priv->p_parent, sizeof( *p_storage ), "entries storage" );
p_storage->i_flags |= OBJECT_FLAGS_NOINTERACT;
module_t *p_module = module_need( p_storage, "addons storage", module_t *p_module = module_need( p_storage, "addons storage",
"addons.store.install", true ); "addons.store.install", true );
...@@ -407,6 +410,7 @@ static int installOrRemoveAddon( addons_manager_t *p_manager, addon_entry_t *p_e ...@@ -407,6 +410,7 @@ static int installOrRemoveAddon( addons_manager_t *p_manager, addon_entry_t *p_e
addons_storage_t *p_storage = addons_storage_t *p_storage =
vlc_custom_create( p_manager->p_priv->p_parent, sizeof( *p_storage ), "entries storage" ); vlc_custom_create( p_manager->p_priv->p_parent, sizeof( *p_storage ), "entries storage" );
p_storage->i_flags |= OBJECT_FLAGS_NOINTERACT;
module_t *p_module = module_need( p_storage, "addons storage", module_t *p_module = module_need( p_storage, "addons storage",
"addons.store.install", true ); "addons.store.install", true );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment