Commit Graph

1489 Commits

Author SHA1 Message Date
Matt Rose 80b20a8050
Merge pull request #247 from mattrose/fix-horizontal-div-handle
fix the handle on the divider between horizontal panes
2020-10-16 11:37:42 -04:00
Matt Rose dc0ea4dff9 fix the handle on the divider between horizontal panes 2020-10-16 11:32:55 -04:00
Matt Rose 80fb628fbc
Merge pull request #214 from dvdlevanon/layout-json-file
layout file - initial commit - work in progress
2020-10-14 14:01:06 -04:00
Matt Rose 6df1304563
Merge pull request #224 from dkmvs/fix-keybinding-accel-clearing
Fix: Key Binding Clearing in `Preferences > Keybindings`
2020-10-14 14:00:10 -04:00
Matt Rose 44f538f3f9
Merge pull request #235 from planet36/save_config_file
Change how config file is saved
2020-10-14 11:54:20 -04:00
planet36 2d7f9133b0 Create config file if it doesn't exist 2020-10-11 23:28:04 -04:00
planet36 610580b704 Revert "Create config file if it doesn't exist"
This reverts commit 310f70ac5f.
2020-10-11 23:16:46 -04:00
Matt Rose 68d0be887e Release version 2.0.1 2020-10-11 14:13:42 -04:00
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
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 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
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 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