protected virtual void OnButtonAddCategoriesClicked(object sender, System.EventArgs e)
        {
            MenuCategorySelectorDialog dlg = new MenuCategorySelectorDialog();

            if (MessageService.RunCustomDialog(dlg) == (int)Gtk.ResponseType.Ok)
            {
                foreach (string s in dlg.Selection)
                {
                    entry.Categories.Add(s);
                }
                FillCategs();
                NotifyChanged();
            }
            dlg.Destroy();
        }
		protected virtual void OnButtonAddCategoriesClicked(object sender, System.EventArgs e)
		{
			MenuCategorySelectorDialog dlg = new MenuCategorySelectorDialog ();
			if (MessageService.RunCustomDialog (dlg) == (int) Gtk.ResponseType.Ok) {
				foreach (string s in dlg.Selection)
					entry.Categories.Add (s);
				FillCategs ();
				NotifyChanged ();
			}
			dlg.Destroy ();
		}