mirror of
https://gitlab.gnome.org/GNOME/gitg
synced 2024-10-05 23:50:07 +00:00
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:
parent
79dc7d1906
commit
8c7236ad48
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue