Do not do reloading on repository notify

Currently, the navigation gets reloading twice everytime when the
history view is reloaded, it should only be reloaded on explicitly
invoked.
This commit is contained in:
Techlive Zheng 2013-06-01 03:01:41 +08:00
parent 79dc7d1906
commit 8c7236ad48

View file

@ -100,10 +100,6 @@ namespace GitgHistory
set
{
d_repository = value;
if (d_repository != null)
{
reload();
}
}
}
@ -415,8 +411,11 @@ namespace GitgHistory
public void reload()
{
clear();
populate(d_repository);
if (d_repository != null)
{
clear();
populate(d_repository);
}
}
public void activate(Gtk.TreeIter iter, int numclick)