[gnome-clocks] Drop the wrapper frame
- From: Paolo Borelli <pborelli src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-clocks] Drop the wrapper frame
- Date: Fri, 5 Feb 2016 19:58:48 +0000 (UTC)
commit f956698c4382a5c6ceecd6dbd69d654a487ab401
Author: Paolo Borelli <pborelli gnome org>
Date: Fri Feb 5 20:52:46 2016 +0100
Drop the wrapper frame
Not needed anymore now that all the widgets support css background
data/css/gnome-clocks.css | 4 ++--
data/ui/window.ui | 9 +--------
2 files changed, 3 insertions(+), 10 deletions(-)
---
diff --git a/data/css/gnome-clocks.css b/data/css/gnome-clocks.css
index 3c10920..1003f2e 100644
--- a/data/css/gnome-clocks.css
+++ b/data/css/gnome-clocks.css
@@ -1,9 +1,9 @@
-window > frame {
+window > stack {
background-color: mix(@theme_fg_color, @theme_bg_color, 0.95);
box-shadow: inset 0 5px 2px -6px black;
}
-window > frame:backdrop {
+window > stack:backdrop {
background-color: mix(@theme_unfocused_fg_color, @theme_unfocused_bg_color, 0.95);
box-shadow: none;
}
diff --git a/data/ui/window.ui b/data/ui/window.ui
index d3f9812..007858b 100644
--- a/data/ui/window.ui
+++ b/data/ui/window.ui
@@ -19,18 +19,11 @@
</object>
</child>
<child>
- <object class="GtkFrame" id="frame1">
+ <object class="GtkStack" id="stack">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="shadow_type">none</property>
<property name="vexpand">True</property>
<property name="hexpand">True</property>
- <child>
- <object class="GtkStack" id="stack">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- </object>
- </child>
</object>
</child>
</template>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]