diff options
Diffstat (limited to 'src/analysis')
| -rw-r--r-- | src/analysis/project.c | 8 | 
1 files changed, 5 insertions, 3 deletions
| diff --git a/src/analysis/project.c b/src/analysis/project.c index 88b468a..b4108ff 100644 --- a/src/analysis/project.c +++ b/src/analysis/project.c @@ -999,14 +999,16 @@ static void on_loaded_content_analyzed(GLoadedContent *content, gboolean success  {      const char *desc;                       /* Description du contenu      */ +    desc = g_loaded_content_describe(content, true); +      if (success) +    {          g_study_project_attach_content(project, content); +        log_variadic_message(LMT_INFO, _("Content from '%s' has been analyzed successfully!"), desc); +    }      else -    { -        desc = g_loaded_content_describe(content, true);          log_variadic_message(LMT_ERROR, _("Failed to load '%s'"), desc); -    }      g_object_ref(G_OBJECT(content)); | 
