[gnome-sound-recorder] Only apply styles to scrolled window
- From: Meg Ford (Margaret) <megford src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-sound-recorder] Only apply styles to scrolled window
- Date: Fri, 22 Aug 2014 19:15:40 +0000 (UTC)
commit 6e7e6cbf6f257597d47d9f7332442da8e9e07fad
Author: Meg Ford <megford gnome org>
Date: Fri Aug 22 14:14:19 2014 -0500
Only apply styles to scrolled window
data/application.css | 2 +-
src/mainWindow.js | 1 +
2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/data/application.css b/data/application.css
index 0231ee2..27a47e4 100644
--- a/data/application.css
+++ b/data/application.css
@@ -1,4 +1,4 @@
-.button {
+.view .button {
border-radius: 0px;
border: rgba(255,255,255,1.0) 0.5px solid;
}
diff --git a/src/mainWindow.js b/src/mainWindow.js
index 1cba5c4..83061be 100644
--- a/src/mainWindow.js
+++ b/src/mainWindow.js
@@ -307,6 +307,7 @@ const MainView = new Lang.Class({
width_request: 775,
vexpand: true });
this._scrolledWin.set_policy(Gtk.PolicyType.NEVER, Gtk.PolicyType.AUTOMATIC);
+ this._scrolledWin.get_style_context().add_class('view');
this.scrollbar = this._scrolledWin.get_vadjustment();
this.scrollbar.connect("value_changed", Lang.bind(this,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]