[gnome-documents] embed: tweak the border width for the view scrolled windows
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-documents] embed: tweak the border width for the view scrolled windows
- Date: Mon, 21 Nov 2011 15:51:05 +0000 (UTC)
commit 7b224142fa6df4b5b3cfe39392709683277e3bcf
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Sun Nov 20 16:44:52 2011 -0500
embed: tweak the border width for the view scrolled windows
data/gtk-style.css | 5 +++++
src/embed.js | 2 ++
2 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/data/gtk-style.css b/data/gtk-style.css
index bfa9e23..cd5effe 100644
--- a/data/gtk-style.css
+++ b/data/gtk-style.css
@@ -4,6 +4,11 @@
border-width: 0 1 1 1;
}
+.documents-scrolledwin {
+ border-width: 1 0;
+ border-radius: 0;
+}
+
.documents-main-view.view {
background-color: #f1f2f1;
}
diff --git a/src/embed.js b/src/embed.js
index 6dda296..38385ab 100644
--- a/src/embed.js
+++ b/src/embed.js
@@ -309,6 +309,7 @@ ViewEmbed.prototype = {
shadow_type: Gtk.ShadowType.IN });
this._scrolledWinView.get_style_context().set_junction_sides(Gtk.JunctionSides.BOTTOM);
grid.add(this._scrolledWinView);
+ this._scrolledWinView.get_style_context().add_class('documents-scrolledwin');
this._loadMore = new LoadMore.LoadMoreButton();
grid.add(this._loadMore.widget);
@@ -403,6 +404,7 @@ ViewEmbed.prototype = {
this._scrolledWinPreview = new Gtk.ScrolledWindow({ hexpand: true,
vexpand: true,
shadow_type: Gtk.ShadowType.IN });
+ this._scrolledWinPreview.get_style_context().add_class('documents-scrolledwin');
this._scrolledWinPreview.show();
this._previewPage = this._notebook.append_page(this._scrolledWinPreview, null);
} else {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]