Commit Graph

162 Commits (926ec59919a2416a09e95a7a69494187081082cc)

Author SHA1 Message Date
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
Wolfgang Ulbrich 1e8eef25c7 GTK3: avoid duplicate schema name in profil editor 2015-11-20 16:54:38 +01:00
Wolfgang Ulbrich 5ecc6d7c26 vte291: fix sensitive state of transparency slider 2015-11-17 13:13:06 +01:00
Wolfgang Ulbrich 54db8f05e1 vte291: Remove the background image UI setting
Thank you
Author: egmont@gmail.com
2015-11-16 00:03:48 +01: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 6800c0cb9f Revert "Fix typo in 71204c2db80348c92b42c5cca08fc8c1166ab40d"
This reverts commit bf0b2dfe54.

Fixes https://github.com/mate-desktop/mate-terminal/issues/96
2015-10-01 13:44:51 +03:00
infirit 276f7b995a Rework gsettings schema building
* Bump intltool required version for gsettings support
* Extract strings with intltool directly
* Let autoconf generate the xml files
2015-09-08 15:46:15 +02: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
infirit 59d1eb356a Revert "help: Update uri for new user-guide"
This reverts commit 73634ff66f.
2015-07-07 11:15:48 +02:00
raveit65 2ff99ed187 ui: fix size of profile-preferences window in GTK3 version with a default 2015-04-07 16:08:56 +02:00
infirit ce95937741 Revert "Revert "Remove deprecated call to g_type_init""
This reverts commit deedb94b39.
2014-12-16 13:14:26 +01:00
infirit a8d2707825 Revert "Only stop use of g_type_init with Glib 2.36"
This reverts commit 1ea79cc466.
2014-12-16 13:14:17 +01:00
infirit 1ea79cc466 Only stop use of g_type_init with Glib 2.36
It is still needed in 2.32 from what I can figure out.
2014-12-16 11:55:10 +01:00
infirit deedb94b39 Revert "Remove deprecated call to g_type_init"
This reverts commit 0b75b3c4b4.
2014-12-16 11:49:55 +01:00
monsta 666895ab75 fix va_list issue 2014-12-15 22:05:02 +01:00
Monsta 69d6682000 zero-init all signals arrays 2014-12-15 22:05:02 +01:00
infirit 73634ff66f help: Update uri for new user-guide 2014-12-12 23:12:43 +01:00
infirit 84fd17a0b5 Gtk3: Port eggsmclient-xsmp 2014-12-11 16:44:16 +01:00
infirit 7612b1d8f1 Forgot to include gtk.h 2014-12-11 16:33:05 +01:00
infirit 4bce04d985 Gtk3: Fix gdkconfig include 2014-12-11 16:25:23 +01:00
Nikolay Martynov bb659a752e Properly check gdk_property_get result
Check return value of gdk_property_get in get_initial_workspace before using its result

Current implementation segfaults from to time if terminal is started at X session startup

Looks like #769947 bug in Debian describes same issue
2014-11-24 22:46:51 -05:00
infirit bf0b2dfe54 Fix typo in 71204c2db8 2014-11-04 21:03:23 +01:00
infirit 7476177681 Add colon to PATHTERM_CLASS for url detection.
Thanks to leigh123linux for pointing it out.
2014-10-12 12:38:44 +02:00
Stefano Karapetsas b57d3a8be2 Remove update_policy from ui files
Umpteenth breakage in GTK3...
2014-10-03 10:42:13 +02: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 0442355666 Add colon to PATHCHARS_CLASS for url detection.
Closes #70
2014-08-18 18:33:23 +02:00
infirit a43cdc8517 Remove has_separator property from gtkbuilder files 2014-05-20 13:49:41 +02:00
infirit 7aff67829f Use entry-text-column instead of text-column 2014-05-20 13:38:25 +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
infirit 0b75b3c4b4 Remove deprecated call to g_type_init 2014-05-20 12:35:47 +02:00
infirit 271719fd49 Drop support for gtk+ < 2.24 2014-05-20 12:35:08 +02:00
Stefano Karapetsas 0725476eec Use MateAboutDialog 2014-04-24 13:54:01 +02:00
Stefano Karapetsas 05b55b122e Use GSettings common functions from libmate-desktop 2014-04-23 19:45:58 +02:00
Stefano Karapetsas 693c6c76c7 Use common dconf functions from libmate-desktop 2014-04-23 19:29:22 +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
Stefano Karapetsas 43895e3aa9 Merge pull request #55 from markbt/warnings
Fix some warnings.
2014-02-17 10:59:47 +01:00
hekel e2f4cd2e13 "maximise" typo?
"maximise" was probably intentional, its used in British English.. However "maximize" is more widely accepted in Other English Speaking Countries. Proposing change since "maximize" is still used in the UK, but "maximise" is rarely used elsewhere.
2014-02-14 02:19:44 -05: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
Mark Thomas c39021ae1d Add blink preference 2014-01-25 20:38:35 +00:00
infirit eed527f422 GtkComboBoxEntry has been removed from GTK3
Use GtkComboBoxText which is available in both GTK2 and GTK3.
2014-01-24 17:19:43 +01:00
infirit 04b6ca92fb Use gtkbuilder directly 2014-01-24 16:57:41 +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
infirit 8a4039c6a3 Fix help handling. 2013-12-22 19:12:28 +01:00
Alexander von Gluck IV 707c3b56c0 ay_to_strv: Prevent dereferencing a NULL pointer.
* clang static analysis shows that ay_to_strv is
  called with argc set to NULL. This can cause
  ay_to_strv to dereference the pointer in a
  failure situation.
2013-09-24 18:01:21 -05: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
Stefano Karapetsas 5d832f711d Merge pull request #25 from dbravender/issue-17-paste-sometimes-doesnt-work
[PATCH] Update paste sensitivity whenever clipboard changes - fixes #17
2013-08-04 07:30:28 -07:00
infirit 469ced618a Use yelp-tools instead of mate-doc-utils 2013-08-02 23:48:37 +02:00
acampbell eaf4a8534b Remove obsolete libmateui references 2013-06-24 11:08:14 -06:00
Scott Balneaves 6eefb55ebe More general fix for #18: actually test if the the font content is empty 2013-05-21 12:51:01 -05: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
Scott Balneaves 14885e3eee Fix crashing on start with proxy set, properly set all proxy env vars 2013-04-08 15:44:59 -05:00
rezso 4f7f15a07b check schema installation before using it 2013-03-26 10:34:24 +01:00
Stefano Karapetsas fc50daead3 Free gchar** after use 2013-01-25 00:20:55 +01:00
Stefano Karapetsas ee1e872ab1 Remove unused function from terminal-gsettings 2013-01-25 00:20:10 +01:00