summaryrefslogtreecommitdiff
path: root/src/profile-editor.c
diff options
context:
space:
mode:
authorWolfgang Ulbrich <[email protected]>2015-11-16 00:01:30 +0100
committerWolfgang Ulbrich <[email protected]>2015-11-16 00:03:48 +0100
commit54db8f05e1a371b2af9814d1584a384d5579278e (patch)
tree1f77500bbcdb8a715431b3873c6fc4168ed65089 /src/profile-editor.c
parent68a474cd334586ed5d2b3990df51a00121b1868d (diff)
downloadmate-terminal-54db8f05e1a371b2af9814d1584a384d5579278e.tar.bz2
mate-terminal-54db8f05e1a371b2af9814d1584a384d5579278e.tar.xz
vte291: Remove the background image UI setting
Thank you Author: [email protected]
Diffstat (limited to 'src/profile-editor.c')
-rw-r--r--src/profile-editor.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/profile-editor.c b/src/profile-editor.c
index d66b5da..cbfc394 100644
--- a/src/profile-editor.c
+++ b/src/profile-editor.c
@@ -141,6 +141,11 @@ profile_notify_sensitivity_cb (TerminalProfile *profile,
!terminal_profile_property_locked (profile, TERMINAL_PROFILE_CUSTOM_COMMAND));
}
+#if VTE_CHECK_VERSION (0, 38, 0)
+ gtk_widget_hide (profile_editor_get_widget (editor, "background-image"));
+ gtk_widget_hide (profile_editor_get_widget (editor, "darken-background-transparent-or-image-scale-label"));
+ gtk_widget_show (profile_editor_get_widget (editor, "darken-background-transparent-scale-label"));
+#else
if (!prop_name || prop_name == I_(TERMINAL_PROFILE_BACKGROUND_TYPE))
{
gboolean bg_type_locked = terminal_profile_property_locked (profile, TERMINAL_PROFILE_BACKGROUND_TYPE);
@@ -168,6 +173,7 @@ profile_notify_sensitivity_cb (TerminalProfile *profile,
SET_SENSITIVE ("darken-background-vbox", FALSE);
}
}
+#endif
if (!prop_name ||
prop_name == I_(TERMINAL_PROFILE_USE_SYSTEM_FONT) ||