Add actions to find bookmark files to edit menu.

This commit is contained in:
Bastian Kleineidam 2011-10-19 20:44:09 +02:00
parent 8f93245c26
commit c7afb3f1a1
2 changed files with 6 additions and 0 deletions

View file

@ -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

View file

@ -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()