Commit Graph

81 Commits (0bdaeb4a5ff407895b01029c04c9548727bdfd9a)

Author SHA1 Message Date
Laurent Napias 2cbba483c2 Remove trailing whitespaces 2019-07-06 10:00:08 +02:00
Laurent Napias 04e5a14b35 Change url project's website 2019-06-10 17:03:31 +02:00
rbuj 2a46f460b5 Ensure proper translation of the about dialog title
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-11 22:51:47 +02:00
rbuj b43df579b7 Make translatable the copyright info in about dialog 2019-04-11 22:51:47 +02:00
Stefan Tauner a711e2e2c2 Show confirmation dialog if there are multiple open tabs on closing
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-11 21:57:16 +02:00
rbuj 9d6ac1b459 about: update copyright 2019-04-11 12:39:30 +02:00
rbuj 449753407d Use gresources for about_DATA, uimanager_DATA & builder_DATA 2019-03-15 20:37:21 +01:00
Victor Kareh 773ef17921 Retain copied selection when changing tabs 2019-03-12 07:33:56 -04:00
Pablo Barciela 9081ba937a terminal-window: Fix warnings with menu popup 2018-09-04 20:55:53 +02:00
raveit65 7958d12df0 terminal-window: replace deprecated gtk_menu_popup 2018-09-04 20:55:53 +02:00
Pablo Barciela 82e48ff2f5 terminal-window: avoid deprecated 'vte_terminal_copy_clipboard' 2018-06-27 11:46:00 +02:00
Pablo Barciela 54558c5449 terminal-window: Fix: Session dbus daemon saturated
Fixes https://github.com/mate-desktop/mate-terminal/issues/233
2018-06-15 21:17:41 +02:00
Pablo Barciela 90f1e19d3f avoid deprecated GtkStock 2018-02-09 14:54:16 +01:00
monsta 2611e01e64 require GTK+ 3.22 and GLib 2.50
and drop additional checks for min/max GLib versions, it's not needed
2018-01-29 21:14:28 +01:00
monsta 2b454bbabc require VTE 0.46 2018-01-27 14:43:16 +03:00
monsta 7ab5af88f1 update copyright year to 2018 2018-01-09 22:46:34 +03:00
Pablo Barciela 294ce367b2 middle click on a tab: add the gsettings key to enable the feature
Closes https://github.com/mate-desktop/mate-terminal/issues/184
2017-12-29 16:26:03 +01:00
Pablo Barciela 926ec59919 WidthOfScreen and HeightOfScreen implementation
This commit reverts:

5c6f10892a

And it applies an alternative to fix the deprecated functions:

gdk_screen_get_width
gdk_screen_get_height
2017-12-09 01:51:04 +01:00
Pablo Barciela 7ebc9d18b3 add the abbility to switch tabs using [ctrl+tab] and [ctrl+shift+tab]
If true the gsettings key "ctrl-tab-switch-tabs" into "org.mate.terminal.global"

Closes https://github.com/mate-desktop/mate-terminal/issues/98
2017-11-20 09:41:08 +01:00
Pablo Barciela 44df2882bf avoid deprecated vte_terminal_search_get_gregex
Fixes https://github.com/mate-desktop/mate-terminal/issues/199
2017-11-08 00:22:55 +01:00
Pablo Barciela 9a574072ee add "select all" keyboard shortcut: [control] + [shift] + [A]
and it can be changed in "edit" -> "keyboard shortcuts"

Closes https://github.com/mate-desktop/mate-terminal/issues/191
2017-10-24 01:11:18 +02:00
ZenWalker e2d1efa329 gtk 3.22: avoid deprecated gdk_screen_get_monitor... functions:
avoid deprecated:

gdk_screen_get_monitor_geometry
gdk_screen_get_monitor_at_window
2017-08-24 17:10:26 +02:00
ZenWalker 5c6f10892a avoid deprecated gdk_screen_get_width/height 2017-08-10 01:10:56 +02:00
monsta 1265aef5ff update copyright year to 2017 2017-04-16 00:44:05 +03:00
ZenWalker 0b2619b0a8 Fix: Double click with right button causes Xorg to crash
Fixes #171
2017-04-12 01:49:37 +02:00
Pablo Barciela 64dd47f16b call gtk_notebook_detach_tab only if the tab is detached
Fixes:
https://bugzilla.redhat.com/show_bug.cgi?id=1398234
2017-01-30 23:34:19 +01:00
ZenWalker 371be35f99 middle click on a tab: Fix active tab position after closing another tab
and now the middle click works like click on X
2017-01-30 15:55:10 +04:00
ZenWalker bfccb77043 middle click on a tab: make the tab active before closing it
Fixes:

If we are on a tab, and we make middle click on another tab,
it doesn't show the confirm close dialog if there is a foreground process
2017-01-30 15:55:10 +04:00
raveit65 575fc201f0 window: Attach popup menus to their parent widgets
When running on Wayland, popup menus must have a parent widget to attach
to. If a parent widget is not explicitly set, the GDK backend tries to
guess what parent widget seems appropriate. In order to have more
reliable popups, change the popups in the terminal window to set their
parent widgets explicitly.

https://bugzilla.gnome.org/show_bug.cgi?id=750755

taken from:
https://git.gnome.org/browse/gnome-terminal/commit/?id=67afb95
2017-01-08 09:02:22 +01:00
ZenWalker 5f9f682483 middle click on a tab: confirm close if there is a foreground process
Fixes #149
2016-11-18 11:05:49 +01:00
ZenWalker 4d5943140d Implement middle click tab closing
Fixes #155

Author: bl0ckeduser
2016-11-11 09:46:08 +01:00
ZenWalker df326ad5d2 Make dropped tab active
based on gnome-terminal commit:
https://git.gnome.org/browse/gnome-terminal/commit/?id=abb2018a702adfc57831aea9ebb5c513b9c8bbbd

Fixes #152
2016-11-07 09:29:37 +01:00
ZenWalker 2e6db62d1f Fix window size when a second tab is added by drag-n-drop
based on gnome-terminal commit:
https://git.gnome.org/browse/gnome-terminal/commit/?id=d3e593e4974303618305da4e0d20f0d5c10f83b0
2016-11-06 08:55:07 +01:00
ZenWalker 13bf77c21a notebook: avoid crash on tab DND
based on gnome-terminal commit:
https://git.gnome.org/browse/gnome-terminal/commit/?id=85b448f7c9e219e82d4d8abafe405d73349c08c1

Fixes #145
2016-11-06 08:55:07 +01:00
Alexei Sorokin 8fdadba380 add back --geometry positioning support
was removed in 0e9e88a,
based on https://github.com/GNOME/gtk/commit/f37a062
2016-09-22 15:58:49 +03:00
Alexei Sorokin 0e9e88a05c don't use deprecated gtk_window_parse_geometry() 2016-09-14 16:07:16 +03:00
Alexei Sorokin 4786486f64 fix resize menu buttons (#122)
based on https://github.com/GNOME/gnome-terminal/commit/88bd325
2016-09-14 16:07:16 +03:00
monsta 622e2d1272 handle GDK_SCROLL_SMOOTH when handling mouse scroll on tabs
adapted from:
https://git.gnome.org/browse/gnome-terminal/commit/?id=70965e71db7d1c2fac0237988344972b564c46b5
https://git.gnome.org/browse/gnome-terminal/commit/?id=35a509165750d0ecefe9f26702d0f3c0e230f0c2
2016-09-14 14:19:05 +03:00
noone3 8d2eb08981 add (mouse wheel) tab scrolling
Mouse wheel scrolling was removed in gtk3.
Add functionality back via patch to mate-terminal, patch was originally against gnome-terminal (from https://git.gnome.org/browse/gnome-terminal/commit/?id=e2299ee2451167ad41b35705b4fbd577aebd0c39 )
2016-09-14 14:14:52 +03:00
monsta f30b1cd380 update copyright 2016-08-18 15:04:20 +03:00
monsta 6fef74d3b9 remove duplicated code 2016-08-14 23:48:15 +03:00
raveit65 f15b90f66b Borrow pluma-close-button class and use it.
This is a subclass of GtkButton special theming for the close button.

taken from:
https://git.gnome.org/browse/gnome-terminal/commit/src?h=gnome-3-8&id=c3a3e06
https://git.gnome.org/browse/gnome-terminal/diff/src/terminal-close-button.c?h=gnome-3-8&id=2bff4b6
2016-06-11 21:09:24 +02:00
raveit65 c6fba6db82 do not use deprecated gtk_dialog_set_alternative_button_order
deprecated since gtk+-3.10
2016-06-11 17:00:16 +02:00
monsta e3bf0a05c8 remove some unused variables 2016-06-01 18:05:48 +03:00
monsta b2919d25fa drop old code for VTE < 0.38 (it was used in GTK+2 build) 2016-05-26 17:33:01 +03:00
monsta ea302a83da drop old GTK+2 code 2016-05-26 16:54:22 +03:00
monsta fd07010c43 use About dialog from GTK+ instead of forked one from libmate-desktop 2016-05-26 13:34:43 +03:00
monsta 6a2f8dec69 window: react on WM change only on X11 2016-05-26 11:53:20 +03:00
raveit65 b0a09479dc GTK3: don't use deprecated gtk_widget_size_request
gtk_widget_size_request --> gtk_widget_get_preferred_size
2016-03-09 23:16:53 +01:00
Sorokin Alexei a3d1c5f081 remove debug callbacks for deprecated size-request signal 2016-03-08 02:45:13 +03:00