void OnMenuItemActivated (object sender, EventArgs args)
		{
			RemoveBrokenLinksUtils utils = new RemoveBrokenLinksUtils ();
			
			utils.RemoveBrokenLinkTag (Note);
			if ((bool) Preferences.Get (Preferences.ENABLE_WIKIWORDS))
				utils.HighlightWikiWords (Note);
			
		}
        void OnMenuItemActivated(object sender, EventArgs args)
        {
            RemoveBrokenLinksUtils utils = new RemoveBrokenLinksUtils();

            utils.RemoveBrokenLinkTag(Note);
            if ((bool)Preferences.Get(Preferences.ENABLE_WIKIWORDS))
            {
                utils.HighlightWikiWords(Note);
            }
        }
		public static void OnRemoveBrokenLinksActivated ()
		{
			NoteManager def_note_manager;
			NoteRecentChanges search;
			RemoveBrokenLinksUtils utils = new RemoveBrokenLinksUtils ();
			def_note_manager = Tomboy.DefaultNoteManager;
			search = NoteRecentChanges.GetInstance (def_note_manager);

			foreach (Note note in search.GetFilteredNotes ()) {
				utils.RemoveBrokenLinkTag (note);
				if ((bool) Preferences.Get (Preferences.ENABLE_WIKIWORDS))
					utils.HighlightWikiWords (note);
			}
		}
Example #4
0
        public static void OnRemoveBrokenLinksActivated()
        {
            NoteManager            def_note_manager;
            NoteRecentChanges      search;
            RemoveBrokenLinksUtils utils = new RemoveBrokenLinksUtils();

            def_note_manager = Tomboy.DefaultNoteManager;
            search           = NoteRecentChanges.GetInstance(def_note_manager);

            foreach (Note note in search.GetFilteredNotes())
            {
                utils.RemoveBrokenLinkTag(note);
                if ((bool)Preferences.Get(Preferences.ENABLE_WIKIWORDS))
                {
                    utils.HighlightWikiWords(note);
                }
            }
        }