Beispiel #1
0
        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();
            }
        }
Beispiel #2
0
 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 ();
     }
 }