Merge pull request #720 from pedroflor/patch-1

Capitalize the first letter for "Read only"
This commit is contained in:
Matt Rose 2023-03-22 18:13:22 -04:00 committed by GitHub
commit 2285ceb68b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -264,7 +264,7 @@ class TerminalPopupMenu(object):
menu.append(item) menu.append(item)
menu.append(Gtk.SeparatorMenuItem()) menu.append(Gtk.SeparatorMenuItem())
item = self.menu_item(Gtk.CheckMenuItem, 'toggle_readonly', '_read only') item = self.menu_item(Gtk.CheckMenuItem, 'toggle_readonly', '_Read only')
item.set_active(not(terminal.vte.get_input_enabled())) item.set_active(not(terminal.vte.get_input_enabled()))
item.connect('toggled', lambda x: terminal.do_readonly_toggle()) item.connect('toggled', lambda x: terminal.do_readonly_toggle())
menu.append(item) menu.append(item)