[vte] widget: Fix theming
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vte] widget: Fix theming
- Date: Thu, 21 Aug 2014 08:34:04 +0000 (UTC)
commit cb038a92719f0c84460ceed78a4197e798633a5d
Author: Christian Persch <chpe gnome org>
Date: Thu Aug 21 10:31:41 2014 +0200
widget: Fix theming
The application specific theming was removed from the gtk builtin theme.
Unfortunately there's *still* no way for a library to just drop a
css file in a ressource somewhere that will be automatically picked up
by gtk, so just add to the existing workaround with the explicit css provider.
https://bugzilla.gnome.org/show_bug.cgi?id=735081
src/vte.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/vte.c b/src/vte.c
index 53305ef..2183ce7 100644
--- a/src/vte.c
+++ b/src/vte.c
@@ -11704,6 +11704,8 @@ vte_terminal_class_init(VteTerminalClass *klass)
gtk_css_provider_load_from_data (GTK_CSS_PROVIDER (klass->priv->style_provider),
"VteTerminal {\n"
"padding: 1px 1px 1px 1px;\n"
+ "background-color: @theme_base_color;\n"
+ "color: @theme_fg_color;\n"
"}\n",
-1, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]