mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-26 12:53:12 -06:00
More GUI adjustments for sounds tutorial option move.
This commit is contained in:
parent
2d1f7e5ada
commit
61863c38e3
@ -27,13 +27,12 @@ class mainFrame(Gtk.Window):
|
|||||||
self.trends = Gtk.MenuItem(label="View trending topics")
|
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.trends.add_accelerator("activate", self.accel_group, ord("T"), Gdk.ModifierType.CONTROL_MASK, Gtk.AccelFlags.VISIBLE)
|
||||||
self.lists = Gtk.MenuItem(label="Lists manager")
|
self.lists = Gtk.MenuItem(label="Lists manager")
|
||||||
self.sounds_tutorial = Gtk.MenuItem(label="Sounds tutorial")
|
|
||||||
self.keystrokes_editor = None
|
self.keystrokes_editor = None
|
||||||
self.account_settings = Gtk.MenuItem(label="Account settings")
|
self.account_settings = Gtk.MenuItem(label="Account settings")
|
||||||
self.prefs = Gtk.MenuItem(label="Global settings")
|
self.prefs = Gtk.MenuItem(label="Global settings")
|
||||||
self.close = Gtk.MenuItem(label="Close")
|
self.close = Gtk.MenuItem(label="Close")
|
||||||
self.close.add_accelerator("activate", self.accel_group, ord("Q"), Gdk.ModifierType.CONTROL_MASK, Gtk.AccelFlags.VISIBLE)
|
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.sounds_tutorial, self.account_settings, self.prefs, self.close)
|
self.append_to_menu(app, self.manage_accounts, self.updateProfile, self.menuitem_search, self.trends, self.lists, self.account_settings, self.prefs, self.close)
|
||||||
|
|
||||||
app_menu = Gtk.MenuItem(label="Application")
|
app_menu = Gtk.MenuItem(label="Application")
|
||||||
app_menu.add_accelerator("activate", self.accel_group, ord("a"), Gdk.ModifierType.CONTROL_MASK, Gtk.AccelFlags.VISIBLE)
|
app_menu.add_accelerator("activate", self.accel_group, ord("a"), Gdk.ModifierType.CONTROL_MASK, Gtk.AccelFlags.VISIBLE)
|
||||||
@ -96,12 +95,13 @@ class mainFrame(Gtk.Window):
|
|||||||
# Help Menu
|
# Help Menu
|
||||||
help = Gtk.Menu()
|
help = Gtk.Menu()
|
||||||
self.doc = Gtk.MenuItem(label="Documentation")
|
self.doc = Gtk.MenuItem(label="Documentation")
|
||||||
|
self.sounds_tutorial = Gtk.MenuItem(label="Sounds tutorial")
|
||||||
self.changelog = Gtk.MenuItem(label="What's new in this version?")
|
self.changelog = Gtk.MenuItem(label="What's new in this version?")
|
||||||
self.check_for_updates = Gtk.MenuItem(label="Check for updates")
|
self.check_for_updates = Gtk.MenuItem(label="Check for updates")
|
||||||
self.reportError = Gtk.MenuItem(label="Report an error")
|
self.reportError = Gtk.MenuItem(label="Report an error")
|
||||||
self.visit_website = Gtk.MenuItem(label="TWBlue's website")
|
self.visit_website = Gtk.MenuItem(label="TWBlue's website")
|
||||||
self.about = Gtk.MenuItem(label="ABout TWBlue")
|
self.about = Gtk.MenuItem(label="ABout TWBlue")
|
||||||
self.append_to_menu(help, self.doc, self.changelog, self.check_for_updates, self.reportError, self.visit_website, self.about)
|
self.append_to_menu(help, self.doc, self.sounds_tutorial, self.changelog, self.check_for_updates, self.reportError, self.visit_website, self.about)
|
||||||
help_menu = Gtk.MenuItem(label="Help")
|
help_menu = Gtk.MenuItem(label="Help")
|
||||||
help_menu.set_submenu(help)
|
help_menu.set_submenu(help)
|
||||||
menuBar.append(help_menu)
|
menuBar.append(help_menu)
|
||||||
|
Loading…
Reference in New Issue
Block a user