Commit 391a58ea authored by Marcin Kolny's avatar Marcin Kolny Committed by Andrés G. Aragoneses

Fixup: allow status msg tweaks by solvers (bgo#734187)

Signed-off-by: 's avatarAndrés G. Aragoneses <knocte@gmail.com>
parent 991942ad
......@@ -116,6 +116,12 @@ namespace Banshee.Fixup
return true;
}
public override void SetStatus (string message, bool can_close, bool is_spinning, string icon_name)
{
base.SetStatus (message, can_close, is_spinning, icon_name);
problem_model.Solver.SetStatus (status_message, PreferencesPageId);
}
public override string PreferencesPageId {
get { return page == null ? String.Empty : page.Id; }
}
......
......@@ -32,6 +32,7 @@ using Mono.Unix;
using Hyena.Data.Sqlite;
using Banshee.Sources;
using Banshee.ServiceStack;
using Banshee.Configuration;
......@@ -109,6 +110,10 @@ namespace Banshee.Fixup
protected abstract void IdentifyCore ();
public abstract void Fix (IEnumerable<Problem> problems);
public virtual void SetStatus (SourceMessage status_message, string preferences_page_id)
{
}
}
public abstract class DuplicateSolver : Solver
......
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