Commit Graph

175 Commits

Author SHA1 Message Date
Rick Calixte
46f956613f
window.py: Fix window group toggle keybind
The current conditional always evaluates to False, resulting in the
ungroup_win() function never being called
2024-02-09 18:39:37 -05:00
Vulcalien
8c0c7ceb4f Add a setting to specify when to ask to confirm before closing
'ask_before_closing' replaces 'suppress_multiple_term_dialog'.
The function 'Container.construct_confirm_close' was significantly
modified. The terminator_config manpage has been updated.
2023-10-10 17:03:21 +02:00
Vulcalien
8911723518 Window: always ask confirmation to close, even with only one terminal 2023-10-10 15:47:39 +02:00
Julien Dusser
e61fc1ce60 Add command line option --toggle-visibility
Useful for Wayland where global shortcuts are not available. Use window
manager to bind "terminator --toggle-visibilty" to a keyboard shortcut.
2023-07-20 17:38:37 +02:00
Matt Rose
a83ee32840
Merge pull request #589 from Vulcalien/zoom-on-notebook
Zoom on notebook even if there is only one terminal in the tab + keep tab position and label in notebook rotation
2022-11-18 23:28:17 -05:00
Vishweshwar Saran Singh Deo
6bdb0c648c [bug 613] - Shortcut for autosplit h/v depending on active terminal size #613
-added auto split feature
-new signal split-auto was added
-currently this uses widget dimensions for the split as rows, cols were having different space and was not consistent, this can be changed if needed
-short cut was also added
-icon for the menu item needs to be added
2022-11-05 11:42:38 +05:30
Matt Rose
3fa8669050
Merge pull request #661 from vssdeo/654-Plugin-Submission-SaveLastSessionLayout-Uses-Layout-to-Auto-Save-Last
[bug 654] - Plugin Submission : SaveLastSessionLayout Uses Layout to …
2022-10-30 21:23:15 -04:00
Vishweshwar Saran Singh Deo
3aaf54b5de [bug 654] - Plugin Submission : SaveLastSessionLayout Uses Layout to Auto-Save Last session and CWD on Terminal Window Close
- changes for the pre-close-term event in the plugin
- submitting as I had first thought of using current event close-term, but later thought of a consistent solution
2022-10-30 23:26:10 +05:30
Kian-Meng Ang
25111f2402 Fix typos
Found via `codespell -S .eggs,po,*.css -L boddy,maco,trough,wont,poing,gir,visibles`
2022-10-22 00:07:07 +08:00
Vulcalien
df0643b1a4 Notebook rotate: keep tab position and label 2022-08-27 22:06:00 +02:00
Vulcalien
06ada7c655 Notebook tab zoom: keep label and position 2022-05-20 13:12:16 +02:00
Vulcalien
8e50eb75ce Remove duplicated info in some debug messages 2022-01-28 21:51:54 +01:00
Vulcalien
c574d77374 Remove duplicated variable 2021-12-18 11:58:38 +01:00
Vulcalien
0ed248c0c7 Clear pending events after unzoom + navigate/rotate
Navigation is consistent
2021-12-17 19:51:22 +01:00
Vulcalien
8c90bb4dc3 Unzoom terminal on interaction
There is a bug: strange behavior for navigation and rotation
2021-12-10 20:57:48 +01:00
Vulcalien
b2d15898a2 Fix: 'None' value for keybindings breaks editor
The bug: Gtk.accelerator_parse throws an error if the arg is None.
This means that if one keybinding is set to None, it is impossible to
set any new keybinding.
2021-12-07 16:09:56 +01:00
Tom Yan
3c33a7770d Fix hide_window keybinding unset check
We use empty string for unset, not None
2021-09-19 13:40:15 +08:00
Vulcalien
8381045d5a Bug Fix: hide_window keybinding ignores Shift key 2021-09-11 17:57:13 +02:00
Vulcalien
28e76fe469 BugFix: on destroy, window does not close every terminal in it 2021-08-27 18:54:21 +02:00
Matt Rose
b80d133ccf add group all terminals in window 2021-08-06 19:02:54 -04:00
Vulcalien
c9540023f1 Fixed Issue #425 (hide_window will try to show a destroyed window) 2021-06-25 20:40:12 +02:00
Vulcalien
c00a54d867 Fixed geometry hints 2021-04-08 21:57:41 +02:00
Matt Rose
769aaf1ae3 only import the GdkX11 if it is part of the glib module repository 2020-04-17 12:50:46 -04: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
Juliano Fischer Naves
a06f2808fb Prevent terminator hiding due to right click. Refer to bug #843674 2017-06-19 21:12:11 -04:00
Stephen Boddy
92d8d70cc0 Remove the ability to set window classname, as function in gtk is now deprecated 2017-03-13 19:41:33 +01:00
Stephen Boddy
eb37238fa3 Fix exception when running under Wayland where we attempt something X11 specific 2017-02-28 20:48:11 +01:00
Stephen Boddy
75f4abba49 Fix custom_command and always_split_with_profile to work together (Nix) 2017-02-13 17:30:37 +01:00
Stephen Boddy
5f329928af Fix the version introspection capture by exception 2017-02-07 17:09:34 +01:00
Stephen Boddy
558350344b Second attempt at focus/z-order as I missed a bit of Saber Rastikerdar's fix 2017-02-02 17:29:17 +01:00
Stephen Boddy
37ea9c90dc Fixes issue introduced by gtk3 port (Saber Rastikerdar in lp:805870) 2017-02-01 18:57:36 +01:00
Stephen Boddy
cb83ee1bd1 Displays dialog when a single term is zoomed/maximised (minoru/shiraeeshi) 2017-02-01 09:11:11 +01:00
Stephen Boddy
eaaac416f8 Fix the global hide window binding to work with shifted keys 2017-02-01 08:53:31 +01:00
Stephen Boddy
1f2ec6df18 Left some debug print statements in when committing something else 2017-02-01 07:25:49 +01:00
shiraeeshi
d42dc52481 confirm when closing a window with zoomed terminal 2017-01-16 19:17:42 +06:00
Stephen Boddy
cc14681bfd Merge in from lp:terminator 2016-12-08 03:27:10 +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
01712503a0 Fixes zero-sized terminals after rotate 2016-11-23 06:10:25 +01:00
Braden M. Kelley
d9c6c9c496 Fix transparency for newer versions of GTK 2016-07-08 12:04:54 +02:00
Stephen Boddy
9c21b835c2 Fix closing window using short-cut 2015-12-02 20:07:21 +01:00
Stephen Boddy
501e7c5e1a Minor followup to rotate focus loss - probably no effect 2015-12-01 02:16:53 +01:00
Stephen Boddy
8c45d97304 Fix rotate terminals under tabs, and (gtk3-only) focus loss on rotate 2015-11-30 16:19:41 +01:00
Stephen Boddy
85c0518643 Fixes startup on Wayland because Keybinder seems to be X11 only 2015-11-28 17:25:47 +01:00
Stephen Boddy
7b769ae1d8 * Fix the DBus interface (gtk2-gtk3)
* Disable the wm_class feature. Seems not possible in GTK3, and breaks
  the DBus call for new_window.
(trunk-1651)
* As part of GTK3 fixup, some improvements to the DBus interface, and
  remotinator (Steve Boddy)
  * Can now open a window or tab using remotinator
  * Can get the window uuid, or title using remotinator
  * Moved new tab key handling into the terminal for consistency
  * Standardise response when a new term is created (split, win
    or tab) to reply with new terms uuid
  * For GTK3 gave the DBus a slightly different name so they it
    can run at same time as GTK2
  * remotinator now uses argparse for commandline option handling,
    vastly improving the option handling
  * remotinator help strings are translatable now
2015-09-19 05:25:25 +02:00
Stephen Boddy
76b9cd33e0 Minor fix for a lingering usage of GTK2 style constant when setting the last resort icon. 2015-09-10 00:34:12 +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
b0d4357002 (trunk-1554/1561) Final fix for moving between terminals, checks for overlap. So far never selects wrong terminal. 2015-06-20 21:02:41 +02:00
Stephen Boddy
56e78990f2 (trunk-1555) Show application if --new-tab passed, although needs currently broken dbus - lp #1367680 2015-06-19 03:41:46 +02:00