Commit Graph

61 Commits

Author SHA1 Message Date
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
Chris Jones 88cd14ac64 Remove a couple of stale FIXMEs 2009-12-11 14:25:38 +00:00
Chris Jones 7d897eaef7 Make title propagation work properly 2009-12-10 23:25:52 +00:00
Chris Jones 602c6a3b57 Make title changes propagate better, albeit not perfectly yet 2009-12-10 13:20:03 +00:00
Chris Jones c31758179e pylint fixes 2009-12-09 13:22:34 +00:00
Chris Jones 7b24823fd6 Fix a stupid typo 2009-12-09 13:01:41 +00:00
Chris Jones 34da8ffe3a fix a bunch of bugs in tab handling and attempt to handle closing a tab with multiple children, but all of this is still entirely buggy 2009-12-08 13:57:29 +00:00
Chris Jones db3ac95171 introduce the dialog to confirm closing something 2009-11-21 12:09:47 -06:00
Chris Jones 0deda2434d pylint fixes 2009-11-20 16:52:39 -06:00
Chris Jones 132daeb447 Fix up some handling of unzooming and closing terminals while zoomed 2009-11-19 23:16:20 -06:00
Chris Jones 7d9575df5f Make drag and drop of terminals work 2009-11-16 22:56:55 -06:00
Chris Jones 29d661b26a self.signals shouldn't be a class variable. add helper functions to connect child widget signals and disconnect them. 2009-11-14 22:57:35 +00:00
Chris Jones 0190f2dea9 make signal registration more robust, and add a function to walk up the widget tree to find the top-level Window object 2009-11-14 18:54:12 +00:00
Chris Jones e5301362e4 tidy up some pylint issues 2009-11-14 17:30:03 +00:00
Chris Jones 5dd6ae0154 improve container signal registration function to never double-register. add a fake resize-term signal to Paned for nested terminal resizes. Implement terminal resizing. 2009-11-08 23:06:26 +00:00