[Xfce4-commits] [apps/xfdashboard] 03/04: Implement new option "show-current-monitor-only" to default theme
noreply at xfce.org
noreply at xfce.org
Thu Jun 4 19:53:25 CEST 2015
This is an automated email from the git hooks/post-receive script.
nomad pushed a commit to branch master
in repository apps/xfdashboard.
commit 42c0896817dc42b2f805254033f39c2aa9a0a7a2
Author: Stephan Haller <nomad at froevel.de>
Date: Thu Jun 4 19:46:57 2015 +0200
Implement new option "show-current-monitor-only" to default theme
---
data/themes/xfdashboard/xfdashboard-secondary.xml | 40 +++++++++++++++++++--
data/themes/xfdashboard/xfdashboard.css | 12 +++----
2 files changed, 41 insertions(+), 11 deletions(-)
diff --git a/data/themes/xfdashboard/xfdashboard-secondary.xml b/data/themes/xfdashboard/xfdashboard-secondary.xml
index 9f94adc..f83dcf4 100644
--- a/data/themes/xfdashboard/xfdashboard-secondary.xml
+++ b/data/themes/xfdashboard/xfdashboard-secondary.xml
@@ -1,14 +1,16 @@
<interface>
<object class="XfdashboardStageInterface" id="secondary">
<child>
- <object class="XfdashboardWindowsView">
- <property name="x">8</property>
+ <object class="XfdashboardActor">
+ <property name="x-expand">true</property>
+ <property name="y-expand">true</property>
+ <property name="x">0</property>
<property name="y">8</property>
<constraint>
<object class="ClutterBindConstraint">
<property name="coordinate">width</property>
- <property name="offset">-16</property>
+ <property name="offset">0</property>
<property name="source" ref="secondary"></property>
</object>
</constraint>
@@ -20,6 +22,38 @@
<property name="source" ref="secondary"></property>
</object>
</constraint>
+
+ <layout>
+ <object class="XfdashboardBoxLayout">
+ <property name="orientation">horizontal</property>
+ <property name="spacing">8.0</property>
+ <property name="homogeneous">false</property>
+ </object>
+ </layout>
+
+ <child>
+ <object class="XfdashboardCollapseBox">
+ <property name="y-expand">true</property>
+ <property name="collapsed-size">64.0</property>
+ <property name="collapse-orientation">right</property>
+
+ <child>
+ <object class="XfdashboardWorkspaceSelector">
+ <property name="can-focus">true</property>
+ <property name="y-expand">true</property>
+ <property name="outline-borders">top right bottom</property>
+ <property name="corners">right</property>
+ </object>
+ </child>
+ </object>
+ </child>
+
+ <child>
+ <object class="XfdashboardWindowsView">
+ <property name="x-expand">true</property>
+ <property name="y-expand">true</property>
+ </object>
+ </child>
</object>
</child>
</object>
diff --git a/data/themes/xfdashboard/xfdashboard.css b/data/themes/xfdashboard/xfdashboard.css
index dbd3505..ca7bc71 100644
--- a/data/themes/xfdashboard/xfdashboard.css
+++ b/data/themes/xfdashboard/xfdashboard.css
@@ -254,30 +254,26 @@ XfdashboardApplicationButton.view-mode-list
}
/* Workspace selector (incl. collapse box) */
-#workspace-selector
+XfdashboardWorkspaceSelector
{
spacing: 8.0;
background-type: fill outline rounded-corners;
background-fill-color: @background;
outline-color: #5792e2ff;
outline-width: 0.5;
- outline-borders: top left bottom;
- corners: left;
orientation: vertical;
max-fraction: 0.20;
using-fraction: true;
orientation: vertical;
+ show-current-monitor-only: true;
}
#workspace-selector-collapse-box
{
collapsed-size: 64.0;
collapse-orientation: left;
-}
-
-XfdashboardCollapseBox
-{
- collapse-orientation: left;
+ outline-borders: top left bottom;
+ corners: left;
}
/* Search text box */
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list