[vlc-commits] addons: installer/fetcher: set NO_INTERACT
Francois Cartegnie
git at videolan.org
Sat Aug 2 22:29:52 CEST 2014
vlc/vlc-2.2 | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri Aug 1 11:10:29 2014 +0900| [7efb8d22a16eee045e577eda4e2bb8e86c42eb26] | committer: Jean-Baptiste Kempf
addons: installer/fetcher: set NO_INTERACT
(cherry picked from commit 2adca6f5ca17fb94dda68831381f466572d2e163)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=7efb8d22a16eee045e577eda4e2bb8e86c42eb26
---
src/misc/addons.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/misc/addons.c b/src/misc/addons.c
index 6a99ed7..5c2ed3d 100644
--- a/src/misc/addons.c
+++ b/src/misc/addons.c
@@ -301,6 +301,7 @@ static void LoadLocalStorage( addons_manager_t *p_manager )
{
addons_finder_t *p_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",
"addons.store.list", true );
@@ -339,6 +340,7 @@ static void *FinderThread( void *p_data )
addons_finder_t *p_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();
if( p_finder != NULL )
@@ -379,6 +381,7 @@ static int addons_manager_WriteCatalog( addons_manager_t *p_manager )
addons_storage_t *p_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",
"addons.store.install", true );
@@ -407,6 +410,7 @@ static int installOrRemoveAddon( addons_manager_t *p_manager, addon_entry_t *p_e
addons_storage_t *p_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",
"addons.store.install", true );
More information about the vlc-commits
mailing list