Commit Graph

125 Commits

Author SHA1 Message Date
Thomas Hurst 29c2d3e44d Make -x work properly. This should close #247330 once and for all.
Refactor spawn_child to move path and shell lookups into their own methods.

Make command a string for -e and a list for -x to distinguish them.

If command is a string, let the shell deal with it, if command is a list,
do a path lookup and run it directly.
2008-07-20 22:15:14 +01:00
Emmanuel Bretelle 0e95abf66f only enable expose-event when in the drag_motion method 2008-07-17 22:09:41 +01:00
Thomas Hurst e3d3118d67 Tighten some excepts so we don't silently treat real errors as simple ImportErrors 2008-07-17 18:44:21 +01:00
Thomas Hurst b602ecfe9c Improve formatting 2008-07-17 18:32:24 +01:00
Chris Jones 6e4e179aac move subprocess to the right place 2008-07-17 00:28:04 +01:00
Thomas Hurst 15ba71d766 Always spawn commands via a shell, similar to xterm. This makes terminator -e "/bin/bash -c /usr/bin/python" work.
This also makes things like -e "cd $HOME && bash" work; the shell does it for us.  In this respect we are at least better than gnome-terminal.

This has the "disadvantage" that if you don't set $SHELL and don't have a known shell installed, your custom command will no longer save you.  Also if you have a $SHELL which doesn't support -c 'command', it breaks.  These users deserve their pain.

Resolves lp#247330, I think.
2008-07-16 23:13:54 +01:00
Emmanuel Bretelle 18e58148a4 Migrating the DnD overlay code in an expose event
as this seems to be the only way to have an overlay dran with no flicker
2008-07-16 21:00:43 +01:00
Emmanuel Bretelle 735ae78341 well, lets try this 2008-07-16 20:27:16 +01:00
Emmanuel Bretelle d26fcec77e DnD overlay improvement
LP#249065 if composite is disable, dnd is flickering
2008-07-16 20:17:53 +01:00
Chris Jones aeebfea852 revert revision 442. LP #245291 isn't sanely fixable by us. vte needs to expose which regexp library it is using 2008-07-13 23:16:19 +01:00
Chris Jones 994d11eb80 let's apply the boundary test the right way around, and also learn to spell 2008-07-13 01:27:08 +01:00
Chris Jones 95cee4485b This should fix LP #245291 2008-07-13 01:12:11 +01:00
Emmanuel Bretelle cd3013389d fixing LP#247907 and answer#38895
correct typo in terminatorlib/terminatorterm.py
2008-07-12 16:26:33 +01:00
Nicolas Valcárcel c3aa93eb05 Changed Maximise/Unmaximise underlining as per keybinding 2008-07-11 18:56:44 -05:00
Thomas Hurst c877b63c40 Terminate a string. 2008-07-06 16:22:22 +01:00
Chris Jones b240340378 people with python-gnome installed who aren't running gnome need this to be called 2008-07-06 15:54:10 +01:00
Thomas Hurst cc73d436ca openurl is no longer global; add some self.'s to make it work. 2008-07-04 07:29:32 +01:00
Chris Jones 88eb16ce1e tidy up a little in preparation for release 2008-07-03 23:48:29 +01:00
Chris Jones c60845cbf9 not sure that this is useful, but whatever 2008-07-03 22:45:28 +01:00
Chris Jones c20ae50ce0 Add some debugging to the URL opening code 2008-07-03 16:26:04 +01:00
Chris Jones ce0266b0e4 little change to make sure we don't get given gtk1. seems pretty unlikely to happen, but we might as well handle it nicely 2008-07-02 10:16:52 +01:00
Chris Jones f92cb72a6a Hook -d up to terminatorlib.config.debug properly. Closes LP #243753 2008-06-28 21:20:49 +01:00
Emmanuel Bretelle d34496416f Closes LP#242816
Adds a close button to the terms.
We might need to visually inform about the number of terms in a tab
2008-06-27 18:11:24 +01:00
Chris Jones b4ef849f2b oops, don't need this twice here 2008-06-27 01:10:02 +01:00
Chris Jones d38a42b580 split Terminator and TerminatorTerm into their own library files 2008-06-27 00:24:52 +01:00