• R/O
  • SSH

vim: Commit

Mirror of the Vim source from https://github.com/vim/vim


Commit MetaInfo

Révision3922abbc46a2706c691e22b3985d96a6e5dacdc4 (tree)
l'heure2020-11-25 20:30:04
AuteurBram Moolenaar <Bram@vim....>
CommiterBram Moolenaar

Message de Log

patch 8.2.2043: GTK3: white border around text stands out

Commit: https://github.com/vim/vim/commit/ff94bd9e4779b918f3761035f43a97ba7175b3ce
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Nov 25 12:25:47 2020 +0100

patch 8.2.2043: GTK3: white border around text stands out
Problem: GTK3: white border around text stands out.
Solution: Use current theme color. (closes https://github.com/vim/vim/issues/7357, issue https://github.com/vim/vim/issues/349)

Change Summary

Modification

diff -r 116448e826f8 -r 3922abbc46a2 src/gui_gtk_x11.c
--- a/src/gui_gtk_x11.c Wed Nov 25 12:00:05 2020 +0100
+++ b/src/gui_gtk_x11.c Wed Nov 25 12:30:04 2020 +0100
@@ -4039,10 +4039,10 @@
40394039
40404040 #if GTK_CHECK_VERSION(3,22,2)
40414041 GtkStyleContext * const context
4042- = gtk_widget_get_style_context(gui.drawarea);
4042+ = gtk_widget_get_style_context(gui.mainwin);
40434043 GtkCssProvider * const provider = gtk_css_provider_new();
40444044 gchar * const css = g_strdup_printf(
4045- "widget#vim-gui-drawarea {\n"
4045+ "widget#vim-gui-drawarea, #vim-main-window {\n"
40464046 " background-color: #%.2lx%.2lx%.2lx;\n"
40474047 "}\n",
40484048 (gui.back_pixel >> 16) & 0xff,
diff -r 116448e826f8 -r 3922abbc46a2 src/version.c
--- a/src/version.c Wed Nov 25 12:00:05 2020 +0100
+++ b/src/version.c Wed Nov 25 12:30:04 2020 +0100
@@ -751,6 +751,8 @@
751751 static int included_patches[] =
752752 { /* Add new patch number below this line */
753753 /**/
754+ 2043,
755+/**/
754756 2042,
755757 /**/
756758 2041,
Afficher sur ancien navigateur de dépôt.