mirror of
https://gitlab.gnome.org/GNOME/gitg
synced 2024-10-02 14:13:48 +00:00
Allow setting Model Revision Walker
This allows setting Model Revision Walker which will help in sharing multiple walkers across different models
This commit is contained in:
parent
5dc465d8c4
commit
5c172cce71
|
@ -41,7 +41,7 @@ namespace Gitg
|
|||
}
|
||||
|
||||
d_branches = branches;
|
||||
purge_model();
|
||||
purge_model.begin();
|
||||
}
|
||||
|
||||
construct
|
||||
|
|
|
@ -83,6 +83,17 @@ namespace Gitg
|
|||
|
||||
public uint limit { get; set; }
|
||||
|
||||
public Ggit.RevisionWalker walker
|
||||
{
|
||||
set
|
||||
{
|
||||
if(value != null)
|
||||
{
|
||||
d_walker = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public Ggit.SortMode sort_mode
|
||||
{
|
||||
get { return d_sortmode; }
|
||||
|
|
Loading…
Reference in a new issue