[Xfce4-commits] [apps/xfce4-terminal] 01/01: Restore "Allow bold text" option
noreply at xfce.org
noreply at xfce.org
Wed Mar 21 20:41:13 CET 2018
This is an automated email from the git hooks/post-receive script.
f 2 4 0 4 p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository apps/xfce4-terminal.
commit efaa91569a754ee321d4ec2b54555308f4c45f46
Author: Igor <f2404 at yandex.ru>
Date: Wed Mar 21 15:40:27 2018 -0400
Restore "Allow bold text" option
Newer VTE versions still support it.
Fixes bug #14292
---
terminal/terminal-preferences-dialog.c | 5 -----
terminal/terminal-screen.c | 3 ---
2 files changed, 8 deletions(-)
diff --git a/terminal/terminal-preferences-dialog.c b/terminal/terminal-preferences-dialog.c
index 4c14867..4d4515c 100644
--- a/terminal/terminal-preferences-dialog.c
+++ b/terminal/terminal-preferences-dialog.c
@@ -315,11 +315,6 @@ error:
terminal_return_if_fail (G_IS_OBJECT (object));
g_signal_connect (object, "clicked",
G_CALLBACK (terminal_preferences_dialog_reset_cell_scale), dialog);
-
- /* hide "Allow bold" if vte supports "bold is bright" */
- object = gtk_builder_get_object (GTK_BUILDER (dialog), "font-allow-bold");
- terminal_return_if_fail (G_IS_OBJECT (object));
- gtk_widget_hide (GTK_WIDGET (object));
#else
/* hide "Text blinks" if vte doesn't support it */
object = gtk_builder_get_object (GTK_BUILDER (dialog), "box-text-blink");
diff --git a/terminal/terminal-screen.c b/terminal/terminal-screen.c
index 015638a..efba091 100644
--- a/terminal/terminal-screen.c
+++ b/terminal/terminal-screen.c
@@ -2638,10 +2638,7 @@ terminal_screen_update_font (TerminalScreen *screen)
if (G_LIKELY (font_name != NULL))
{
font_desc = pango_font_description_from_string (font_name);
-#if !VTE_CHECK_VERSION (0, 51, 3)
- /* "bold-is-bright" is used since vte 0.51.3 */
vte_terminal_set_allow_bold (VTE_TERMINAL (screen->terminal), font_allow_bold);
-#endif
vte_terminal_set_font (VTE_TERMINAL (screen->terminal), font_desc);
pango_font_description_free (font_desc);
g_free (font_name);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list