[gnome-usage/tracker-powered-storage-view-wip] StorageView: Remove unnecessary GtkStack
- From: Petr Štětka <pstetka src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-usage/tracker-powered-storage-view-wip] StorageView: Remove unnecessary GtkStack
- Date: Tue, 2 Oct 2018 10:49:11 +0000 (UTC)
commit c226f3cde63d9eda97f614a4da331f2ba3905dec
Author: Petr Štětka <pstetka redhat com>
Date: Tue Oct 2 12:12:21 2018 +0200
StorageView: Remove unnecessary GtkStack
data/ui/storage-view.ui | 106 ++++++++++++++++++++----------------------------
1 file changed, 43 insertions(+), 63 deletions(-)
---
diff --git a/data/ui/storage-view.ui b/data/ui/storage-view.ui
index 6f8173b..0b21eb6 100644
--- a/data/ui/storage-view.ui
+++ b/data/ui/storage-view.ui
@@ -4,86 +4,66 @@
<template class="UsageNewStorageView" parent="UsageView">
<property name="visible">True</property>
<child>
- <object class="GtkStack" id="stack">
+ <object class="GtkPaned">
<property name="visible">True</property>
+ <property name="orientation">horizontal</property>
+ <property name="position">360</property>
<child>
- <object class="GtkPaned">
+ <object class="GtkBox">
<property name="visible">True</property>
- <property name="orientation">horizontal</property>
- <property name="position">360</property>
+ <property name="orientation">vertical</property>
+ <style><class name="view"/></style>
<child>
- <object class="GtkBox">
+ <object class="GtkLabel" id="header_label">
<property name="visible">True</property>
- <property name="orientation">vertical</property>
- <style><class name="view"/></style>
-
- <child>
- <object class="GtkLabel" id="header_label">
- <property name="visible">True</property>
- <property name="halign">start</property>
- <property name="margin">10</property>
- <property name="label" translatable="yes">Home Partition</property>
- <attributes>
- <attribute name="weight" value="bold"/>
- </attributes>
- </object>
- </child>
-
- <child>
- <object class="UsageStorageViewRow" id="used_row">
- <property name="visible">True</property>
- <property name="label" translatable="yes">Used</property>
- <property name="tag_size">1</property>
- </object>
- </child>
-
- <child>
- <object class="UsageStorageViewRow" id="available_row">
- <property name="visible">True</property>
- <property name="label" translatable="yes">Available</property>
- <property name="tag_size">1</property>
- </object>
- </child>
-
- <child>
- <object class="DzlStackList" id="listbox">
- <property name="visible">True</property>
- <property name="vexpand">True</property>
- <style>
- <class name="storage-list"/>
- </style>
- </object>
- </child>
-
- <child>
- <object class="UsageStorageActionBar" id="actionbar">
- </object>
- </child>
-
+ <property name="halign">start</property>
+ <property name="margin">10</property>
+ <property name="label" translatable="yes">Home Partition</property>
+ <attributes>
+ <attribute name="weight" value="bold"/>
+ </attributes>
</object>
</child>
<child>
- <object class="GtkBox">
+ <object class="UsageStorageViewRow" id="used_row">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Used</property>
+ <property name="tag_size">1</property>
+ </object>
+ </child>
+ <child>
+ <object class="UsageStorageViewRow" id="available_row">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Available</property>
+ <property name="tag_size">1</property>
+ </object>
+ </child>
+ <child>
+ <object class="DzlStackList" id="listbox">
<property name="visible">True</property>
<property name="vexpand">True</property>
- <child>
- <object class="UsageStorageGraph" id="graph">
- <property name="visible">True</property>
- <property name="expand">True</property>
- </object>
- </child>
+ <style>
+ <class name="storage-list"/>
+ </style>
+ </object>
+ </child>
+ <child>
+ <object class="UsageStorageActionBar" id="actionbar">
</object>
</child>
</object>
</child>
<child>
- <object class="GtkSpinner">
+ <object class="GtkBox">
<property name="visible">True</property>
- <property name="active">True</property>
+ <property name="vexpand">True</property>
+ <child>
+ <object class="UsageStorageGraph" id="graph">
+ <property name="visible">True</property>
+ <property name="expand">True</property>
+ </object>
+ </child>
</object>
- <packing>
- <property name="name">spinner</property>
- </packing>
</child>
</object>
</child>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]