Commit Graph

167 Commits

Author SHA1 Message Date
Matt Rose
6c56f32eeb
Merge pull request #36 from waldner/master
fast resize keyboard shortcuts
2020-12-03 19:29:48 +00:00
Matt Rose
18ed95abe7 fix background image profile preferences ui 2020-11-19 11:49:45 -05:00
Matt Rose
1822d6ccb1 add config entry and preferences GUI 2020-10-19 17:14:40 -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
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
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
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
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
Phi
a495f290bf Add a 'title bar at bottom' option 2020-08-15 18:15:55 +02: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
robertoetcheverryr
e9a8c42fff Fixed bug in prefseditor.py 2020-06-23 10:08:17 -03:00
Douglas Bacon
3d128f0334 add line-height slider 2020-06-21 14:35:50 -04:00
robertoetcheverryr
c8db3e38aa Added putty_paste_style_source_clipboard 2020-06-19 02:15:13 -03:00
Matt Rose
86f90337f6
Merge pull request #46 from filipkilibarda/master
Added option to disable ctrl+mousewheel zoom
2020-06-02 22:12:28 -04:00
Filip Kilibarda
e4160dddc9 Added option to disable ctrl+mousewheel zoom 2020-04-28 22:57:15 -07:00
Jakub Vaněk
7ea105492f
feat(prefs): add prefs UI for bold_is_bright option (#38) 2020-04-25 20:25:48 +02:00
waldner
8552037fc8 fast resize keyboard shortcuts 2020-04-22 10:14:16 +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
3e9f7742d5 Fix hide on lose focus due to our own menus and Preferences (Juliano Fischer Naves + Steve Boddy) 2017-06-24 04:02:38 +02:00
Stephen Boddy
bba9e2237a Remove auto-capitalisation of profiles in menu, add sorting, and fix exception when adding new one in prefs 2017-02-19 16:57:36 +01:00
Stephen Boddy
96a1e67749 Fix an exception with an unexpected keyword getting passed to set_cursor 2017-02-06 17:32:30 +01:00
Stephen Boddy
a748db277c Fix some strange behaviour when clicking on the trough of a scale (i.e. stepping) The previous value gets read, not the current. 2016-12-12 19:07:08 +01:00
Stephen Boddy
0bd8af4304 Add the ability to deactivate extra theme dependant styling 2016-12-12 12:27:56 +01:00
Stephen Boddy
24d3ed455a A chunk of work bringing the prefs glade file into the gtk3 world 2016-12-12 11:29:19 +01:00
Stephen Boddy
3a6eb144a2 Add gruvbox palette to dropdown as preset 2016-12-07 19:46:21 +01:00
Stephen Boddy
52b578e6eb Allow larger separators 2016-12-06 02:01:48 +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
f0330dadf3 Added radio options to the Cursor colour to make it easier to go back to the XOR'd foreground colour 2015-12-03 15:37:16 +01:00
Stephen Boddy
7518c16588 Some ports of some gtk2 commits that were still outstanding
* Fix the tab switching if a terminal on another tab exits
* Fix for those not running IBus, where the IBus workaround caused broken keys in other keymaps set with non-IBus tools
* PuTTY paste mode
* Updated and grouped default shortcuts in man page
* Fix PuTTY paste mode so Ctrl-Right-Drag, and application mouse handling in terminal still works
* Added smart copy mode switch to prefs
* Merge feature branch for tab/terminal title editing from Haim Daniel
2015-12-01 02:21:00 +01:00
Stephen Boddy
295f884c6d (trunk-1683) Merge feature branch for tab/terminal title editing from Haim Daniel 2015-12-01 00:57:18 +01:00
Stephen Boddy
9115b62928 (trunk-1667) Added smart copy mode switch to prefs 2015-12-01 00:35:06 +01:00
Stephen Boddy
a04ffed850 (trunk-1663) PuTTY paste mode 2015-11-30 22:23:23 +01:00
Stephen Boddy
d3a0d5193e Remove unsupported utmp for now, till alternative solution 2015-11-30 19:07:43 +01:00
Stephen Boddy
7f071e0d7e Fix unwanted seperator size change, and increase granularity of dim/transparent sliders 2015-11-29 19:33:52 +01:00
Stephen Boddy
fbb70b2bc6 Correct some British spelt translated strings to American~ 2015-11-29 00:39:22 +01:00
Stephen Boddy
6db2337c56 Add word chars back in if VTE is 0.40+ 2015-11-28 20:28:01 +01:00
Stephen Boddy
b5b74e8071 Add option to toggle the rewrap on resize 2015-11-28 20:14:14 +01:00
Stephen Boddy
4269a99598 Reimplement visual flash that got removed from libvte, reusing the DnD overlay to flash the terminal (gtk2->gtk3) 2015-09-29 02:24:36 +02:00
Stephen Boddy
ac53de6afb (trunk-1615) Start 'New Layout #' from 1. Looked strange starting at 2 2015-09-01 23:04:16 +02: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
20dad87117 (trunk-1588/1589)
BIG update to translations, due to additions and changes. Unfortunately Launchpad
translations don't work with gettext fuzzy matches, so I'm afraid there's a lot
of rework for translators.

* Add a few new translatable strings
* Update the list of files to scan with additionas and deletions
* Update the template (pot) and country (po) files
* Fix the preferences window to be translated (LP:#1245806) (accidentally added earlier in gtk3 rev 1565, just noting here)
* Update tab close button icon to match lighter gnome-terminal one (accidentally added earlier in gtk3 rev 1565, just noting here)
2015-08-03 21:15:28 +02:00