Commit Graph

3223 Commits

Author SHA1 Message Date
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
Vishweshwar Saran Singh Deo 85f57543ed -added split_auto to prefseditor
-had to comment out test for ctrl shift a (need to cross check)
2022-11-05 15:29:42 +05:30
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
Vishweshwar Saran Singh Deo d08cee42ee [bug 559] Add menu autocomplete
Follwing errors were being thrown:

FAILED tests/test_prefseditor_keybindings.py::test_keybinding_successfully_reassigned_after_clearing[accel_params0] - AttributeError: 'TreeModelFilter' object has no attribute 'set'

It seems earlier the Gtk.ListStore()  was directly being passed in the test cases. After the changes to the Preferences to add a search filter bar we had added a filter Gtk.TreeModelFilter and for the widget we were setting it:
        widget.set_model(self.treemodelfilter)

Now it seemed that instead of Gtk.ListStore() the object Gtk.TreeModelFilter was being received and since it did not have a "set" function the above error was thrown.

I have made changes so that the Gtk.ListStore() is taken from Gtk.TreeModelFilter via get_model function and this indirection is removed.
2022-11-01 18:24:15 +05:30
Vishweshwar Saran Singh Deo ffd7ae518e [bug 662] [Feature Request] - In the Context Menu(Right-Click) show keyboard shortcuts / accelarators #662
-fixed: The problem in displaying is happening as the the config the key for eg Control is being saved as <Primary> and the short cut alphabetic character is being picked when creating the menu item and not being overwritten from config
-Note: the short cut for function keys are not being displayed in context-menu
2022-11-01 16:28:09 +05:30
Vishweshwar Saran Singh Deo fdcf8facf4 [bug 559] Add menu autocomplete #559
- added a filter to the preferences menu for easy access to shortcuts
- may require some tweak, on search term size and update
Note: when edited in prefs it seems the Short Cut Labes in (right click) Context Menu are not updated will fix that in that bug Issue #662
2022-11-01 15:29:07 +05:30
Matt Rose 1aa437d6e3
Merge pull request #663 from vssdeo/662-In-the-Context-Menu-right-click-show-keyboard-shortcuts
[bug 662] [Feature Request] - In the Context Menu(Right-Click) show k…
2022-10-31 12:50:11 -04:00
Vishweshwar Saran Singh Deo 548a51c6bb [bug 662] [Feature Request] - In the Context Menu(Right-Click) show keyboard shortcuts / accelarators #662
- added short cuts / accelarators to right click context menu
- menu is updated from config so changes in preferences keybindings appear dynamically
- Note: I think there is a bug or discrepancy where
        for the action edit window title config.py says:
            'edit_window_title': 'w where as in code: terminal_popup_menu.py
            item = Gtk.ImageMenuItem.new_with_mnemonic(_('Set W_indow Title'))
            Character i is selected as mnemonic.
- fixed the above discrepancy
2022-10-31 12:26:34 +05:30
Matt Rose f289b4df33
Merge pull request #632 from xuezhixin/master
this line has an extra ';' symbol
2022-10-30 21:30:34 -04:00
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
Matt Rose 6f99890dd3
Merge pull request #628 from MihaiBabiac/fix-desktop-file-not-found
Fix missing icons when started with Ctrl-Alt-T
2022-10-30 11:37:04 -04:00
Matt Rose df1a433c61
Merge pull request #651 from kianmeng/fix-typos
Fix typos
2022-10-30 11:29:12 -04:00
Matt Rose c512beb993
Merge pull request #657 from pktiuk/master
docs: Change number of columns in repology badge
2022-10-30 11:24:00 -04:00
Matt Rose 7c83d23e55
Merge pull request #659 from flaviosteimacher/patch-1
Update terminal.py
2022-10-30 11:15:46 -04:00
Matt Rose c4d7253d66
Merge pull request #655 from vssdeo/654-Plugin-Submission-SaveLastSessionLayout-Uses-Layout-to-Auto-Save-Last
Plugin Submission : SaveLastSessionLayout Uses Layout to Auto-Save Last session and CWD
2022-10-30 10:57:18 -04:00
Matt Rose af1ec64c93
Merge pull request #653 from vssdeo/bug-652-loading-layout-loads-the-last-added-layout
- bug context menu (right click)->layouts->"Layout Name" always selec…
2022-10-30 10:38:45 -04:00
flaviosteimacher 295cfd9f60
Update terminal.py
Fix error insert terminal number
2022-10-27 16:02:02 -03: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
Paweł Kotiuk 270d4afb04
docs: Change number of columns in repology badge
It greatly improves visibility
2022-10-21 16:41:21 +02:00
Matt Rose c447ae0201 Release version 2.1.2 2022-10-19 10:22:21 -04:00
Matt Rose bf3ce6c81e
Merge pull request #656 from mattrose/update-translations-Oct2022
update translations
2022-10-19 09:35:30 -04:00
Matt Rose 6557ad5450 update translations 2022-10-19 09:32:14 -04:00
Vishweshwar Saran Singh Deo e7f9c731e8 - bug context menu (right click)->layouts->"Layout Name" always selects the last Layout
- fixed so the right layout is picked and loaded
2022-10-16 01:47:36 +05:30
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
sabriunal d8141a86c3 data: Remove GNOME branding
This MR is part of an [initiative](GNOME/Initiatives#35) to fade out legacy app branding. Following the [Software Policy](https://wiki.gnome.org/Foundation/SoftwarePolicy), GNOME branding is reserved for official GNOME software (Core apps and Development tools.) You can find a summary in [this blog post](https://blogs.gnome.org/sophieh/2022/06/08/apps-attempt-of-a-status-report/).

If you think that your app is a special case that needs an exception from the software policy, we would ask you to leave a comment about your app's case in GNOME/Initiatives#35.

/label ~"9. Initiative: Legacy app branding"
2022-10-05 14:14:07 +03:00
Vulcalien df0643b1a4 Notebook rotate: keep tab position and label 2022-08-27 22:06:00 +02:00
xuezhixin 6c2e3b8bf7 this line has an extra ';' symbol 2022-08-15 14:33:01 +08:00
Mihai Babiac 3245d671bb Add program_name to fix missing icons
By default, GTK sets the prgname to argv[0], which is then used to
choose the correct .desktop file. If the program is run through a
symlink, such as through `/etc/alternatives/x-terminal-emulator`,
argv[0] is not `terminator` so under Wayland the desktop file is not
detected, leading to a missing icon.
2022-07-29 18:49:16 +02:00
Matt Rose 7b39058b0e
Merge pull request #609 from Vulcalien/mousewheel-modifiers
Terminal ctrl+mousewheel: do not try to zoom if shift is pressed
2022-06-27 15:31:02 -04:00
Vulcalien 784dc4946e Terminal mousewheel event: check for all modifiers 2022-06-13 15:16:24 +02:00
Vulcalien 06ada7c655 Notebook tab zoom: keep label and position 2022-05-20 13:12:16 +02:00
Matt Rose d33c145ba8
Merge pull request #592 from mattrose/fix-prefs-setcolor
More fixes to the Color pickers in the Preferences Editor
2022-04-18 13:24:28 -04:00
Matt Rose 0e04376afb
Merge pull request #588 from mattrose/586-fix-readme
Various README fixes
2022-04-18 12:56:33 -04:00
Matt Rose eb7c2ddf25
Merge pull request #590 from amaan211/master
Modification in the /terminatorlib/prefseditor.py file
2022-04-18 12:39:49 -04:00
amaan khan 33f7927bfa fixed indent 2022-04-16 12:09:38 +05:30
amaan khan ed93ccb7e5 no need to go to custom to set custom palette 2022-04-16 12:05:29 +05:30
Vulcalien c2f2addf05 Remove unused code (container.py, toggle_zoom) 2022-04-09 11:19:36 +02:00
Vulcalien 04bd693586 Zoom/maximize with one terminal in notebook tab 2022-04-09 11:15:36 +02:00
Matt Rose 978e0c9fd8
Merge pull request #588 from mattrose/586-fix-readme
Various README fixes
2022-04-04 18:19:07 -04:00
Matthew Rose 8055e2ae65 Various README fixes 2022-04-03 20:51:20 -04:00
Matt Rose 529d4749ee
Merge pull request #570 from JayDoubleu/flatpak_experimental
Add initial flatpak-spawn support
2022-03-29 10:31:47 -04:00
Jay W 886412fcf1 Add logic to remove duplicate shell from args 2022-02-01 19:06:23 +00:00
Jay W 967f039e60 Simplify flatpak-spawn args 2022-01-31 19:59:34 +00:00
Jay W a41a38bcc9 Add flatpak support to terminatorlib 2022-01-31 19:12:16 +00:00
Matt Rose fc528b203a
Merge pull request #576 from Vulcalien/fix-dbg-messages
Remove duplicated info in some debug messages
2022-01-28 19:11:34 -05:00
Matt Rose 80ce461a4d
Merge pull request #574 from ozzdemir/hotfix-for-issue78
Added hotfix for #78 that deletes GTK_IM_MODULE environment variable
2022-01-28 18:45:25 -05:00
Vulcalien 8e50eb75ce Remove duplicated info in some debug messages 2022-01-28 21:51:54 +01:00
ozzdemir e9e8d7be19 Better handling of GTK_IM_MODULE env var
Deleting env var only if it exists.
2022-01-28 08:00:22 +03:00
ozzdemir 1e8940039a Added hotfix for #78 that deletes GTK_IM_MODULE environment variable
Using this hotfix for a while, and no discrepancy observed. In order to
permanently(hopefully) fix the issue, commiting fix.
2022-01-27 00:20:56 +03:00