Commit Graph

3144 Commits

Author SHA1 Message Date
Matt Rose e418621c77
Merge pull request #232 from mattrose/issue-227-install
fix INSTALL instructions for setuptools
2020-10-08 15:40:38 -04:00
Matt Rose 251d89c8cd only set clear background when background_image in config 2020-10-08 15:38:09 -04:00
Matt Rose 1520cdad96 fix INSTALL instructions for setuptools 2020-10-08 15:13:42 -04:00
Ivar Smolin 4159fdb538 Updated Estonian translation 2020-10-07 14:12:29 +03:00
Matt Rose 8bc1af0749 Release Version 2.0 2020-10-06 09:47:30 -04:00
David Levanon cca9ee3e90 rename readme to readme.md 2020-10-04 13:40:20 +03:00
David Levanon 231c9fb210 move json layout example files to data 2020-10-04 13:38:45 +03:00
Matt Rose e9eb89ef00
Merge pull request #217 from mattrose/background-image
Background image
2020-09-30 10:23:50 -04:00
Matt Rose 8db142d92b add GUI controls for background image 2020-09-30 10:20:02 -04:00
dkmvs ba5d155c36 Reset Key Bindings to Default in Prefseditor Test
This commit adds a function that resets key bindings to the default in
 `test_keybinding_edit_produce_expected_accels` test.
Note that this function needs to run at the end of every test that
modifies the key bindings as they are not automatically reset after
the test has run.
2020-09-30 00:37:30 +03:00
dkmvs 03d5e20695 Add Test for `Keybinding>Preferences`
This commit adds
`test_keybinding_successfully_reassigned_after_clearing` test,
which checks that a key binding is successfully reassigned after it
has been cleared.
2020-09-29 22:05:54 +03:00
dkmvs 840a95eeb2 Use Empty String for Cleared Accels
When a key binding is cleared its value is now set to "" (an empty
string) instead of `None` as before.

This change is introduced because `Gtk.accelerator_parse` does not
allow `None` to be used as a value, which in turn breaks
`on_cellrenderer_accel_edited` function in
`terminatorlib/prefseditor.py` by raising a `TypeError` every time a
new key binding is introduced. Note that this only happens if at
least one key binding has been cleared first.
2020-09-29 17:10:56 +03:00
Matt Rose e06003ee41 Merge branch 'master' into background-image 2020-09-29 10:06:21 -04:00
Matt Rose a84bed91cf
Merge pull request #220 from mattrose/master
Revert "Merge pull request #208 from mattrose/update-vte-spawn"
2020-09-27 09:47:49 -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
David Levanon f387f4886c set default profile from the json file 2020-09-24 15:19:58 +03:00
David Levanon b669996180 prevent json layout and profile from being saved to the global config file 2020-09-24 13:39:48 +03:00
David Levanon 42b1915065 support ratio for terminals 2020-09-24 13:12:23 +03: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
Matt Rose b2599b657e
Merge pull request #211 from dkmvs/fix-shift-tab-keybinding-combination
Fix: Allow `Shift+Tab` Key Binding
2020-09-22 16:51:36 -04:00
David Levanon 0151c68abe revert terminator.py back 2020-09-21 01:04:59 +03:00
David Levanon 130b0a0af1 adding profile to the layout file
fix layout examples - adding profile

refactor - changing layoutfile to configjson
2020-09-21 01:02:19 +03:00
David Levanon 69c8a3f1d9 fix some complicated layouts 2020-09-20 21:15:14 +03:00
David Levanon b595bec775 layout file - initial commit - work in progress 2020-09-19 22:27:21 +03:00
dkmvs 5e417ee09d Add Tests for `Keybinding>Preferences`
The test in this commit checks that editing a key binding using a predefined
key combination produces the expected accelerator.
2020-09-18 03:45:31 +03: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
Matt Rose 940b721ba6
Merge pull request #200 from mattrose/dbus-options
Dbus options
2020-09-03 15:10:26 -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 75d68b8d2b move cmdline option conversion to dbus format to optionparse 2020-08-28 16:55:14 -04:00