]> git.sesse.net Git - vlc/commitdiff
addons: installer/fetcher: set NO_INTERACT
authorFrancois Cartegnie <fcvlcdev@free.fr>
Fri, 1 Aug 2014 02:10:29 +0000 (11:10 +0900)
committerFrancois Cartegnie <fcvlcdev@free.fr>
Fri, 1 Aug 2014 02:17:41 +0000 (11:17 +0900)
src/misc/addons.c

index 6a99ed757b67e9a0b5c21397e1bb3b398827ffce..5c2ed3dfb0be602667a4f078a372dbaa41f7c309 100644 (file)
@@ -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 );