[sushi] font: adapt for widget changes
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sushi] font: adapt for widget changes
- Date: Tue, 5 Mar 2013 00:09:29 +0000 (UTC)
commit 7c36fe20b64bef2101f0434e2cb656b05f3cab51
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Mon Mar 4 18:20:03 2013 -0500
font: adapt for widget changes
data/style/gtk-style.css | 4 ++++
src/js/viewers/font.js | 1 +
2 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/data/style/gtk-style.css b/data/style/gtk-style.css
index 4c604ff..4e1b2b0 100644
--- a/data/style/gtk-style.css
+++ b/data/style/gtk-style.css
@@ -12,6 +12,10 @@ GtkSourceView {
font: Monospace 10;
}
+SushiFontWidget {
+ background-color: transparent;
+}
+
.scrollbar.slider,
.scrollbar.button {
background-color: shade (@np_bg_color, 1.30);
diff --git a/src/js/viewers/font.js b/src/js/viewers/font.js
index 4ae58d6..0f5289a 100644
--- a/src/js/viewers/font.js
+++ b/src/js/viewers/font.js
@@ -53,6 +53,7 @@ FontRenderer.prototype = {
Lang.bind(this, this._onFontLoaded));
this._fontActor = new GtkClutter.Actor({ contents: this._fontWidget });
+ Utils.alphaGtkWidget(this._fontActor.get_widget());
},
_onFontLoaded : function() {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]