Commit Graph

75 Commits

Author SHA1 Message Date
Vulcalien 8c0c7ceb4f Add a setting to specify when to ask to confirm before closing
'ask_before_closing' replaces 'suppress_multiple_term_dialog'.
The function 'Container.construct_confirm_close' was significantly
modified. The terminator_config manpage has been updated.
2023-10-10 17:03:21 +02:00
Matt Rose a83ee32840
Merge pull request #589 from Vulcalien/zoom-on-notebook
Zoom on notebook even if there is only one terminal in the tab + keep tab position and label in notebook rotation
2022-11-18 23:28:17 -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
Matt Rose df1a433c61
Merge pull request #651 from kianmeng/fix-typos
Fix typos
2022-10-30 11:29:12 -04:00
Kian-Meng Ang 25111f2402 Fix typos
Found via `codespell -S .eggs,po,*.css -L boddy,maco,trough,wont,poing,gir,visibles`
2022-10-22 00:07:07 +08:00
Vishweshwar Saran Singh Deo 5bd81ce478 - added plugin save_last_session_layout.py
- saves the working directory and layout of last session (last window) closed
- layout is saved under name of SaveLastSessionLayout
- can be loaded from context menu (right click) -> layouts -> "SaveLastSessionLayout"
- last working directory is also saved
2022-10-16 01:32:30 +05:30
Vulcalien c2f2addf05 Remove unused code (container.py, toggle_zoom) 2022-04-09 11:19:36 +02:00
Vulcalien 8e50eb75ce Remove duplicated info in some debug messages 2022-01-28 21:51:54 +01:00
Matt Rose 427c65f2cc Revert "Merge pull request #36 from waldner/master"
This reverts commit 6c56f32eeb, reversing
changes made to 904676057e.
2020-12-27 13:29:30 -05:00
waldner 8552037fc8 fast resize keyboard shortcuts 2020-04-22 10:14:16 +02: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 c4d372c56c Fixes vte object not being released properly, and holding open hidden /tmp files. 2017-02-11 19:59:31 +01:00
Stephen Boddy 47eaf64bb3 Minor fix to translation strings for languages with articles/genders as per LP Question 408095 2017-01-12 16:51:59 +01:00
Stephen Boddy da37f398fa Fix terminator not working with default python3 by forcing python2 2016-11-25 02:29:55 +01:00
judgedreads pearce@millerdedmon.com 6cdc1983a6 Remove invalid dialog property 2015-03-29 15:49:57 -07:00
Stephen Boddy 7ca6dd96c6 Changes made by pygi-convert.sh 2014-09-19 16:08:08 +02:00
Stephen Boddy 581b6eeb92 Add layout save and load of active term for tabs, remember active term on switching tabs, plus more. Too inter-dependant to split into smaller commits. 2013-12-18 18:06:59 +01:00
Stephen Boddy 0272c78739 Add layout save and load of last active term for windows without tabs 2013-11-19 12:46:11 +01:00
Stephen Boddy e66a522555 Cleanup the describe_layout labels code to make some future changes easier to add in seperate commits 2013-11-15 13:21:24 +01:00
Stephen Boddy d265dd5724 Active Window saved to layouts, and made active when loaded 2013-10-31 18:50:21 +01:00
Stephen Boddy f067e5355b Reload the config before we write to it or we could overwrite something from another instance. 2013-09-26 00:07:01 +02:00
Stephen Boddy 25754d3ab5 Layouts remember which tab was active now. 2013-09-05 00:50:12 +02:00
Stephen Boddy e071ad23cf Add maximised and fullscreen status to saved layouts. 2013-09-04 22:59:27 +02:00
Stephen Boddy 7f49bcfab9 Fix spliiter positions in Layouts. 2013-09-02 16:54:07 +02:00
Stephen Boddy b9bd6dd19b Load and save window title in layouts 2013-06-20 19:48:22 +02:00
Chris Jones 12e76b7c78 Merge branch from Bruno Braga that implements a checkbox when closing multiple terminals, to suppress future dialogs 2012-04-19 11:06:26 +01:00
Andre Hilsendeger e95bdcf964 Add possibility to rotate the paned containers. 2012-04-04 17:48:29 +02:00
Bruno Braga df68c6c94d Implemented checkbox into the multiple terminals confirmation dialog, in oder to suppress it if users don't want this annoying message all the time. 2011-12-08 23:12:29 +10:00
Chris Jones c6fca1dd73 Create some basic architecture to persist metadata across containers being removed/recreated as terminals are exiting. Fixes LP#711356 2011-08-22 21:05:38 +01:00
Stephen Boddy b3bee59c9d Cache the maker instance for three heavy users (Container.get_visible_terminals, Window.get_visible_terminals and Window.set_rough_geometry_hints) 2011-02-17 02:57:30 +01:00
Chris Jones e4890ebdd1 Describe and restore custom tab labels in the layout. Closes LP #568500 2010-07-04 17:22:39 +01:00
Chris Jones 7522bb2b9d Deprecate the hide_tabbar config option and instead add a 'hidden' value to tab_position and update the code/UI/docs accordingly. 2010-07-03 20:42:33 +01:00
Chris Jones bd3da1e8ff When removing a notebook child and adding a new one we need to do it in one move so we can preserve the tab ordering. Closes LP #490627 2010-04-12 21:35:24 +01:00
Chris Jones 2164f32ddb Kludge the layout creation until it works 2010-03-11 13:04:01 +00:00
Chris Jones 8610a845bc Implement a get_children() method in our Container widgets to override gtk.Container.get_children() with something that guarantees ordering in the returned list 2010-03-10 22:51:33 +00:00
Chris Jones 706180976e Set cwd when spawning new shells to be that of the shell being split. Does not currently persist across tab creations 2010-03-05 22:44:38 +00:00
Chris Jones 7cc7ef80d3 Duck typing. This is a defence against Client Side Decorating in Gtk+ and other random weirdnesses 2010-03-04 11:59:36 +00:00
Chris Jones 79c48b21ca fix incorrect method signature 2010-03-02 20:37:41 +00:00
Chris Jones b213e76461 Fix up drag and drop to work more often, between more widgets 2010-03-02 12:39:47 +00:00
Chris Jones da7e7850b0 Add support for window sizes in the layout 2010-02-27 15:18:08 +01:00
Chris Jones 64a0f70c41 Build out support for containers to report a position to the layout. This now works for Windows, but will require significantly more work for Paneds 2010-02-27 14:55:38 +01:00
Chris Jones 9b6cdcd4ac Previous split_axis() changes were insufficient. Apply the changes across all of the Containers and improve the implementation generally 2010-02-27 13:30:38 +01:00
Chris Jones 1aadbae30b Rework layout config to flatten and build up trees 2010-02-02 00:39:41 +00:00
Chris Jones 678057a0d3 First run at layout loading, creating, enumerating and saving. It sucks and works poorly at the moment, but here it is 2010-02-01 12:11:44 +00:00
Chris Jones 789092bb07 Refactor some code from Notebook into a standalone function that finds all descendant widgets of a given container that are Containers or Terminals and returns lists of them, and use this when closing a tab. This function will form the basis of layout enumeration 2010-01-28 13:41:44 +00:00
Chris Jones 9e625ed16b split a long line 2010-01-22 18:56:12 +00:00
Chris Jones ac95dddfbe start working on a set of methods to walk the widget tree to find the visible ones, and collect their gtk allocation (i.e. where they are and how big they are). This is expected to form the basis of directional navigation and layout display/saving 2010-01-19 13:06:09 +00:00
Chris Jones 8ad7ac07b1 Create a new class Signalman which is used to track the glib signals on a widget since at least two of our classes were doing this themselves. Also integrated it into one of those classes, Container() where it is only used by VPaned and HPaned. Also add doctests for it 2010-01-18 13:17:35 +00:00
Chris Jones df317bd2cd mildly change the debugging output of objects, and handle ^C a little better 2009-12-23 16:40:54 +00:00