示例#1
0
        public static MimeApplication NewFromId(string id)
        {
            IntPtr          native_id = GLib.Marshaller.StringToPtrGStrdup(id);
            MimeApplication result    = new MimeApplication(gnome_vfs_mime_application_new_from_id(native_id));

            GLib.Marshaller.Free(native_id);
            return(result);
        }
示例#2
0
		private void OpenWith (Gnome.Vfs.MimeApplication mime_application)
		{
			GLib.List uri_list = new GLib.List (typeof (string));
			uri_list.Append (Hit.EscapedUri);
			mime_application.Launch (uri_list);
		}