[vlc-commits] addons: installer/fetcher: set NO_INTERACT

Francois Cartegnie git at videolan.org
Fri Aug 1 04:18:32 CEST 2014


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri Aug  1 11:10:29 2014 +0900| [2adca6f5ca17fb94dda68831381f466572d2e163] | committer: Francois Cartegnie

addons: installer/fetcher: set NO_INTERACT

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2adca6f5ca17fb94dda68831381f466572d2e163
---

 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