Commit Graph

248 Commits

Author SHA1 Message Date
Vishweshwar Saran Singh Deo ff45920874 [bug 835] 835-crash-after-unzooming-a-single-terminal-inside-a-tab #835
-removed previous code to start fresh
-added event type for tab-change since other way of identifying zoomed widget was not simple and clear
-emit tab-change is done at a single point now in notebook.py
2023-10-20 23:50:25 +05:30
Vishweshwar Saran Singh Deo bd4e3b3470 Merge remote-tracking branch 'upstream/master' into 681-Plugin-Submission-Plugin-Utility-KeyBinding-Mouseless-Keyboard-URL-Open 2023-08-26 20:47:10 +05:30
Matthew Rose f7b6ea07bc Fix Insert Term Name Plugin error
The "Insert terminal name" Plugin causes the following traceback
Traceback (most recent call last):
  File "/Users/mattrose/Code/terminator/terminatorlib/terminator.py", line 588, in do_insert_term_name
    term.feed(name)
  File "/Users/mattrose/Code/terminator/terminatorlib/terminal.py", line 1709, in feed
    self.vte.feed_child(text)

This PR fixes it so the plugin inserts the terminal name, as intended.
2023-08-26 09:21:18 -04:00
Vishweshwar Saran Singh Deo 64a6e391ac - more changes from 681-Plugin-Submission-Plugin-Utility-KeyBinding-Mouseless-Keyboard-URL-Open that were to be decoupled 2023-08-09 14:47:42 +05:30
Vulcalien d8852f1e54 Do not remove focus from the last_active_window
This caused all the new windows to be unfocused, forcing the user to
manually focus one.
The 'last_active_window' feature might be broken anyway.
2023-03-11 12:48:20 +01:00
Matt Rose 3d79ca5072
Merge pull request #716 from mattrose/714-fixdadt
Remove hack to ensure that focus is set.
2023-03-09 17:11:02 -05:00
Matt Rose 45a8b4c75c
Merge pull request #691 from nicbn/patch-1
Ctrl+Click on group button automatically creates groups whenever needed
2023-03-01 16:23:33 -05:00
Matthew Rose d6d9cce90c should not commit this late at night. 2023-02-28 22:32:14 -05:00
Matthew Rose ed763df331 Further fix to last_active_window 2023-02-28 22:22:57 -05:00
Matthew Rose 066acd779a Remove hack to ensure that focus is set.
set_focus() should do the trick according to the docs, so
let's just use that, and not go to extraordinary measures.
2023-02-28 21:42:29 -05:00
nicbn c84821e36a Make Ctrl+Click on group button automatically create groups 2022-12-06 18:08:01 -03:00
Matt Rose 13ff8cdcf5
Merge pull request #683 from mattrose/insert-term-name-plugin
Plugin and Group menu item that inserts the name of the terminal.
2022-11-20 16:11:25 -05:00
Matthew Rose 3d63c91517 [New Plugin] Plugin that inserts the name
This plugin inserts the name of the terminal, as determined by
Terminal.get_window_title() to all open terminals. Fixes #540
2022-11-19 23:01:05 -05:00
Matt Rose 044b3eaee1 Remove all ibus workarounds
I am sick of ibus breaking every single time we issue a new
release, so as of now, I've gone through the code and removed
all of the workarounds that we have put in to try and get
around issues in ibus, and GTK Input Methods in general.

The code as it stands should work, I'm going to mention a
bunch of people in this PR and ask them to beta test this
change.
2022-11-14 11:00:25 -05:00
Matt Rose df1a433c61
Merge pull request #651 from kianmeng/fix-typos
Fix typos
2022-10-30 11:29:12 -04:00
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
Vishweshwar Saran Singh Deo 5bd81ce478 - added plugin save_last_session_layout.py
- saves the working directory and layout of last session (last window) closed
- layout is saved under name of SaveLastSessionLayout
- can be loaded from context menu (right click) -> layouts -> "SaveLastSessionLayout"
- last working directory is also saved
2022-10-16 01:32:30 +05:30
Vulcalien 8e50eb75ce Remove duplicated info in some debug messages 2022-01-28 21:51:54 +01:00
Matt Rose b80d133ccf add group all terminals in window 2021-08-06 19:02:54 -04: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
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 b595bec775 layout file - initial commit - work in progress 2020-09-19 22:27:21 +03:00
Matt Rose 772031acd0 remove unused gnome session code 2020-07-22 13:44:34 -04:00
Matt Rose 0c1032afa0
Merge pull request #140 from mattrose/issue133
replaces the handle_size property that was deprecated in gtk3.20
2020-06-21 12:03:48 -04:00
Matt Rose 4db7df5ea1 replaces the handle_size property that was deprecated in gtk3.20 2020-06-21 11:44:26 -04:00
Matt Rose 391f3adb81 dont cycle through open tabs and focus them 2020-06-15 20:02:12 -04:00
Matt Rose 7e70a5b47b
Merge pull request #113 from mattrose/fix-x11-error
Fix crash when GdkX11 module is not available when creating layout
2020-06-10 19:56:19 -04:00
Matt Rose cdc456740b fix cwd for non-vte shells 2020-06-10 17:06:36 -04:00
Matt Rose 90ca702081 Fix crash when GdkX11 module is not available when creating layout 2020-06-03 11:50:03 -04:00
Antonio Terceiro ff521c6117 Fix fallback for getting the current working directory
This fixes a regression introduced in 40ba659f6d
2020-05-16 13:53:44 -03: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
bryce 6342a89297 Fix crash when there are no predefined windows
Traceback (most recent call last):
      File "/usr/bin/terminator", line 126, in <module>
      TERMINATOR.layout_done()
      File "/usr/share/terminator/terminatorlib/terminator.py", line 395, in layout_done
      if window not in self.prelayout_windows:
    TypeError: argument of type 'NoneType' is not iterable

fixes: https://bugs.launchpad.net/terminator/+bug/1702369
2020-03-16 18:15:31 -07: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 d1acb29b98 Pointless comment string removed 2017-02-26 17:15:11 +01:00
Stephen Boddy 54bd13e566 Fixes new windows opening in the background (note that some will think this is bad) 2017-02-21 22:07:18 +01:00
Stephen Boddy d26b48fec9 Fix versions of Gtk where some CSS pseudo elements are not parsed and application will not load. Note that entire file is then ignored. 2017-02-13 03:20:28 +01:00
Stephen Boddy 4adfd8e00a Partial fix for old windows popping to the front when new windows are opened 2017-02-04 04:13:24 +01:00
Iain Lane f23f464508 Fix 3.20 css in another place 2017-02-01 11:04:50 +00:00
Iain Lane e494f07769 Fix transparency for GTK 3.20 themes too 2017-02-01 10:59:11 +00:00
Stephen Boddy 0bd8af4304 Add the ability to deactivate extra theme dependant styling 2016-12-12 12:27:56 +01:00
Stephen Boddy 2186f93fee Do a reconfigure when the gtk-theme-name property changes, avoiding issues with styled themes. 2016-12-11 23:50:42 +01:00
Stephen Boddy 4e78c447e4 Fix the wrong background color for profiles using system colours 2016-12-11 22:25:37 +01:00
Stephen Boddy 117c5c8f0d Fix the oversight of not clearing the css string if the handle size is -1, resulting in styling getting trashed by the previous declarations 2016-12-11 19:32:22 +01:00
Stephen Boddy f02f38389c Fixes the transparent scrollbars for Ambiance. 2016-12-11 05:46:02 +01:00
Stephen Boddy f03cdd007f A little more organization, separating into theme fixes that must be applied to correct rendering, and theme styling changes that may or may not be desired. Still needs config option. 2016-12-10 16:35:25 +01:00
Stephen Boddy 8878aef3d2 Change the selectors to target terminal window only, fixing the prefs window 2016-12-10 15:14:06 +01:00