Commit Graph

51 Commits

Author SHA1 Message Date
Fernando Basso
bd5dba5b08 Refactor line height to cell height
After the previous commit [1], which implements ‘cell width’, it makes
sense to rename ‘line height’ to ‘cell height’, especially because it is
the terminology used by VTE itself [2].

1. ef1768505c Add cell width configuration in preferences
2. https://lazka.github.io/pgi-docs/Vte-2.91/classes/Terminal.html#Vte.Terminal.set_cell_height_scale
2021-12-14 06:30:58 -03:00
xuezhixin
35e4ee7286 Added Lang option 2021-12-02 00:10:19 +08:00
xuezhixin
5f9544b3b3 Lang in os.environ is used as an alternative 2021-12-01 21:32:49 +08:00
Matt Rose
5c9c482843 load config from XDG_CONFIG_DIRS if user config file doesn't exist 2020-12-01 14:38:29 -05:00
Matt Rose
0ce26864b1 multiple small documentation fixes 2020-11-09 09:46:07 -05:00
Markus Frosch
c8269e5a6b Fix some compat issues for Python 2.7 2020-04-17 18:19:25 +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
8213b828c9 Fix remotinator get_tab_title for tabs with more than a single terminal (Nix) 2017-02-13 15:36:55 +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
3664a1ab73 Change the help shortcut to open online documentation hosted at readthedocs.org,
as it is not clear how to package the documentation in a way that satisfies debian rules.
2016-10-27 06:27:21 +02:00
Stephen Boddy
85c0518643 Fixes startup on Wayland because Keybinder seems to be X11 only 2015-11-28 17:25:47 +01:00
Stephen Boddy
f64d3e67fa (trunk-1599/1600/1601)
* setup.py can install the manual (and by extension do can debuild)
* setup.py has (inactive) code for generating the html from the source
  but this will break if rtd theme is not available
* A few changes to doc strings to make the autodoc prettier
* Added help shortcut, by default F1 to open the local manual
* Added button to About tab to launch manual
* A couple of additional string to translate related to manual/help

* Small tweak to setup.py to seperate build and install, and always attempt
  to install manual by default.

* Small fix for systems (i.e. my 12.04 LTS) that don't set LANGUAGE for
  whatever reason. This breaks the manual lookup
2015-09-01 22:50:09 +02:00
Stephen Boddy
d56da596b3 Fix the drag-and-drop of terminals/text back to pre-port functionality - a real pain this one (gtk2->gtk3) 2015-07-12 22:06:36 +02:00
Stephen Boddy
b0d4357002 (trunk-1554/1561) Final fix for moving between terminals, checks for overlap. So far never selects wrong terminal. 2015-06-20 21:02:41 +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
8c07f1ac41 Allow the UUID to return a uuid object based on a provided UUID string 2013-10-30 17:07:23 +01:00
Stephen Boddy
e14cd19690 Initial cut of layout launcher. It 'aint pretty, but it works 2013-08-28 23:09:17 +02:00
Chris Jones
865c343e80 Ignore /bin/bash when selecting the correct shell for a user. Closes LP#1122031 2013-02-27 17:47:35 +00:00
Chris Jones
6a4e47090b Automatically inject a UUID into any factory object, rather than special-casing terminals. This will be very useful for introspection via dbus 2012-10-18 11:39:28 -07:00
Chris Jones
ae4a8a65ed Fix various bugs (Stephen Boddy) 2011-08-20 16:34:05 +01:00
Chris Jones
32b8d04695 Optimise various low level parts (Stephen Boddy) 2011-08-20 14:53:23 +01:00
Chris Jones
ce0bedc3cf Fixes from checkers to work around missing user definitions 2011-05-03 17:49:00 +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
Stephen Boddy
966c6ca104 Makes the Insert terminal number order more sane in complex layouts 2011-02-23 22:02:09 +01:00
Chris Jones
7253eda0c8 Add a couple of handy debugging statements for config file/dir problems 2010-10-15 12:40:29 +01:00
Chris Jones
e753470633 We should destroy the gerr dialog in the context it exists in 2010-06-15 14:54:24 +01:00
Chris Jones
9a90d48137 Wrap our dbg/err prints in an exception handler, since std.stderr is unfunctional in certain circumstances. Closes LP #562490 2010-04-15 12:59:19 +01:00
Chris Jones
5ac45778d5 Relax the checking of navigability slightly, to handle the case where handle_size=0. Closes LP #562039 2010-04-13 12:55:10 +01:00
Chris Jones
54305c8254 Add basic support for filtering in dbg() to reduce the noise if someone only cares about a few classes/methods 2010-02-17 21:15:33 +01:00
Chris Jones
102463acb3 Skip widget pixbuf generation for older gtks, not newer ones 2010-02-04 01:00:35 +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
81e00fca0b Mask some incompatibilities with older gtk 2010-01-21 13:23:39 +00:00
Chris Jones
ee72ae478f refactor out the last two decisions in the directional navigation so instead of being test code that can only move left, they now move in all four directions 2010-01-20 13:04:14 +00:00
Chris Jones
db7b0cc0a0 Directional navigation. Only works for going left yet, see included FIXME 2010-01-20 00:54:35 +00:00
Chris Jones
bdbe359767 Restore -e and -x support 2010-01-18 22:56:43 +00:00
Chris Jones
3917ea568b Add tiny test coverage for util.py 2010-01-14 23:48:15 +00:00
Chris Jones
4d216633fc -d now automatically infers the Class::method in dbg(), and -d additionally adds a trailing (filename:line) item. debugserver is now moved to -ddd 2010-01-14 13:15:05 +00:00
Chris Jones
b8aac8874a Disable DEBUG for now 2010-01-11 10:10:19 +00:00
Chris Jones
dbe683e259 hey look it's 2010 already 2010-01-04 23:56:28 +00:00
Chris Jones
5bd1b3f9af Make sure ConfigBase() only uses a copy of DEFAULTS so we never change DEFAULTS, allowing us to add dict_diff() so we can avoid including things in the config file that aren't default 2009-12-26 01:19:42 +00:00
Chris Jones
60a1b085b4 Add a utility function for finding ~/.config/terminator and use it in PLuginRegistry to load plugins from the user's homedir 2009-12-24 21:35:07 +00:00
Chris Jones
0deda2434d pylint fixes 2009-11-20 16:52:39 -06:00
Chris Jones
f7d0d957cd Add function to snapshot a widget and its children as a pixbuf 2009-10-27 21:03:11 +00:00
Chris Jones
0912fb8aae fix up a pylint error and migrate some pure functions from terminal.py 2009-09-06 22:54:52 +01:00
Chris Jones
5e54d42eca work on grouping/ungrouping of all terminals in a tab 2009-09-05 00:34:09 +01:00
Chris Jones
ad372bbdcd Make a generic graphical error function 2009-08-18 12:52:06 +01:00
Chris Jones
70173e6978 remove unnecessary import and default to debugging for now 2009-08-10 00:11:31 +01:00
Chris Jones
dee9745d99 improve pylint compliance of util 2009-08-10 00:10:08 +01:00