diff options
| author | mbkma <[email protected]> | 2026-02-01 12:41:12 +0100 |
|---|---|---|
| committer | mbkma <[email protected]> | 2026-02-01 18:10:50 +0100 |
| commit | dd774bef74932019b4f5455e830c82ccaf949c16 (patch) | |
| tree | 776287f7b9dbce603b669736c6c5d0dc0ed93da0 /src/terminal-menus.ui | |
| parent | 5a9b1e0e9a1236a1ab4bfd8bc64a0935e90ad9f6 (diff) | |
| download | mate-terminal-ui-manager.tar.bz2 mate-terminal-ui-manager.tar.xz | |
migrate from deprecated GtkUiManager to GtkBuilderui-manager
Diffstat (limited to 'src/terminal-menus.ui')
| -rw-r--r-- | src/terminal-menus.ui | 176 |
1 files changed, 175 insertions, 1 deletions
diff --git a/src/terminal-menus.ui b/src/terminal-menus.ui index 84809fb..ecdb03f 100644 --- a/src/terminal-menus.ui +++ b/src/terminal-menus.ui @@ -4,24 +4,39 @@ This replaces the deprecated GtkUIManager XML format --> <interface> + <!-- Main menubar --> <menu id="menubar"> <submenu> <attribute name="label" translatable="yes">_File</attribute> <section> <item> <attribute name="label" translatable="yes">Open _Terminal</attribute> - <attribute name="action">win.new-window-profile</attribute> + <attribute name="action">win.new-window</attribute> </item> + <submenu> + <attribute name="label" translatable="yes">Open Terminal with Profile</attribute> + <section id="new-window-profiles-section"> + </section> + </submenu> <item> <attribute name="label" translatable="yes">Open Ta_b</attribute> <attribute name="action">win.new-tab</attribute> </item> + <submenu> + <attribute name="label" translatable="yes">Open Tab with Profile</attribute> + <section id="new-tab-profiles-section"> + </section> + </submenu> </section> <section> <item> <attribute name="label" translatable="yes">New _Profile...</attribute> <attribute name="action">win.new-profile</attribute> </item> + <item> + <attribute name="label" translatable="yes">_Save Contents</attribute> + <attribute name="action">win.save-contents</attribute> + </item> </section> <section> <item> @@ -117,12 +132,38 @@ </submenu> <submenu> <attribute name="label" translatable="yes">_Terminal</attribute> + <submenu> + <attribute name="label" translatable="yes">Change _Profile</attribute> + <section id="profiles-section"> + </section> + <section> + <item> + <attribute name="label" translatable="yes">_Next Profile</attribute> + <attribute name="action">win.profile-next</attribute> + </item> + <item> + <attribute name="label" translatable="yes">_Previous Profile</attribute> + <attribute name="action">win.profile-previous</attribute> + </item> + </section> + </submenu> <section> <item> <attribute name="label" translatable="yes">_Set Title...</attribute> <attribute name="action">win.set-title</attribute> </item> </section> + <submenu> + <attribute name="label" translatable="yes">Set _Character Encoding</attribute> + <section id="encodings-section"> + </section> + <section> + <item> + <attribute name="label" translatable="yes">_Add or Remove...</attribute> + <attribute name="action">win.add-encoding</attribute> + </item> + </section> + </submenu> <section> <item> <attribute name="label" translatable="yes">_Reset</attribute> @@ -162,6 +203,8 @@ <attribute name="action">win.detach-tab</attribute> </item> </section> + <section id="tabs-section"> + </section> </submenu> <submenu> <attribute name="label" translatable="yes">_Help</attribute> @@ -177,4 +220,135 @@ </section> </submenu> </menu> + + <!-- Context popup menu --> + <menu id="popup-menu"> + <section id="popup-hyperlink-section"> + <item> + <attribute name="label" translatable="yes">_Open Hyperlink</attribute> + <attribute name="action">win.open-hyperlink</attribute> + </item> + <item> + <attribute name="label" translatable="yes">_Copy Hyperlink Address</attribute> + <attribute name="action">win.copy-hyperlink</attribute> + </item> + </section> + <section id="popup-email-section"> + <item> + <attribute name="label" translatable="yes">_Send Mail To...</attribute> + <attribute name="action">win.send-email</attribute> + </item> + <item> + <attribute name="label" translatable="yes">_Copy E-mail Address</attribute> + <attribute name="action">win.copy-email</attribute> + </item> + </section> + <section id="popup-call-section"> + <item> + <attribute name="label" translatable="yes">_Call To...</attribute> + <attribute name="action">win.call</attribute> + </item> + <item> + <attribute name="label" translatable="yes">_Copy Call Address</attribute> + <attribute name="action">win.copy-call</attribute> + </item> + </section> + <section id="popup-link-section"> + <item> + <attribute name="label" translatable="yes">_Open Link</attribute> + <attribute name="action">win.open-link</attribute> + </item> + <item> + <attribute name="label" translatable="yes">_Copy Link Address</attribute> + <attribute name="action">win.copy-link</attribute> + </item> + </section> + <section> + <item> + <attribute name="label" translatable="yes">Open _Terminal</attribute> + <attribute name="action">win.new-window</attribute> + </item> + <item> + <attribute name="label" translatable="yes">Open Ta_b</attribute> + <attribute name="action">win.new-tab</attribute> + </item> + </section> + <section> + <item> + <attribute name="label" translatable="yes">C_lose Tab</attribute> + <attribute name="action">win.close-tab</attribute> + </item> + <item> + <attribute name="label" translatable="yes">_Close Window</attribute> + <attribute name="action">win.close-window</attribute> + </item> + </section> + <section> + <item> + <attribute name="label" translatable="yes">_Copy</attribute> + <attribute name="action">win.copy</attribute> + </item> + <item> + <attribute name="label" translatable="yes">_Paste</attribute> + <attribute name="action">win.paste</attribute> + </item> + <item> + <attribute name="label" translatable="yes">Paste _Filenames</attribute> + <attribute name="action">win.paste-uris</attribute> + </item> + </section> + <section> + <submenu> + <attribute name="label" translatable="yes">Change _Profile</attribute> + <section id="popup-profiles-section"> + </section> + <section> + <item> + <attribute name="label" translatable="yes">Pr_ofile Preferences</attribute> + <attribute name="action">win.current-profile</attribute> + </item> + </section> + </submenu> + <item> + <attribute name="label" translatable="yes">Show _Menubar</attribute> + <attribute name="action">win.menubar</attribute> + </item> + <item> + <attribute name="label" translatable="yes">Leave _Full Screen</attribute> + <attribute name="action">win.leave-fullscreen</attribute> + <attribute name="hidden-when">action-disabled</attribute> + </item> + </section> + <section id="popup-im-section"> + <submenu id="popup-input-methods"> + <attribute name="label" translatable="yes">_Input Methods</attribute> + </submenu> + </section> + </menu> + + <!-- Notebook tab popup menu --> + <menu id="notebook-popup-menu"> + <section> + <item> + <attribute name="label" translatable="yes">Move Tab _Left</attribute> + <attribute name="action">win.move-tab-left</attribute> + </item> + <item> + <attribute name="label" translatable="yes">Move Tab _Right</attribute> + <attribute name="action">win.move-tab-right</attribute> + </item> + </section> + <section> + <item> + <attribute name="label" translatable="yes">_Set Title...</attribute> + <attribute name="action">win.set-title</attribute> + </item> + </section> + <section> + <item> + <attribute name="label" translatable="yes">C_lose Tab</attribute> + <attribute name="action">win.close-tab</attribute> + </item> + </section> + </menu> </interface> |
