Commit Graph

221 Commits

Author SHA1 Message Date
Jose Augusto a53dea6fa5 remove rewrap on resize from option and remove functions too 2020-12-27 19:48:41 -03:00
Matt Rose 427c65f2cc Revert "Merge pull request #36 from waldner/master"
This reverts commit 6c56f32eeb, reversing
changes made to 904676057e.
2020-12-27 13:29:30 -05:00
Matt Rose 6c56f32eeb
Merge pull request #36 from waldner/master
fast resize keyboard shortcuts
2020-12-03 19:29:48 +00:00
Matt Rose 8f94a674d9 issue 271: add keybindings to zoom all terminals at once 2020-12-03 13:43:05 -05: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 e8c366ae54 Use the term 'zero padded' instead of 'padded' in prefs key binding and terminal pop up menu, to be consistent with the doc. 2020-08-22 11:28:06 +02: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
Stephen Boddy 73d29ef997 (trunk-1586) Additional windows icon loading works better, and respect the theme changes. 2015-08-03 20:33:10 +02:00
Stephen Boddy 2686296cf6 (trunk-1585) Adds high contast icons, and makes the main window icon loading work better, and respect the theme changes.
Note: wmclass_name no longer readable under GTK3, so -c option is a bit dubious now.
      Also, in HighContrast, there are issues with titlebar background colours that are not present in GTK2.
2015-08-03 20:22:15 +02:00
Stephen Boddy 7f452e5b64 (trunk-1577) Preselect the current layout when opening Prefs window, and also save config after using the layout 'Save' button (Steve Boddy) 2015-07-15 02:51:18 +02:00
Stephen Boddy 758863f363 (trunk-1576) Add 'Save' button for saving to the selected Layout (Ariel Zelivansky) 2015-07-15 02:43:39 +02:00
Stephen Boddy 8b566b9859 (trunk-1574) Add shortcuts for next/prev profile (Peter E Lind, LP#1314734) 2015-07-12 00:27:59 +02:00
Stephen Boddy cf81fe937a (trunk-1573) Global setting for changing the titlebar font (partially from Eli Zor branch), but expanded and improved (docs/GUI), plus some minor fixup from this. 2015-07-10 21:37:35 +02:00
Stephen Boddy 29a412ee0f (trunk-1564) Merge default broadcast behaviour toggle by Jiri (jtyr) - fixes lp #1288835 2015-06-22 20:06:21 +02:00
Stephen Boddy 56c9875395 (trunk-1557) Fix xterm color palette to match xterm - fixes lp #1260924 2015-06-19 03:50:07 +02:00
Stephen Boddy 3b76adfdfb (trunk-1556) whitespace cleanup 2015-06-19 03:48:12 +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
Peter Lind 16cf86d5ab Adding feature to switch between profiles using keybindings
- adding config options
- adding prefeditor code
- adding event handlers to switch back and forth
2014-08-13 09:36:20 +02:00
Ariel Zelivansky eadb5cb419 Save layout button prototype. 2014-05-19 22:47:11 +03:00
Stephen Boddy 106afb85df Additional shortcuts/code to toggle All/Tab grouping 2014-01-24 23:29:07 +01:00
Stephen Boddy 07af1b3cf2 Add icons to the additional windows (Launcher, Preferences and Custom Commands) Improvements welcome ;-) 2013-10-29 14:57:01 +01:00
Stephen Boddy 27555740b3 This fixes the issue where another instance of terminator can overwrite config changes you make. Makes setting up layouts more usable. 2013-08-29 19:43:24 +02:00
Stephen Boddy e14cd19690 Initial cut of layout launcher. It 'aint pretty, but it works 2013-08-28 23:09:17 +02:00
Stephen Boddy f49e8a2356 Additional GUI code to use working dirs 2013-08-27 19:22:57 +02:00
Stephen Boddy b29929e6e7 Fix for background prefs. Closes LP#1202109 2013-08-01 19:57:51 +02:00
Stephen Boddy 89fddd836b Fix for background prefs. Closes LP#1202109 2013-08-01 19:56:55 +02:00
Stephen Boddy 031f754be4 Merge non-homogenous tab feature from Grizzly Smit 2013-08-01 19:47:20 +02:00
Stephen Boddy b0b8b576f6 A little adjustment to prevent messy tabs when tabs are not homogenous 2013-08-01 17:30:18 +02:00
Stephen Boddy d271137675 Merge feature from nanikata. Closes LP#332267 2013-07-14 21:01:58 +02:00
Chris Jones 218cf4c1fb Fix prefs window to not be able to set the inactive colour offset to a value >1.0. Doing so has terrible overflow consequences and ends up making the text very dark, instead of leaving it alone. Closes LP#1177506 2013-05-11 23:03:46 +01:00
Chris Jones 3b37d87bd9 Apple patch from Juan Francisco Cantero Hutardo to add the Solarized colour theme to Terminator. Closes #1102241 2013-02-16 00:10:45 +00:00
Chris Jones d1835cecf1 Merge a branch from Przemek Wesolek which allows for retaining profile choice across splits/tabs. Closes LP#884329 2012-10-18 16:56:34 -07:00
Chris Jones 3dd931e19a Merge a branch from Stephen J Boddy to add a keyboard shortcut for changing the window title 2012-07-10 19:41:26 +01:00
Stephen Boddy e5eda24a21 Add shortcut (no default) to edit window title. 2012-06-26 20:29:54 +02:00
Stephen Boddy b4ef645a2f Add shortcuts (no defaults) to insert the group menu numbers. 2012-06-26 20:23:39 +02:00
Chris Jones bca4b8b89f Merge branch from Andre Hilsendeger that implements container rotation 2012-04-19 10:59:33 +01:00
Andre Hilsendeger e95bdcf964 Add possibility to rotate the paned containers. 2012-04-04 17:48:29 +02:00
Chris Jones 4b4b8cce9a Guard against invalid colours. Closes LP#943251 2012-03-06 09:19:52 +00:00
Chris Jones 4e2897fa05 Allow users to override the URL handler with a custom executable 2012-01-14 20:39:00 +00:00
Francis Smit (Grizzly) 8c391e96d2 have added configuration check boxex for scroll_tabbar and homogeneous_tabbar to the preferences dialog box, I'have tested it and it all works 2011-11-20 23:09:54 +11:00
Chris Jones 780c295cf0 Allow font dimming in inactive terminals 2011-10-07 01:20:54 +01:00
Chris Jones 845ca998c0 Add config option to hide terminal size. Patch from João Pinto. Fixes LP#691213 2011-08-21 01:07:11 +01:00
Peter B. Jørgensen 356646c8bc merged with trunk 2010-08-30 22:36:33 +02:00
Chris Jones 9044ffabb0 Land a modified and extended patch from Andrea Corbellini that adds a dbus server and a new default behaviour to use the dbus server to make terminator processes singletons 2010-07-21 23:17:34 +01:00
Peter B. Jørgensen 7d28aba91c merge with trunk 2010-07-15 16:43:58 +02:00
Chris Jones bab0cc27d5 Make font antialiasing configurable 2010-07-13 13:50:33 +01:00
Peter B. Jørgensen 656c2b3b76 Merged with trunk 2010-07-13 14:19:42 +02:00
Chris Jones 7522bb2b9d Deprecate the hide_tabbar config option and instead add a 'hidden' value to tab_position and update the code/UI/docs accordingly. 2010-07-03 20:42:33 +01:00
Chris Jones 597f4ff75d Expose keybindings for setting the broadcast modes. Closes LP #598410 2010-07-03 18:54:53 +01:00
Chris Jones 29ee8ace1b Add copy_on_selection to the profile editor 2010-06-24 21:56:18 +01:00
Chris Jones 0533af23ae Enable selecting a profile's encoding via the prefs UI. Closes LP #597340 2010-06-23 12:03:04 +01:00
Chris Jones 45a9c26cf2 Switch the plugin prefs pane back to live loading/unloading of plugins without silly compromises 2010-06-23 00:48:06 +01:00