Commit Graph

224 Commits (f9563c4688f2d186307e9e1236ee721dc818c882)

Author SHA1 Message Date
monsta d3f29749a5 screen: stop setting TERM and COLORTERM environment variables
closes https://github.com/mate-desktop/mate-terminal/issues/209

taken from:
https://git.gnome.org/browse/gnome-terminal/commit/?id=a0ecd018f070b96a6ca2ff778ddda0f7fde5b847
https://git.gnome.org/browse/gnome-terminal/commit/?id=1d5c1b6ca6373c1301494edbc9e43c3e6a9c9aaf
2018-01-23 17:59:30 +01:00
monsta ff21f8e007 schema: fix summary and description of some keys 2018-01-13 21:52:15 +03:00
monsta 76019bf6d9 remove "..." from Find keyboard shortcut 2018-01-13 21:36:59 +03:00
monsta 30ce4834e8 profile-editor: properly initialize the first palette color
taken from:
https://git.gnome.org/browse/gnome-terminal/commit/?id=6447aded26416e49bf5fdce8a8fd13c16c0ebb44
2018-01-09 22:48:16 +03:00
monsta 7ab5af88f1 update copyright year to 2018 2018-01-09 22:46:34 +03:00
Pablo Barciela a2314e9ab7 terminal-screen.c: drop unused variables 2017-12-30 14:32:35 +01:00
Pablo Barciela e370b85599 Fix build warnings: ignoring return value of ‘chdir’,
declared with attribute warn_unused_result
2017-12-29 19:40:57 +01: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
monsta 26ded92d74 make indent more uniform in a few files 2017-12-25 17:53:32 +03:00
monsta 08bebc7780 fix possible crash when handling DBus method call
fixes https://github.com/mate-desktop/mate-terminal/issues/85
2017-12-25 16:52:06 +03:00
Allan Nordhøy 770127877b
Spelling: Whitespace removed, in the terminal, Ctrl 2017-12-22 10:29:37 +01:00
monsta 019042e65f add Solarized themes from gnome-terminal
closes https://github.com/mate-desktop/mate-terminal/issues/151

ported from:
https://git.gnome.org/browse/gnome-terminal/commit/?id=b4d7416
https://git.gnome.org/browse/gnome-terminal/commit/?id=2763ea6
2017-12-21 21:29:50 +03: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
raveit65 947e9aec19 fix typo 2017-11-20 19:20:35 +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 ca53774e9f allow remapping "search" keyboard shortcuts
Closes https://github.com/mate-desktop/mate-terminal/issues/160
2017-11-18 23:04:47 +01:00
JP Cimalando 8c0cb6d5fa Support background images with VTE3 (#194)
Support background images with VTE3
2017-11-14 08:58:38 +00:00
raveit65 e1884b32fa find-dialog.ui: fix keyboard selection 2017-11-11 16:54:58 +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
ZenWalker 67e749f9a2 avoid deprecated gdk_screen_make_display_name 2017-08-08 17:34:55 +02:00
raveit65 e6fe1068be terminal-util: avoid deprecated gtk_show_uri 2017-08-03 21:42:33 +02:00
ZenWalker 3f374d5787 avoid deprecated gdk_display_get_screen 2017-07-21 00:29:07 +02:00
ZenWalker e78b50d982 avoid deprecated gdk_screen_get_number 2017-07-18 16:01:10 +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
monsta df1dd2f23b keybindings dialog: fix expand of content on window resize 2017-02-06 13:04:43 +03:00
monsta ca3ccd9c5e encodings dialog: fix expand of content on window resize 2017-02-06 13:04:22 +03:00
monsta f7e6319b5c don't mark dialogs as visible in .ui files
this causes runtime warnings about transient parent because these
dialogs get mapped too early, before gtk_window_set_transient_for
is called in the code.

affected dialogs: find, profile manager, profile prefs
2017-02-02 12:21:07 +03: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 8610425561 force X11
fixes running the terminal under wayland
2017-01-08 10:37:07 +01: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
monsta d6fd252c46 schema: a small correction 2016-12-06 01:11:00 +03: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 d4234710b5 screen: Update for vte API
Fixes partially #149

https://git.gnome.org/browse/gnome-terminal/commit/?id=b9cf035874e06951ff8425760cf978ca412b2032
2016-11-18 01:21:04 +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
monsta 448be7a26f fix crash after detaching tab and then changing its title
fixes https://github.com/mate-desktop/mate-terminal/issues/131

thanks to @egmontkob for the patch:
https://git.gnome.org/browse/gnome-terminal/commit/?id=f65261a0b5d03658be3acb439976fd8af6fa28ea
2016-09-28 21:05:46 +03: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 4e30029838 skey-challange.ui: avoid deprecated elements 2016-07-20 11:27:26 +02:00
raveit65 2a2e9ebee2 profile-manager.ui: avoid deprecated elements 2016-07-20 11:27:26 +02:00
raveit65 a5277d2a4f keybinding-editor.ui: clean up deprecations 2016-07-20 11:27:26 +02:00
raveit65 e8a1eaac80 find-dialog.ui: fix deprecated elements 2016-07-20 11:27:26 +02:00
raveit65 0a87bc21b0 encodings-dialog.ui: fix deprecated elements 2016-07-20 11:27:26 +02:00
raveit65 75da8ddeb8 screen: fix a Wincompatible-pointer-types warning
probably introduced with vte291 port

compared with:
https://git.gnome.org/browse/gnome-terminal/commit/?h=gnome-3-14&id=7da07d5
2016-07-20 11:27:26 +02:00
raveit65 210921b104 profile-preferences.ui: avoid deprecations 2016-07-20 11:27:26 +02:00
raveit65 037a30d0cf profile-new-dialog.ui: avoid deprecated GtkTable and Gtk{H/V}Box
updated UI file to gtk+-3.14
2016-07-20 11:27:26 +02:00
raveit65 4b852ce952 avoid deprecated GtkTable 2016-07-20 11:27:26 +02: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
raveit65 bf2b46a27d profile-editor: render text in color scheme combobox
As we use gtk3 only code we can remove that in UI file,
finaly fix for https://github.com/mate-desktop/mate-terminal/issues/103
2016-06-11 16:16:34 +02:00
raveit65 f770de3b81 UI prefrenences: enable alpha color for colorchooser 2016-06-11 13:03:24 +02:00
raveit65 22ddefc332 terminal-profile: replace deprecated GDK_TYPE_COLOR 2016-06-11 13:03:24 +02:00
raveit65 d85c96ad64 port GdkColors to GdkRGBA and GtkColorButton to GtkColorChooser
with help from Alexei Sorokin

inspired from:
https://git.gnome.org/browse/gnome-terminal/commit/?id=84099c3
2016-06-11 13:03:09 +02:00
raveit65 40a42eb82a Update font on realize
taken from:
https://git.gnome.org/browse/gnome-terminal/commit/?id=ed24174
2016-06-10 11:47:44 +02:00
raveit65 bb63141924 Remove debug printfs
taken from:
https://git.gnome.org/browse/gnome-terminal/commit/?id=923d74f
2016-06-10 11:32:24 +02:00
raveit65 8a4bdad1cc Add style-updated handler to TerminalScreen
taken from:
https://git.gnome.org/browse/gnome-terminal/commit/?h=gnome-3-8&id=e8e2367
2016-06-10 11:20:58 +02:00
monsta 395f4422a7 fix deprecated usage of GtkVScrollbar 2016-06-01 18:36:40 +03:00
monsta e318c801b9 remove dead code 2016-06-01 18:27:05 +03: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 8bb7323662 copy gsettings helpers from libmate-desktop (see also FIXME there) 2016-05-26 15:38:59 +03:00
monsta 072da32f99 use dconf directly instead of wrapper functions from libmate-desktop 2016-05-26 14:19:40 +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
raveit65 5102ba128c GTK3: don't use deprecated gdk_threads_{enter/leave} ()
Since we don't ever call gdk_threads_init()
2016-03-09 22:55:34 +01:00
raveit65 fe9c280cae screen: Compile dingu regexes with MULTILINE option
this kills warnings with newer vte.
taken from (but adjusted):
https://git.gnome.org/browse/gnome-terminal/commit/?id=9e0ea90
2016-03-09 14:29:14 +01:00
Sorokin Alexei a3d1c5f081 remove debug callbacks for deprecated size-request signal 2016-03-08 02:45:13 +03:00
Sorokin Alexei c0efce1fb0 GTK+3.20: fix window sizes
caused by https://git.gnome.org/browse/gtk+/commit/?id=08974a1,
fixes #111
2016-03-07 00:45:46 +03:00
Friedel Wolff 087b25e1c3 Fix incorrect ordering of COLS and ROWS
https://bugzilla.gnome.org/show_bug.cgi?id=649023
2016-03-07 00:42:45 +03:00
Wolfgang Ulbrich b084db649e GTK+3: add style class mate-terminal 2016-02-19 15:30:30 +01:00
monsta b1051cc490 fix typo: cliboard -> clipboard 2016-02-19 16:57:16 +03:00
Wolfgang Ulbrich d590df028f fix conditions for GtkMisc deprecations 2016-01-20 15:30:35 +01:00
monsta 5ef25f7914 use gtk_icon_size_lookup in both GTK+ builds 2016-01-20 12:22:52 +03:00
monsta 6e47412b9c use icon names instead of stock items in both GTK+ builds 2016-01-20 12:11:31 +03:00
monsta bc0ff5afa5 [GTK+3] fix deprecated usage of GtkMisc and don't set padding
default value of "margin" property is zero anyway
2016-01-20 12:11:17 +03:00
monsta 4ef8ebf3a3 use GtkBox instead of GtkVBox/GtkHBox in both GTK+ builds
and fix deprecated usage of GtkHBox and GtkVBox in GTK+3 build
2016-01-20 10:56:16 +03:00
monsta 75b1dfbc03 fix indent a bit 2016-01-13 11:44:01 +03:00
monsta 115663c4e2 use g_get_environ
from
https://git.gnome.org/browse/gnome-terminal/commit?id=a9e294229521d91c916dba765c773fcf85260a5b
2016-01-13 10:49:46 +03:00
monsta 0d20d5008b window: remove dead code
it has been commented out in cd939a6c1e
so we're already running w/o it for more than a year...
2016-01-09 15:37:25 +03:00
monsta 8f8db28925 fix GTK+3 build when our version is unstable (e.g. 1.13.x)
due to the tricky macro magic, a piece of code containing a function
that doesn't exist in GTK+3 version of VTE hasn't been compiled into
the stable versions of mate-terminal. now we bumped version to 1.13.0,
that code got into build, and the build broke.

this commit should fix it.
2016-01-05 15:19:45 +03:00
monsta c2a7ef6dde remove excessive data conversion and don't leak string array 2015-12-07 11:12:01 +03:00
monsta 78f18ad533 simplify some more code and don't leak memory 2015-12-07 11:12:01 +03:00
monsta 0b334ce4e8 simplify some code, get rid of excessive data conversions 2015-12-07 11:12:01 +03:00
monsta 43aca05a39 profile editor: remove dead code 2015-12-02 15:04:47 +03:00
Wolfgang Ulbrich 1e12282051 Merge branch 'vte291' 2015-11-28 20:11:15 +01:00