mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-22 19:28:09 -06:00
Core: Removed Twitter references from default menu bar
This commit is contained in:
parent
972b880931
commit
52267562bc
@ -29,7 +29,6 @@ class Handler(object):
|
|||||||
fav=_("&Add to favorites"),
|
fav=_("&Add to favorites"),
|
||||||
unfav=_("Remove from favorites"),
|
unfav=_("Remove from favorites"),
|
||||||
view=_("&Show post"),
|
view=_("&Show post"),
|
||||||
view_coordinates=None,
|
|
||||||
view_conversation=_("View conversa&tion"),
|
view_conversation=_("View conversa&tion"),
|
||||||
ocr=None,
|
ocr=None,
|
||||||
delete=_("&Delete"),
|
delete=_("&Delete"),
|
||||||
@ -40,7 +39,6 @@ class Handler(object):
|
|||||||
addAlias=None,
|
addAlias=None,
|
||||||
addToList=None,
|
addToList=None,
|
||||||
removeFromList=None,
|
removeFromList=None,
|
||||||
viewLists=None,
|
|
||||||
details=None,
|
details=None,
|
||||||
favs=None,
|
favs=None,
|
||||||
# In buffer Menu.
|
# In buffer Menu.
|
||||||
|
@ -15,26 +15,29 @@ class mainFrame(wx.Frame):
|
|||||||
self.menubar_application = wx.Menu()
|
self.menubar_application = wx.Menu()
|
||||||
self.manage_accounts = self.menubar_application.Append(wx.ID_ANY, _(u"&Manage accounts"))
|
self.manage_accounts = self.menubar_application.Append(wx.ID_ANY, _(u"&Manage accounts"))
|
||||||
self.updateProfile = self.menubar_application.Append(wx.ID_ANY, _("&Update profile"))
|
self.updateProfile = self.menubar_application.Append(wx.ID_ANY, _("&Update profile"))
|
||||||
|
self.updateProfile.Enable(False)
|
||||||
self.show_hide = self.menubar_application.Append(wx.ID_ANY, _(u"&Hide window"))
|
self.show_hide = self.menubar_application.Append(wx.ID_ANY, _(u"&Hide window"))
|
||||||
self.menuitem_search = self.menubar_application.Append(wx.ID_ANY, _(u"&Search"))
|
self.menuitem_search = self.menubar_application.Append(wx.ID_ANY, _(u"&Search"))
|
||||||
self.lists = self.menubar_application.Append(wx.ID_ANY, _(u"&Lists manager"))
|
self.lists = self.menubar_application.Append(wx.ID_ANY, _(u"&Lists manager"))
|
||||||
|
self.lists.Enable(False)
|
||||||
self.manageAliases = self.menubar_application.Append(wx.ID_ANY, _("Manage user aliases"))
|
self.manageAliases = self.menubar_application.Append(wx.ID_ANY, _("Manage user aliases"))
|
||||||
|
self.manageAliases.Enable(False)
|
||||||
self.keystroke_editor = self.menubar_application.Append(wx.ID_ANY, _(u"&Edit keystrokes"))
|
self.keystroke_editor = self.menubar_application.Append(wx.ID_ANY, _(u"&Edit keystrokes"))
|
||||||
self.account_settings = self.menubar_application.Append(wx.ID_ANY, _(u"Account se&ttings"))
|
self.account_settings = self.menubar_application.Append(wx.ID_ANY, _(u"Account se&ttings"))
|
||||||
self.prefs = self.menubar_application.Append(wx.ID_PREFERENCES, _(u"&Global settings"))
|
self.prefs = self.menubar_application.Append(wx.ID_PREFERENCES, _(u"&Global settings"))
|
||||||
self.close = self.menubar_application.Append(wx.ID_EXIT, _(u"E&xit"))
|
self.close = self.menubar_application.Append(wx.ID_EXIT, _(u"E&xit"))
|
||||||
|
|
||||||
# Tweet menu
|
# Compose menu
|
||||||
self.menubar_item = wx.Menu()
|
self.menubar_item = wx.Menu()
|
||||||
self.compose = self.menubar_item.Append(wx.ID_ANY, _(u"&Tweet"))
|
self.compose = self.menubar_item.Append(wx.ID_ANY, _(u"&Post"))
|
||||||
self.reply = self.menubar_item.Append(wx.ID_ANY, _(u"Re&ply"))
|
self.reply = self.menubar_item.Append(wx.ID_ANY, _(u"Re&ply"))
|
||||||
self.share = self.menubar_item.Append(wx.ID_ANY, _(u"&Retweet"))
|
self.share = self.menubar_item.Append(wx.ID_ANY, _(u"&Boost"))
|
||||||
self.fav = self.menubar_item.Append(wx.ID_ANY, _(u"&Like"))
|
self.fav = self.menubar_item.Append(wx.ID_ANY, _(u"&Add to favorites"))
|
||||||
self.unfav = self.menubar_item.Append(wx.ID_ANY, _(u"&Unlike"))
|
self.unfav = self.menubar_item.Append(wx.ID_ANY, _(u"&Remove from favorites"))
|
||||||
self.view = self.menubar_item.Append(wx.ID_ANY, _(u"&Show tweet"))
|
self.view = self.menubar_item.Append(wx.ID_ANY, _(u"&Show post"))
|
||||||
self.view_coordinates = self.menubar_item.Append(wx.ID_ANY, _(u"View &address"))
|
|
||||||
self.view_conversation = self.menubar_item.Append(wx.ID_ANY, _(u"View conversa&tion"))
|
self.view_conversation = self.menubar_item.Append(wx.ID_ANY, _(u"View conversa&tion"))
|
||||||
self.ocr = self.menubar_item.Append(wx.ID_ANY, _(u"Read text in picture"))
|
self.ocr = self.menubar_item.Append(wx.ID_ANY, _(u"Read text in picture"))
|
||||||
|
self.ocr.Enable(False)
|
||||||
self.delete = self.menubar_item.Append(wx.ID_ANY, _(u"&Delete"))
|
self.delete = self.menubar_item.Append(wx.ID_ANY, _(u"&Delete"))
|
||||||
|
|
||||||
# User menu
|
# User menu
|
||||||
@ -43,9 +46,9 @@ class mainFrame(wx.Frame):
|
|||||||
self.timeline = self.menubar_user.Append(wx.ID_ANY, _(u"&View timeline..."))
|
self.timeline = self.menubar_user.Append(wx.ID_ANY, _(u"&View timeline..."))
|
||||||
self.dm = self.menubar_user.Append(wx.ID_ANY, _(u"Direct me&ssage"))
|
self.dm = self.menubar_user.Append(wx.ID_ANY, _(u"Direct me&ssage"))
|
||||||
self.addAlias = self.menubar_user.Append(wx.ID_ANY, _("Add a&lias"))
|
self.addAlias = self.menubar_user.Append(wx.ID_ANY, _("Add a&lias"))
|
||||||
|
self.addAlias.Enable(False)
|
||||||
self.addToList = self.menubar_user.Append(wx.ID_ANY, _(u"&Add to list"))
|
self.addToList = self.menubar_user.Append(wx.ID_ANY, _(u"&Add to list"))
|
||||||
self.removeFromList = self.menubar_user.Append(wx.ID_ANY, _(u"R&emove from list"))
|
self.removeFromList = self.menubar_user.Append(wx.ID_ANY, _(u"R&emove from list"))
|
||||||
self.viewLists = self.menubar_user.Append(wx.ID_ANY, _(u"&View lists"))
|
|
||||||
self.details = self.menubar_user.Append(wx.ID_ANY, _(u"Show user &profile"))
|
self.details = self.menubar_user.Append(wx.ID_ANY, _(u"Show user &profile"))
|
||||||
self.favs = self.menubar_user.Append(wx.ID_ANY, _(u"V&iew likes"))
|
self.favs = self.menubar_user.Append(wx.ID_ANY, _(u"V&iew likes"))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user