summaryrefslogtreecommitdiff
path: root/src/terminal-window.c
AgeCommit message (Collapse)AuthorFilesLines
5 daysport to GtkApplicationapplicationmbkma1-20/+66
2026-01-20window: Add icon session persistenceHEADmasterVictor Kareh1-0/+36
Store and persist window icons in session config files. Icons set via the command line are now saved during session management and restored when loading config files. Also adds error reporting for invalid icon file paths.
2025-08-08Do not suppress resize hints on X11lukefromdc1-2/+14
2024-02-18terminal-window: Factor CSDs into geometry hintsBrian Norris1-11/+33
It seems Wayland-based window managers provide additional decorations that we're not tracking in our "preferred size" computations. This means every geometry update shrinks the window by a bit. Factor in the allocated dimensions, not just the preferred ones. Borrows some ideas from https://bugzilla.gnome.org/show_bug.cgi?id=769898 I also drop a few unused values leftover from gnome-terminal. Fixes #350
2023-12-10Avoid unprocessed file URIs being pasted to the terminal.cristian641-3/+2
The `uris_as_paths` member, which is set to `true` when the paste command has been triggered by the **Paste Filenames** action, was being checked too late: a file URI was ultimately being entered to the terminal, as opposed to the expected plain text version. Test plan: - Copy a file in Caja, or in any other file explorer that inserts the `text/uri-list` and `text/plain` MIME formats into the clipboard. - Paste the file in a MATE Terminal either via `Ctrl+Shift+V`, or via the **Paste** action in the context menu. Without this change, a file URI is entered. For example: ``` file:///home/jane.doe/my%20pictures/foo%20bar.jpg ``` With this change, a regular filepath [that the filesystem can recognize] is pasted. For example: ``` /home/jane.doe/my pictures/foo bar.jpg ``` Note that the behavior of the **Paste Filenames** context menu action remains unchanged (i.e. file URIs are still converted to regular paths surrounded by single quotes).
2023-09-23Tabs: only invoke naming dialog to doubleclick on tab headerlukefromdc1-15/+9
Do not show the tab rename dialog when terminal window content is doubleclicked in terminal apps using the mouse
2023-08-31Add support for OSC 8 hyperlinks (HTML-like anchors)George Stark1-4/+74
backport of 1c6f8db736efc62d9a9b38bfbc43ec03c8544696 from gnome-terminal
2023-08-31RefactoringGeorge Stark1-11/+11
rename some url-related variables rename TerminalURLFlavour enum to TerminalURLFlavor backport of 0789b02ee11038743fde08795eb4a1ac0bcc3f47 from gnome-terminal to be a bit close to gnome-terminal source
2023-07-28Double-click tab to set titleGydo Kosten1-0/+10
terminal-window: pop up the Set Title dialog when doubleclicking a tab and set focus to terminal screen after changing title
2023-06-01terminal-window: explicitly draw window frame and bgMark Givens1-0/+34
2023-01-14Add GTK Style Class to context menugrover920001-0/+2
This fixes an issue when a monospace font is displayed instead of a proper one in mate-terminal context (right-click) menu. This fixes: https://github.com/mate-desktop/mate-terminal/issues/407
2022-09-11terminal-window: Vble is assigned a value that is never usedrbuj1-6/+1
2022-07-18Remove time.hrbuj1-2/+5
2022-03-23terminal-window: gtk+ 2.17.1 fixed gtk bug 535557rbuj1-14/+1
2022-03-22Fix implicit conversion changes signedness: 'gboolean' to 'guint'rbuj1-1/+1
2021-12-11Use a blank line at mostrbuj1-6/+0
2021-06-25update copyright to 2021raveit651-0/+1
2021-03-30terminal-window: Remove -Wmissing-field-initializers warningsrbuj1-15/+15
2021-02-05build: Use PACKAGE_URL variablerbuj1-1/+1
2021-01-16Update copyright to 2021rbuj1-1/+1
2020-12-27Remove unused macrosrbuj1-1/+0
2020-09-01Remove -Wfloat-conversion warningsrbuj1-2/+6
2020-06-20restore deprecated gtk_menu_popup for context-menuraveit651-14/+5
fixing weird behaviour with wayland compositor
2020-04-13Add set-title-dialog.uirbuj1-35/+11
2020-04-03terminal-window: expand the content of the comment on about dialogrbuj1-1/+1
2020-04-02Add confirm-close-dialog.uirbuj1-22/+16
2020-03-30fix searching in terminal windowNorbert Preining1-3/+3
Make sure are regex are compiled with PCRE2_MULTILINE which is a requirement by the vte library
2020-03-30terminal-window: add icons to "open tab" and "close window/tab"Pablo Barciela1-3/+3
in popup menu
2020-03-21terminal-window: show VTE version in about dialogPablo Barciela1-1/+6
2020-01-13Update copyright to 2020raveit651-1/+1
2020-01-05terminal-window: avoid to make new GSettings in every new windowPablo Barciela1-8/+3
use GSettings app instead
2019-12-19terminal-window: Fix memory leakPablo Barciela1-7/+8
Gsettings needs to be freed
2019-09-11terminal-window: : suppress GtkAction warningsraveit651-1/+88
2019-08-29terminal-window: avoid 'g_type_class_add_private'Pablo Barciela1-4/+2
2019-08-27terminal-window: "utilities-terminal" icon with "Open Terminal"Pablo Barciela1-4/+3
2019-07-06Remove trailing whitespacesLaurent Napias1-3/+3
2019-06-10Change url project's websiteLaurent Napias1-1/+1
2019-04-11Ensure proper translation of the about dialog titlerbuj1-1/+2
Note that GTK+ sets a default title of _("About %s") on the dialog window (where %s is replaced by the name of the application, but in order to ensure proper translation of the title, applications should set the title property explicitly when constructing a GtkAboutDialog https://developer.gnome.org/gtk3/stable/GtkAboutDialog.html
2019-04-11Make translatable the copyright info in about dialogrbuj1-8/+6
2019-04-11Show confirmation dialog if there are multiple open tabs on closingStefan Tauner1-14/+19
As a followup #149 this fixes the behavior of the code to match the description of the respective gsettings entry "confirm-window-close". Said entry is also updated to reflect the change added in #149. No changes to the gsettings handling were made thus only users who have "confirm-window-close" turned on already will see the new behavior.
2019-04-11about: update copyrightrbuj1-1/+1
2019-03-15Use gresources for about_DATA, uimanager_DATA & builder_DATArbuj1-15/+16
2019-03-12Retain copied selection when changing tabsVictor Kareh1-3/+2
2018-09-04terminal-window: Fix warnings with menu popupPablo Barciela1-1/+14
2018-09-04terminal-window: replace deprecated gtk_menu_popupraveit651-65/+7
2018-06-27terminal-window: avoid deprecated 'vte_terminal_copy_clipboard'Pablo Barciela1-0/+8
2018-06-15terminal-window: Fix: Session dbus daemon saturatedPablo Barciela1-13/+10
Fixes https://github.com/mate-desktop/mate-terminal/issues/233
2018-02-09avoid deprecated GtkStockPablo Barciela1-21/+21
2018-01-29require GTK+ 3.22 and GLib 2.50monsta1-22/+0
and drop additional checks for min/max GLib versions, it's not needed
2018-01-27require VTE 0.46monsta1-4/+0