diff --git a/src/gtkUI/view.py b/src/gtkUI/view.py index da3e7542..0030e01a 100644 --- a/src/gtkUI/view.py +++ b/src/gtkUI/view.py @@ -24,15 +24,13 @@ class mainFrame(Gtk.Window): # As in Gtk is not possible to bind keyboard shorcuts to the system, we don't have support for an invisible interface. self.show_hide = None self.menuitem_search = Gtk.MenuItem(label="Search") - self.trends = Gtk.MenuItem(label="View trending topics") - self.trends.add_accelerator("activate", self.accel_group, ord("T"), Gdk.ModifierType.CONTROL_MASK, Gtk.AccelFlags.VISIBLE) self.lists = Gtk.MenuItem(label="Lists manager") self.keystrokes_editor = None self.account_settings = Gtk.MenuItem(label="Account settings") self.prefs = Gtk.MenuItem(label="Global settings") self.close = Gtk.MenuItem(label="Close") self.close.add_accelerator("activate", self.accel_group, ord("Q"), Gdk.ModifierType.CONTROL_MASK, Gtk.AccelFlags.VISIBLE) - self.append_to_menu(app, self.manage_accounts, self.updateProfile, self.menuitem_search, self.trends, self.lists, self.account_settings, self.prefs, self.close) + self.append_to_menu(app, self.manage_accounts, self.updateProfile, self.menuitem_search, self.lists, self.account_settings, self.prefs, self.close) app_menu = Gtk.MenuItem(label="Application") app_menu.add_accelerator("activate", self.accel_group, ord("a"), Gdk.ModifierType.CONTROL_MASK, Gtk.AccelFlags.VISIBLE) @@ -82,12 +80,14 @@ class mainFrame(Gtk.Window): # buffer menu buffer = Gtk.Menu() + self.trends = Gtk.MenuItem(label="New trending topics buffer...") + self.trends.add_accelerator("activate", self.accel_group, ord("T"), Gdk.ModifierType.CONTROL_MASK, Gtk.AccelFlags.VISIBLE) self.load_previous_items = Gtk.MenuItem(label="Load previous items") self.mute_buffer = Gtk.MenuItem(label="Mute") self.autoread = Gtk.MenuItem(label="Autoread") self.clear = Gtk.MenuItem(label="Clear buffer") self.deleteTl = Gtk.MenuItem(label="Destroy") - self.append_to_menu(buffer, self.load_previous_items, self.mute_buffer, self.autoread, self.clear, self.deleteTl) + self.append_to_menu(buffer, self.trends, self.load_previous_items, self.mute_buffer, self.autoread, self.clear, self.deleteTl) buffer_menu = Gtk.MenuItem(label="Buffer") buffer_menu.set_submenu(buffer) menuBar.append(buffer_menu) diff --git a/src/wxUI/view.py b/src/wxUI/view.py index bd3c012e..9812c793 100644 --- a/src/wxUI/view.py +++ b/src/wxUI/view.py @@ -16,7 +16,6 @@ class mainFrame(wx.Frame): self.updateProfile = app.Append(wx.NewId(), _(u"&Update profile")) self.show_hide = app.Append(wx.NewId(), _(u"&Hide window")) self.menuitem_search = app.Append(wx.NewId(), _(u"&Search")) - self.trends = app.Append(wx.NewId(), _(u"View &trending topics")) self.lists = app.Append(wx.NewId(), _(u"&Lists manager")) self.keystroke_editor = app.Append(wx.NewId(), _(u"&Edit keystrokes")) self.account_settings = app.Append(wx.NewId(), _(u"Account se&ttings")) @@ -51,6 +50,7 @@ class mainFrame(wx.Frame): # buffer menu buffer = wx.Menu() + self.trends = buffer.Append(wx.NewId(), _(u"New &trending topics buffer...")) self.load_previous_items = buffer.Append(wx.NewId(), _(u"&Load previous items")) buffer.AppendSeparator() self.mute_buffer = buffer.AppendCheckItem(wx.NewId(), _(u"&Mute"))