Commit Graph

1473 Commits

Author SHA1 Message Date
planet36 310f70ac5f Create config file if it doesn't exist
Use pathlib.Path for config file and backup file
2020-10-09 20:28:48 -04:00
planet36 ebae1e1440 Backup config before writing to it
Fixes #234
2020-10-08 17:11:32 -04:00
Matt Rose 251d89c8cd only set clear background when background_image in config 2020-10-08 15:38:09 -04:00
Matt Rose 8bc1af0749 Release Version 2.0 2020-10-06 09:47:30 -04:00
Matt Rose 8db142d92b add GUI controls for background image 2020-09-30 10:20:02 -04:00
Matt Rose e06003ee41 Merge branch 'master' into background-image 2020-09-29 10:06:21 -04:00
Matt Rose a44ebd9e2e Revert "Merge pull request #208 from mattrose/update-vte-spawn"
This reverts commit f5cbdce5fc, reversing
changes made to e1476a2ef2.
2020-09-27 09:41:02 -04:00
Matt Rose 8d85beaafa Merge branch 'master' of https://github.com/gnome-terminator/terminator into background-image 2020-09-27 09:29:03 -04:00
Matt Rose 6db631f7d5 remove print debug 2020-09-24 16:41:14 -04:00
Matt Rose 415b7653dc added config values for background_image and background_alpha 2020-09-24 16:24:54 -04:00
Matt Rose 501e6b3145 rough POC with a hardcoded image file 2020-09-23 21:52:44 -04:00
Matt Rose 41caaabdf3
Merge pull request #205 from mattrose/command-notify
Command notify
2020-09-23 10:22:13 -04:00
Matt Rose dad40bb1b2 do not advertise as AVAILABLE if the signal is not present in the Vte library 2020-09-22 17:48:37 -04:00
Matt Rose f5cbdce5fc
Merge pull request #208 from mattrose/update-vte-spawn
update Terminal.spawn_child() to use spawn_async, not spawn_sync
2020-09-22 17:17:13 -04:00
Matt Rose e1476a2ef2
Merge pull request #215 from mattrose/add-prefs-key
fix spacing
2020-09-22 17:04:51 -04:00
Matt Rose 0ff6a7b498 fix spacing 2020-09-22 16:59:26 -04:00
Matt Rose 71d4713d61
Merge pull request #209 from mattrose/add-prefs-key
add preferences keybindings
2020-09-22 16:58:37 -04:00
dkmvs 6c404d0355 Allow `Shift+Tab` Key Binding Accelerator
This commit allows to assign the `Shift+Tab` key binding to an action in
`Preferences>Keybindings`.

In GTK the Tab key can be modified by the Shift key. Such a key combination
has a special key value - `Gdk.KEY_ISO_Left_Tab`.
To allow it, `key = key_with_shift.keyval` was added to the code.

However, `Gdk.KEY_ISO_Left_Tab` key value is displayed as `Left Tab` in
`Preferences>Keybindings`, which is confusing as it is not obvious that it
corresponds to the `Shift+Tab` key combination. To make sure that `Shift+Tab`
is displayed as `Shift+Tab`, the `Shift+Tab` case is treated as if no Shift
was pressed at all.
2020-09-14 04:26:13 +03:00
Matt Rose 6ec295cdbc add preferences keybindings 2020-09-11 20:47:57 -04:00
Matt Rose a93609da8f
Merge pull request #196 from dkmvs/dkmvs-forbid-duplicate-keybindings
Fix: Forbid Duplicate Key Bindings in `Preferences > Keybindings`
2020-09-09 14:32:30 -04:00
Matt Rose 793ac673aa update Terminal.spawn_child() to use spawn_async, not spawn_sync 2020-09-09 14:05:08 -04:00
Matt Rose 1c747b8971
Merge pull request #207 from mattrose/fix-login
fix login_shell option so that it sends -l rather than -shell
2020-09-09 14:01:48 -04:00
Matt Rose d0ac642f71 fix login_shell option so that it sends -l rather than -shell 2020-09-08 11:18:52 -04:00
Matt Rose 98d11928c6 add proper arguments 2020-09-04 12:15:25 -04:00
Matt Rose 8cd329c5c5 added some more documentation 2020-09-04 10:40:14 -04:00
Matt Rose bad60a03f2 tweak class name as well 2020-09-04 10:29:46 -04:00
Matt Rose 752311b8fe Tweak Name so it does not interfere with @xll4dux plugin 2020-09-03 18:18:08 -04:00
Matt Rose 93c1169104 update description 2020-09-03 18:14:49 -04:00
Matt Rose 6220af8030 add plugin to notify when command is complete 2020-09-03 18:00:08 -04:00
dkmvs 1b5b584669 Add Tests for `Preferences>Keybidings`
This commit adds tests that check that:
1) Default key binding accelerators are distinct.
2) Message dialog appears when a duplicate key binding accelerator is
attempted to be assigned to a different action.
3) Duplicate key binding accelerator cannot refer to more than one action.

Also, `active_message_dialog` attribute was added to `PrefsEditor`, so
that tests could get a reference to a message dialog window.
2020-09-02 16:39:20 +03:00
dkmvs 46e78520c4 Forbid Duplicate Key Bindings
This commit forbids setting duplicate key bindings in
`Preferences > Keybindings` tab.

If a duplicate key binding is detected upon editing, such a key binding
is not assigned and instead a message dialog is displayed saying that the
key binding is a duplicate.
2020-09-02 15:25:20 +03:00
Matt Rose c04b6aeb87 move cmdline option conversion to dbus format to optionparse 2020-08-28 16:51:37 -04:00
Matt Rose 1ad579ce03
Merge pull request #195 from mattrose/add_key_create_group
Key binding option for creating group in current terminal
2020-08-25 15:56:59 -04:00
Matt Rose 2b6fbe5048 Key binding option for creating group in current tab 2020-08-25 15:50:40 -04:00
Matt Rose 956ca49dd2
Merge pull request #193 from mattrose/fix-separator
Add 'wide_handle' property
2020-08-24 15:05:54 -04:00
Matt Rose da9b5d49c1 Add 'wide_handle' property to allow you to paste from the first column to the right of a vertically split window 2020-08-24 14:41:21 -04:00
Matt Rose 527a8df76c
Merge pull request #185 from phidebian/phi-rem-conn
Exit remotinator with an explicit error message when terminator is needed but not running
2020-08-19 15:14:27 -04:00
Phi ba2c8fab6d Exit remotinator with an explicit error message when terminator is need but not running. 2020-08-19 13:54:12 +02:00
Phi 5f130c7b91 Add 'title at bottom' comment to say it require a restart to take effect. 2020-08-16 10:16:29 +02:00
Phi a495f290bf Add a 'title bar at bottom' option 2020-08-15 18:15:55 +02:00
Matt Rose 9e05a5df2f
Merge pull request #176 from mattrose/new-hyper
add support for OSC-8
2020-07-27 17:22:51 -04:00
Matt Rose 76664f6c93
Merge pull request #172 from mattrose/remove-gnome-session
remove unused gnome session code
2020-07-23 10:56:37 -04:00
Matt Rose a530fc61ba
Merge pull request #171 from mattrose/version-string
Add version string to "Preferences -> About"
2020-07-23 10:56:18 -04:00
Matt Rose f3ed616e22
Merge pull request #145 from mattrose/fix-wrapcloseterm
fix traceback on paned.py
2020-07-22 13:46:41 -04:00
Matt Rose 772031acd0 remove unused gnome session code 2020-07-22 13:44:34 -04:00
Matt Rose 1c62d3a598 add version label to About box 2020-07-22 13:15:08 -04:00
Matt Rose 8d783364e6 add support for OSC-8 2020-07-20 17:19:21 -04:00
Matt Rose b50de62fe6 Merge branch 'master' of https://github.com/gnome-terminator/terminator into fix-wrapcloseterm 2020-07-09 10:04:25 -04:00
Aaron Faanes a3ef71548e Allow live previewing of profile color changes 2020-07-07 19:48:42 -05:00
dkmvs 279a3e10e6 Fix: Allow Key Bindings with Shift-Modified Keys
This commit allows to set key bindings that contain
a key modified by a Shift key (e.g. `Ctrl + {`).
For example, after pressing `Ctrl + Shift + [`,
a key binding will be set to `Ctrl + {` as opposed
to `Ctrl + Shift + {` as before.

This is achieved by checking whether a key changes its
value when a Shift key is down. If it does, then the
Shift modifier is removed from `mods`. One exception:
if a key binding contains a letter then the Shift
modifier is not removed. This is because, for some
reason, a key value of a letter is never modified by the
Shift modifier and always corresponds to a key value of
a lowercase character. This is already handled in
`terminatorlib/keybindings.py`.

Resolves: #149
2020-06-27 23:42:04 +01:00