void AppendFile(MediaFile file)
        {
            HBox   box;
            Button delButton;

            Gtk.Image     delImage;
            VideoFileInfo fileinfo;

            if (file == null)
            {
                return;
            }
            Files.Add(file);
            box                = new HBox();
            delButton          = new Button();
            delButton.Relief   = ReliefStyle.None;
            delButton.CanFocus = false;
            delImage           = new Gtk.Image("gtk-remove", IconSize.Button);
            delButton.Add(delImage);
            delButton.Clicked += (object sender, EventArgs e) => {
                filesbox.Remove(box);
                Files.Remove(file);
                CheckStatus();
            };
            fileinfo = new VideoFileInfo();
            fileinfo.SetMediaFile(file);
            box.PackStart(fileinfo, true, true, 0);
            box.PackStart(delButton, false, false, 0);
            box.ShowAll();
            filesbox.PackStart(box, false, true, 0);
        }