Commit Graph

60 Commits

Author SHA1 Message Date
Stephen Boddy c12149089d Fixed getting the handle size (gtk2->gtk3 diff) 2015-06-19 03:20:54 +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
Stephen Boddy 106afb85df Additional shortcuts/code to toggle All/Tab grouping 2014-01-24 23:29:07 +01:00
Stephen Boddy 7f49bcfab9 Fix spliiter positions in Layouts. 2013-09-02 16:54:07 +02:00
Andrea Corbellini 2662902b2a Grab the focus on terminals when they are created or closed. 2013-02-10 16:58:06 +01:00
Chris Jones ad846ce402 Apply patch from Seonghun Lim to fix the split_to_group feature. Closes LP#838655 2012-10-19 09:57:23 -07:00
Chris Jones d1835cecf1 Merge a branch from Przemek Wesolek which allows for retaining profile choice across splits/tabs. Closes LP#884329 2012-10-18 16:56:34 -07:00
Chris Jones eda8d3fc22 Partially prevent focus grabbing by terminals leaving a Paned where they had no focus to begin with. This is useful where terminals are exiting for reasons other than direct user intervention. LP#943311 2012-10-18 16:23:25 -07:00
Chris Jones 425e2aed6a Merge a branch from Stephen J Boddy that fixes a dragging bug. 2012-07-10 20:32:37 +01:00
Stephen Boddy 7354660788 I think this fixes most of the strangeness with the clicked splitter not moving properly, but I think it can still be triggered occasionally. I'm stumped. 2012-06-27 16:58:56 +02:00
Stephen Boddy d4b61768dc Redistribute code for splitters/terms. It's AWESOME :-) 2012-06-25 21:24:41 +02:00
Stephen Boddy cbb86c48c5 Spotted some unevenness in the initial position of new splits. This fixes it to 50:50 2012-06-25 20:01:35 +02:00
Stephen Boddy b6a75be607 Fix the inability to drag the splitters 2012-06-25 19:05:43 +02:00
Andre Hilsendeger e95bdcf964 Add possibility to rotate the paned containers. 2012-04-04 17:48:29 +02:00
Przemek Wesolek 6d6d73568d New terminal inherits the current one's profile. 2011-11-05 16:49:01 +01: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
Chris Jones 7a49cd47bc stop creating factories all the time and cache one 2011-08-22 20:20:46 +01:00
Chris Jones fe4f4e0c77 Apply saved positions to {V,H}Paned widgets. Patch from Glenn Moss. Fixes LP#797953 2011-08-21 01:25:34 +01:00
Stephen Boddy 05520fd5a7 Replace the get_top_window with the much quicker builtin get_toplevel widget call 2011-02-23 22:35:10 +01:00
Chris Jones 31e197d1bc Try to always keep a focussed terminal. Closes LP #570706 2010-07-03 21:30:17 +01:00
Chris Jones 5b5739df0e Add some more debugging to layout creation 2010-06-15 15:19:05 +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 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 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 cc77c3bc4e Drag and drop ordering continues to be insane. Refactor it so we're not double-negativing. This appears to fix everything about it 2010-03-02 20:38:28 +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 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 7d80561710 Create paned layouts in a consistent order 2010-02-27 14:04:50 +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 94a568ee1c Drag and drop ordering was not paying attention to the requested order. Now it is 2010-02-27 11:26:30 +01:00
Chris Jones 15ea22b4ff Only spawn a child in the sibling if we created it 2010-02-04 00:59:11 +00: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 4b58b0c738 Refactor navigate_terminals from Terminator to Window 2010-01-29 13:12:33 +00:00
Chris Jones 0817d2651d refactor tab creation signals to propagate to the Window of a Terminal, not Terminator 2010-01-28 12:49:38 +00:00
Chris Jones 23ccad813d Call Signalman::remove_all() when each of the Container subclasses commits suicide. SHould stop any stale signal handler connections existing 2010-01-25 12:55:38 +00:00
Chris Jones ab02add397 Make the move-tab keyboard shortcuts work 2010-01-24 22:15:54 +00:00
Chris Jones 489bc2cbb6 Slight refactoring of each derived Container's add() to handle all the Terminal signals the same way. 2010-01-24 12:55:03 +00:00
Chris Jones 14f98c1b89 Implement (un)group_all and (un)group_tab 2010-01-21 12:55:57 +00:00
Chris Jones 9c72b6287d Implement tab changing keyboard shortcuts 2010-01-21 12:33:42 +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 257cc3ead6 Remove the old terminator.py, rename newterminator.py accordingly and update all the references to it 2010-01-11 20:06:53 +00:00
Chris Jones be224f3016 Undo previous change that had Factory registering windows and terminals. Instead make them self-register since they already have a Terminator reference anyway. Remove calls to register_terminla from elsewhere. 2010-01-04 13:11:16 +00:00
Chris Jones 602c6a3b57 Make title changes propagate better, albeit not perfectly yet 2009-12-10 13:20:03 +00:00
Chris Jones 67b79ff1da There's no reason anymore to special-case notebook here 2009-12-09 13:02:31 +00:00
Chris Jones 2a76382e47 migrate to using the factory and extend it to have an isinstance() 2009-11-25 00:37:29 +00:00
Chris Jones c5711cbe15 get_top_window moved to util 2009-11-20 16:53:06 -06:00