[dconf-editor] Pathbar styling improvements.
- From: Arnaud Bonatti <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dconf-editor] Pathbar styling improvements.
- Date: Sun, 1 May 2016 10:03:46 +0000 (UTC)
commit a54a557d735a67a8bf55159883d043efd3c85ce6
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Sun May 1 12:03:33 2016 +0200
Pathbar styling improvements.
editor/dconf-editor.css | 11 +++++++++--
editor/pathbar.ui | 5 ++---
2 files changed, 11 insertions(+), 5 deletions(-)
---
diff --git a/editor/dconf-editor.css b/editor/dconf-editor.css
index 4c2f5f5..e41497b 100644
--- a/editor/dconf-editor.css
+++ b/editor/dconf-editor.css
@@ -68,9 +68,16 @@
* * pathbar
\*/
+.root-button {
+ background-image:-gtk-icontheme("dconf-editor-symbolic");
+ background-position:center;
+ background-size:1.1rem;
+ background-repeat:no-repeat;
+ min-width:1.1rem;
+}
+
.pathbar {
- margin-left:8px;
- margin-right:8px;
+ margin:0 2px;
}
.pathbar > button {
diff --git a/editor/pathbar.ui b/editor/pathbar.ui
index c341160..e7b21e0 100644
--- a/editor/pathbar.ui
+++ b/editor/pathbar.ui
@@ -12,11 +12,10 @@
<property name="focus-on-click">False</property>
<signal name="clicked" handler="set_root_path"/>
<child>
- <object class="GtkImage">
- <property name="visible">True</property>
- <property name="icon-name">dconf-editor-symbolic</property>
+ <object class="GtkLabel">
<style>
<class name="item"/>
+ <class name="root-button"/>
</style>
</object>
</child>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]