mirror of
https://gitlab.gnome.org/GNOME/gitg
synced 2024-08-27 20:09:23 +00:00
Emit signals when activating rows
This commit is contained in:
parent
a72e3f0dac
commit
a3c3b5caed
|
@ -419,6 +419,21 @@ public class Sidebar : Gtk.TreeView
|
|||
});
|
||||
}
|
||||
|
||||
protected override void row_activated(Gtk.TreePath path, Gtk.TreeViewColumn column)
|
||||
{
|
||||
if (model.clearing)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
Gtk.TreeIter iter;
|
||||
|
||||
if (model.get_iter(out iter, path))
|
||||
{
|
||||
model.activate(iter, 2);
|
||||
}
|
||||
}
|
||||
|
||||
public new SidebarStore model
|
||||
{
|
||||
get { return base.get_model() as SidebarStore; }
|
||||
|
|
Loading…
Reference in a new issue