diff-view: get the selection notification from the renderer

This commit is contained in:
Ignacio Casal Quinteiro 2016-02-04 18:31:20 +01:00
parent 395711b42b
commit 076e5df5b6

View file

@ -333,7 +333,7 @@ public class Gitg.DiffView : Gtk.Grid
if (current_file != null)
{
current_file.show();
current_file.notify["has-selection"].connect(on_selection_changed);
current_file.renderer.notify["has-selection"].connect(on_selection_changed);
files.add(current_file);