private void on_add_sharing(object o, EventArgs args)
 {
     ContactPicker cp = new ContactPicker();
        cp.TransientFor = (Gtk.Window) SharingVBox.Toplevel;
        cp.AddrBookManager = abMan;
        if(cp.Run() == -5)
        {
     foreach(Contact c in cp.Contacts)
     {
      ShareWithContact(c);
     }
        }
 }
Esempio n. 2
0
 public void on_show_picker(object o, EventArgs args)
 {
     ContactPicker cp = new ContactPicker();
        cp.AddrBookManager = abMan;
        cp.Run();
 }