Commit Graph

51 Commits (537d09c86a41c2cf2766f98b9a380e25e929f44b)

Author SHA1 Message Date
raveit65 537d09c86a 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-27 09:33:26 +01:00
ZenWalker 39588e6dcb Make dropped tab active
based on gnome-terminal commit:
https://git.gnome.org/browse/gnome-terminal/commit/?id=abb2018a702adfc57831aea9ebb5c513b9c8bbbd

Fixes #152
2017-01-23 14:13:43 +03:00
ZenWalker 6dc0e22c61 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 18:51:13 +01:00
ZenWalker 7601e42e65 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 18:51:06 +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
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
Wolfgang Ulbrich b084db649e GTK+3: add style class mate-terminal 2016-02-19 15:30:30 +01:00
Wolfgang Ulbrich d590df028f fix conditions for GtkMisc deprecations 2016-01-20 15:30:35 +01: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 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
Wolfgang Ulbrich 68a474cd33 vte291: fix transparency background
Thank you
Author: egmont@gmail.com
2015-11-16 00:03:28 +01:00
Wolfgang Ulbrich 387af1fe86 vte291: Fix geometry issues
Thank you
Author: egmont@gmail.com
2015-11-16 00:02:48 +01:00
Wolfgang Ulbrich f3e72e52a4 port to vte291
Thank you to
Author: egmont@gmail.com
2015-11-15 23:47:05 +01:00
monsta 80c5e88588 drop support for win32/osx 2015-09-08 13:39:20 +02:00
Monsta c879af2f81 drop gdkkeysyms-compat usage, use modern key names 2015-08-03 16:54:28 +03:00
Stefano Karapetsas cd939a6c1e Disable hack to listen compositing changes
It seems now GNOME bug https://bugzilla.gnome.org/show_bug.cgi?id=563561
doesnt happen and disable this hack avoid to shuffle terminal windows when
compositing is enabled/disabled
2014-10-02 11:02:50 +02:00
spuhpointer a6a5774c68 Added option to copy selection to clipboard 2014-09-10 10:15:22 +02:00
infirit 50ac67e11f Cleanup GTK_CHECK_VERSION and unify gtk+2/3 code where possible
Always use gdk_window_get_display and GDK_WINDOW_XID
Replace GtkObject with GObject
Always use gtk_message_dialog_get_message_area (since gtk 2.22)
Unify notebook code between gtk2 and gtk3
2014-05-20 13:22:53 +02:00
Stefano Karapetsas 0725476eec Use MateAboutDialog 2014-04-24 13:54:01 +02:00
Martin Wimpress 71204c2db8 Opening new terminal in a tab now works. The new intended behaviour is desbribed
in https://bugzilla.gnome.org/show_bug.cgi?id=83203#c57 Fixes #45.
2014-02-24 15:21:21 +00:00
Stefano Karapetsas e9f3aba4d0 Merge pull request #54 from markbt/wayland
Add support for compiling against Gtk+3 with and without Wayland backend
2014-02-18 14:00:44 +01:00
Mark Thomas d6483a80a9 Fix some warnings. 2014-02-12 00:05:23 +00:00
Mark Thomas 8d8570556a Add support for compiling against Gtk+3 with and without Wayland backend support. 2014-02-11 23:50:14 +00:00
Stefano Karapetsas bacf3f4047 Update copyright in about window 2014-02-08 16:52:00 +01:00
Stefano Karapetsas a3d9254d73 Fix resizing with GTK3
Taken from https://git.gnome.org/browse/gnome-terminal/commit/?h=gnome-3-0&id=8e6454b0efc01cf212f338c76d5d0557575f9513
Close #36 (https://github.com/mate-desktop/mate-terminal/issues/36)
2014-01-16 15:58:24 +01:00
Stefano Karapetsas 693f9ae54e Merge pull request #27 from stephenkgh/master
[PATCH] Add previous/next profile keyboard shortcuts, menu items
2013-09-05 01:54:51 -07:00
Stephen Krauth a3f5ac0e9c Add previous/next profile keyboard shortcuts, menu items 2013-09-04 00:27:44 -04:00
Laszlo Boros 9537fb9c05 GTK3 support 2013-08-11 16:53:33 +02:00
Michael Terry b8f33a3b2a [PATCH] Update paste sensitivity whenever clipboard changes - fixes #17
(originally reported and fixed here: https://bugzilla.gnome.org/show_bug.cgi?id=600876)
2013-04-14 17:18:17 +09:00
Marcel Dijkstra 46c4c36e0a Migrate to GSettings 2013-01-17 20:55:23 +01:00
Steve Zesch c4afb0c2cf Added mate-desktop.org to about window 2012-01-13 20:05:07 -05:00
Perberos f5edf1af10 agregando copyright 2011-11-07 11:12:36 -03:00
Perberos f2a13175e5 aplicando formato allman 2011-11-06 19:14:03 -03:00