diff --git a/doc/changelog.txt b/doc/changelog.txt index b7f88368..a405d796 100644 --- a/doc/changelog.txt +++ b/doc/changelog.txt @@ -16,6 +16,7 @@ Fixes: Changes: - configuration: Parse logger and logging part names case insensitive. Closes: SF bug #3380114 +- gui: Add actions to find bookmark files to the edit menu. Features: - checking: If a warning regex is configured, multiple matches in diff --git a/linkcheck/gui/__init__.py b/linkcheck/gui/__init__.py index ec3ec2bb..4e290406 100644 --- a/linkcheck/gui/__init__.py +++ b/linkcheck/gui/__init__.py @@ -108,6 +108,7 @@ class LinkCheckerMain (QtGui.QMainWindow, Ui_MainWindow): self.connect_widgets() self.init_config() self.read_config() + self.init_menu() self.init_app() def init_url (self, url): @@ -120,6 +121,10 @@ class LinkCheckerMain (QtGui.QMainWindow, Ui_MainWindow): elif documents: self.urlinput.setText(documents[0]) + def init_menu (self): + """Add menu entries for bookmark file checking.""" + self.urlinput.addMenuEntries(self.menuEdit) + def init_app (self): """Set window size and position, GUI options and reset status.""" data = self.settings.read_geometry()