Commit Graph

56 Commits

Author SHA1 Message Date
Matt Rose 2285ceb68b
Merge pull request #720 from pedroflor/patch-1
Capitalize the first letter for "Read only"
2023-03-22 18:13:22 -04:00
Matt Rose e4be854668 Fix context menu keybinding reading.
When the keybinding for an action that also appears in the context menu
is None, python can't do it's usual string tricks and throws a
backtrace, and doesn't display the menu.
2023-03-08 17:17:57 -05:00
PF 599b9b8bf4
Capitalize the first letter for "Read only" 2023-03-06 22:25:27 -04:00
Matt Rose 2aff8dbf30
Merge pull request #679 from mattrose/add-readonly
Add Readonly toggle to popup menu
2022-11-18 23:15:43 -05:00
Matt Rose a6b78bbbf0
Merge pull request #666 from vssdeo/662-In-the-Context-Menu-right-click-show-keyboard-shortcuts
[bug 662] [Feature Request] - In the Context Menu(Right-Click) show k…
2022-11-18 21:29:46 -05:00
Matthew Rose 0d362fc0f5 Add Readonly toggle to popup menu
Fixes #649
2022-11-18 21:14:42 -05:00
Vishweshwar Saran Singh Deo 6bdb0c648c [bug 613] - Shortcut for autosplit h/v depending on active terminal size #613
-added auto split feature
-new signal split-auto was added
-currently this uses widget dimensions for the split as rows, cols were having different space and was not consistent, this can be changed if needed
-short cut was also added
-icon for the menu item needs to be added
2022-11-05 11:42:38 +05:30
Vishweshwar Saran Singh Deo ffd7ae518e [bug 662] [Feature Request] - In the Context Menu(Right-Click) show keyboard shortcuts / accelarators #662
-fixed: The problem in displaying is happening as the the config the key for eg Control is being saved as <Primary> and the short cut alphabetic character is being picked when creating the menu item and not being overwritten from config
-Note: the short cut for function keys are not being displayed in context-menu
2022-11-01 16:28:09 +05:30
Vishweshwar Saran Singh Deo 548a51c6bb [bug 662] [Feature Request] - In the Context Menu(Right-Click) show keyboard shortcuts / accelarators #662
- added short cuts / accelarators to right click context menu
- menu is updated from config so changes in preferences keybindings appear dynamically
- Note: I think there is a bug or discrepancy where
        for the action edit window title config.py says:
            'edit_window_title': 'w where as in code: terminal_popup_menu.py
            item = Gtk.ImageMenuItem.new_with_mnemonic(_('Set W_indow Title'))
            Character i is selected as mnemonic.
- fixed the above discrepancy
2022-10-31 12:26:34 +05:30
Vishweshwar Saran Singh Deo e7f9c731e8 - bug context menu (right click)->layouts->"Layout Name" always selects the last Layout
- fixed so the right layout is picked and loaded
2022-10-16 01:47:36 +05:30
Vulcalien 308c8d81a2 Remove encoding from the Context menu 2021-11-06 11:55:33 +01:00
Matt Rose a7d9304f2f add Set Window Title item to context menu 2021-08-30 20:41:27 -04:00
Matt Rose 734c70be91 update to non-deprecated Gtk.Menu popup call 2020-12-28 14:05:11 -05:00
David Sowder 5c7233890f Add feature to allow relaunching the command after child exit when the exit action is to hold the tab open 2020-12-27 10:12:19 -06:00
Matt Rose da53f25b52 launch new layouts directly from right-click menu 2020-06-21 11:52:04 -04:00
Nathaniel M. Beaver 4eba7f5b1a
Update terminatorlib/terminal_popup_menu.py
Co-authored-by: Markus Frosch <markus@lazyfrosch.de>
2020-05-16 17:24:50 -04:00
Nathaniel Morck Beaver 29f6a44d06 Add layout launcher to terminal popup menu. 2020-04-26 13:40:48 -04:00
Markus Frosch 23135f2ca5 Fix shebang and executable flag for all scripts 2020-04-05 16:36:06 +02:00
Emilio Pozuelo Monfort a3a67385fd Adopt patch "python3" from Debian
https://bugs.launchpad.net/terminator/+bug/1662544
2020-04-05 14:07:13 +02:00
Stephen Boddy bba9e2237a Remove auto-capitalisation of profiles in menu, add sorting, and fix exception when adding new one in prefs 2017-02-19 16:57:36 +01:00
Stephen Boddy d5e9265d34 Fix separators in popup menus on newer Gtk/Adwaita 2017-01-18 09:17:15 +01:00
Stephen Boddy da37f398fa Fix terminator not working with default python3 by forcing python2 2016-11-25 02:29:55 +01:00
Stephen Boddy b85796d64b Fix Ctrl-click on URL if terminal has padding 2015-11-29 23:43:45 +01:00
Stephen Boddy fbb70b2bc6 Correct some British spelt translated strings to American~ 2015-11-29 00:39:22 +01:00
Stephen Boddy 9103961902 Make Zoom/Maximize inactive if a single terminal 2015-11-29 00:22:57 +01:00
Stephen Boddy 912545e5da Remove comment re right way to keep menus visible - Happy with solution 2015-07-02 21:40:53 +02:00
Stephen Boddy 22ed84abdd Apply terminator-gtk3-vte038-v4.patch from Egmont Koblinger 2014-09-19 16:10:43 +02:00
Stephen Boddy 7ca6dd96c6 Changes made by pygi-convert.sh 2014-09-19 16:08:08 +02:00
Chris Jones cd5c4c1056 Allow plugins to override the open/copy menu items in the terminal context menu. Also set these values for all of the default plugins. When copying a URL, run it through the URL preparer - this means wusers will get the resulting URI on their clipboard, rather than the original text sometimes and the URI some other times, depending on the type of URI 2012-01-14 20:09:25 +00:00
Chris Jones 0ba791f9cb Choosing 'Close' from the context menu of a terminal would simply remove it from its parent, it didn't actually instruct the terminal to die. Fixes LP #308025 2011-08-22 19:58:24 +01:00
Chris Jones 4a2b8c77e1 Allow the split menu items to be translatable. Closes LP #575827 2010-07-03 21:46:41 +01:00
Chris Jones fdf169a2fd Only display the menu item for Preferences if there is support for Gtk Builder 2010-07-02 11:09:21 +01:00
Chris Jones c64d71b809 Restore the command line -p option to specify a particular profile. This is then enforced as the default for new terminals 2010-05-15 15:51:20 +02:00
Chris Jones 622604d9b5 Appease the folks who demand totally hidden titlebars, by making the titlebars able to totally hide. This does not yet fully address the issue of showing group membership and/or event transmission/reception state while grouped without losing a line of terminal to forced titlebar display. That can come later if it is reasonably possible 2010-05-15 15:30:13 +02:00
Chris Jones 364a833324 Add support for preserving cwd across tab creation events. Fixes a regression reported by jkaker 2010-04-02 16:45:32 +01:00
Chris Jones 16bc247b0e Attach the debug server to the context menu 2010-03-19 22:16:08 +00:00
Chris Jones b4d259f053 Fix splitting from the context menu so it sends the cwd 2010-03-11 14:30:07 +00:00
Chris Jones 5520fe11c8 Remove ad-hoc titlebar visibility control and make the preferences setting be applied by Terminal::reconfigure() 2010-02-09 13:08:07 +00:00
Chris Jones 79a340539b Make the titlebar presence configurable by config file and context menu. If it's missing, draw a frame around the Terminal, to indicae colour 2010-02-09 00:23:21 +00:00
Chris Jones 60983e3584 Handle popup menu being triggered without a full event, e.g. when the menu keyboard key is pressed 2010-01-25 12:26:32 +00:00
Chris Jones df7a3b978d The titlebar is no longer optional, it probably never should have been, it's just too complicated 2010-01-13 23:06:42 +00:00
Chris Jones f808a9edc9 set_active triggers the 'activate' signal, which makes sense I suppose, but means we were changing profile to the profile we already were set to, which is a waste 2010-01-13 23:00:42 +00:00
Chris Jones c14e955310 profilelist is a list, not a callable object 2010-01-08 01:04:06 +00:00
Chris Jones 7328d9aa4f If plugins have defined extra menu items, insert a spacer before they start 2010-01-05 22:28:14 +00:00
Chris Jones 26f0b2be69 Rename the Profile editor to a general preferences editor and only show a choice of profiles if there's more than one 2010-01-03 17:53:25 +00:00
Chris Jones a13581a4c8 Handle exceptions in a way that doesn't make python 2.5 really angry 2009-12-30 01:50:47 +00:00
Chris Jones f690cd6e5f Get ProfileEditor to the barest state of functionality possible 2009-12-27 02:32:16 +00:00
Chris Jones 945a547344 pluralise 2009-12-27 00:59:29 +00:00
Chris Jones ee81bd4f76 Make the terminal context menu list available profiles and switch between them 2009-12-26 20:09:16 +00:00
Chris Jones fe22a9cf47 Integrate the plugin system into the context menus for Terminal 2009-12-18 00:45:08 +00:00