Remove option 'view information' from documents menu as there is not much to show from a document
This commit is contained in:
parent
9c7030f80e
commit
0b9dcaa8f1
@ -80,7 +80,7 @@ class peopleMenu(wx.Menu):
|
|||||||
class documentMenu(wx.Menu):
|
class documentMenu(wx.Menu):
|
||||||
def __init__(self, added=False, *args, **kwargs):
|
def __init__(self, added=False, *args, **kwargs):
|
||||||
super(documentMenu, self).__init__(*args, **kwargs)
|
super(documentMenu, self).__init__(*args, **kwargs)
|
||||||
self.view_info = self.Append(wx.NewId(), _("View information"))
|
# self.view_info = self.Append(wx.NewId(), _("View information"))
|
||||||
self.download = self.Append(wx.NewId(), _("Download document"))
|
self.download = self.Append(wx.NewId(), _("Download document"))
|
||||||
if added == True:
|
if added == True:
|
||||||
self.action = self.Append(wx.NewId(), _("Remove from my documents"))
|
self.action = self.Append(wx.NewId(), _("Remove from my documents"))
|
||||||
|
Loading…
Reference in New Issue
Block a user