protected virtual void OnActionsRowActivated(object o, Gtk.RowActivatedArgs args) { TreeIter iter; if (!actionModel.GetIter(out iter, args.Path)) { return; } if (actionModel.IterDepth(iter) == 0) { var value = (string)actionModel.GetValue(iter, 0); var window = new ActionInvocationWindow(service, service.Actions[value]); window.ShowAll(); } }
protected virtual void OnActionsRowActivated (object o, Gtk.RowActivatedArgs args) { TreeIter iter; if (!actionModel.GetIter (out iter, args.Path)) { return; } if (actionModel.IterDepth (iter) == 0) { var value = (string)actionModel.GetValue (iter, 0); var window = new ActionInvocationWindow (service, service.Actions[value]); window.ShowAll (); } }