mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-26 00:54:43 +00:00
Remove old context menu action.
This commit is contained in:
parent
1817f9da3e
commit
042a77d79e
3 changed files with 1 additions and 8 deletions
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
Fixes:
|
||||
- checking: Do not remove CGI parameters when joining URLs.
|
||||
- gui: Remove old context menu action to view URL properties.
|
||||
|
||||
Changes:
|
||||
- gui: Use Alt-key shortcuts for menu entries.
|
||||
|
|
|
|||
|
|
@ -305,13 +305,6 @@ Version 2 or later.
|
|||
self.contextmenu.enableFromItem(urlitem)
|
||||
self.contextmenu.popup(QtGui.QCursor.pos())
|
||||
|
||||
@QtCore.pyqtSlot()
|
||||
def on_actionViewProperties_triggered (self):
|
||||
"""View URL data properties in a separate window."""
|
||||
urlitem = self.model.getUrlItem(self.treeView.currentIndex())
|
||||
if urlitem is not None:
|
||||
self.view_item_properties(urlitem)
|
||||
|
||||
@QtCore.pyqtSlot()
|
||||
def on_actionViewOnline_triggered (self):
|
||||
"""View item URL online."""
|
||||
|
|
|
|||
|
|
@ -25,7 +25,6 @@ class ContextMenu (QtGui.QMenu):
|
|||
self.addAction(parent.actionCopyToClipboard)
|
||||
self.addAction(parent.actionViewParentOnline)
|
||||
self.addAction(parent.actionViewParentSource)
|
||||
self.addAction(parent.actionViewProperties)
|
||||
|
||||
def enableFromItem (self, item):
|
||||
"""Enable context menu actions depending on the item content."""
|
||||
|
|
|
|||
Loading…
Reference in a new issue