[polari] style: Catch up with GTK+ changes
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [polari] style: Catch up with GTK+ changes
- Date: Wed, 23 Dec 2015 17:38:42 +0000 (UTC)
commit 93aed8b1eeda28c418319ffab58d530bad0e3673
Author: Florian Müllner <fmuellner gnome org>
Date: Wed Dec 23 17:21:37 2015 +0100
style: Catch up with GTK+ changes
Yikes, double borders ...
data/resources/application.css | 6 +++---
data/resources/main-window.ui | 3 +--
src/roomStack.js | 2 +-
3 files changed, 5 insertions(+), 6 deletions(-)
---
diff --git a/data/resources/application.css b/data/resources/application.css
index 7e552a2..992b9a1 100644
--- a/data/resources/application.css
+++ b/data/resources/application.css
@@ -1,16 +1,16 @@
@define-color polari_dark_bg_color shade(@theme_bg_color, 0.95);
-.polari-sidebar {
+.polari-room-list .sidebar {
border-style: solid;
border-color: @borders;
border-image: none;
}
-.polari-sidebar.polari-room-list:dir(ltr) {
+.polari-room-list .sidebar:dir(ltr) {
border-width: 0 1px 0 0;
}
-.polari-sidebar.polari-room-list:dir(rtl) {
+.polari-room-list .sidebar:dir(rtl) {
border-width: 0 0 0 1px;
}
diff --git a/data/resources/main-window.ui b/data/resources/main-window.ui
index f4fade2..ad747c6 100644
--- a/data/resources/main-window.ui
+++ b/data/resources/main-window.ui
@@ -191,9 +191,8 @@
<property name="visible">True</property>
<property name="hexpand">False</property>
<property name="width">200</property>
+ <property name="shadow_type">none</property>
<style>
- <class name="sidebar"/>
- <class name="polari-sidebar"/>
<class name="polari-room-list"/>
</style>
<child>
diff --git a/src/roomStack.js b/src/roomStack.js
index b06f7b4..173816b 100644
--- a/src/roomStack.js
+++ b/src/roomStack.js
@@ -138,7 +138,7 @@ const RoomView = new Lang.Class({
this.widget = new Gtk.Box({ orientation: Gtk.Orientation.VERTICAL });
this.widget.add(this._view.widget);
- this.inputWidget = new Gtk.Frame();
+ this.inputWidget = new Gtk.Frame({ shadow_type: Gtk.ShadowType.NONE });
this.inputWidget.get_style_context().add_class('polari-input-area');
this.widget.add(this.inputWidget);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]