303 lines
14 KiB
Plaintext
303 lines
14 KiB
Plaintext
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<interface>
|
||
|
<!-- interface-requires gtk+ 3.0 -->
|
||
|
<object class="GtkTreeStore" id="diskStore">
|
||
|
<columns>
|
||
|
<!-- column-name diskID -->
|
||
|
<column type="gint"/>
|
||
|
<!-- column-name diskDesc -->
|
||
|
<column type="gchararray"/>
|
||
|
<!-- column-name diskFS -->
|
||
|
<column type="gchararray"/>
|
||
|
<!-- column-name diskReclaimableSize -->
|
||
|
<column type="gchararray"/>
|
||
|
<!-- column-name diskReclaimablePct -->
|
||
|
<column type="gint"/>
|
||
|
<!-- column-name diskAction -->
|
||
|
<column type="gchararray"/>
|
||
|
<!-- column-name diskEditable -->
|
||
|
<column type="gboolean"/>
|
||
|
<!-- column-name diskTooltip -->
|
||
|
<column type="gchararray"/>
|
||
|
</columns>
|
||
|
</object>
|
||
|
<object class="GtkDialog" id="resizeDialog">
|
||
|
<property name="height_request">550</property>
|
||
|
<property name="can_focus">False</property>
|
||
|
<property name="border_width">5</property>
|
||
|
<property name="resizable">False</property>
|
||
|
<property name="modal">True</property>
|
||
|
<property name="type_hint">dialog</property>
|
||
|
<property name="decorated">False</property>
|
||
|
<child internal-child="vbox">
|
||
|
<object class="GtkBox" id="dialog-vbox1">
|
||
|
<property name="can_focus">False</property>
|
||
|
<property name="orientation">vertical</property>
|
||
|
<property name="spacing">2</property>
|
||
|
<child internal-child="action_area">
|
||
|
<object class="GtkButtonBox" id="dialog-action_area1">
|
||
|
<property name="can_focus">False</property>
|
||
|
<property name="layout_style">end</property>
|
||
|
<child>
|
||
|
<object class="GtkButton" id="cancelButton">
|
||
|
<property name="label">gtk-cancel</property>
|
||
|
<property name="visible">True</property>
|
||
|
<property name="can_focus">True</property>
|
||
|
<property name="receives_default">True</property>
|
||
|
<property name="halign">end</property>
|
||
|
<property name="use_stock">True</property>
|
||
|
</object>
|
||
|
<packing>
|
||
|
<property name="expand">False</property>
|
||
|
<property name="fill">True</property>
|
||
|
<property name="position">0</property>
|
||
|
</packing>
|
||
|
</child>
|
||
|
<child>
|
||
|
<object class="GtkButton" id="resizeButton">
|
||
|
<property name="label" translatable="yes">_Reclaim space</property>
|
||
|
<property name="visible">True</property>
|
||
|
<property name="sensitive">False</property>
|
||
|
<property name="can_focus">True</property>
|
||
|
<property name="receives_default">True</property>
|
||
|
<property name="halign">end</property>
|
||
|
<property name="use_underline">True</property>
|
||
|
<signal name="clicked" handler="on_resize_clicked" swapped="no"/>
|
||
|
</object>
|
||
|
<packing>
|
||
|
<property name="expand">False</property>
|
||
|
<property name="fill">True</property>
|
||
|
<property name="position">1</property>
|
||
|
</packing>
|
||
|
</child>
|
||
|
</object>
|
||
|
<packing>
|
||
|
<property name="expand">False</property>
|
||
|
<property name="fill">True</property>
|
||
|
<property name="pack_type">end</property>
|
||
|
<property name="position">0</property>
|
||
|
</packing>
|
||
|
</child>
|
||
|
<child>
|
||
|
<object class="GtkBox" id="box1">
|
||
|
<property name="visible">True</property>
|
||
|
<property name="can_focus">False</property>
|
||
|
<property name="orientation">vertical</property>
|
||
|
<child>
|
||
|
<object class="GtkLabel" id="label1">
|
||
|
<property name="visible">True</property>
|
||
|
<property name="can_focus">False</property>
|
||
|
<property name="margin_bottom">6</property>
|
||
|
<property name="xalign">0</property>
|
||
|
<property name="label" translatable="yes">RECLAIM DISK SPACE</property>
|
||
|
<attributes>
|
||
|
<attribute name="weight" value="bold"/>
|
||
|
</attributes>
|
||
|
</object>
|
||
|
<packing>
|
||
|
<property name="expand">False</property>
|
||
|
<property name="fill">True</property>
|
||
|
<property name="position">0</property>
|
||
|
</packing>
|
||
|
</child>
|
||
|
<child>
|
||
|
<object class="GtkLabel" id="reclaimDescLabel">
|
||
|
<property name="visible">True</property>
|
||
|
<property name="can_focus">False</property>
|
||
|
<property name="margin_bottom">6</property>
|
||
|
<property name="xalign">0</property>
|
||
|
<property name="label" translatable="yes">Description goes here.</property>
|
||
|
<property name="wrap">True</property>
|
||
|
</object>
|
||
|
<packing>
|
||
|
<property name="expand">False</property>
|
||
|
<property name="fill">True</property>
|
||
|
<property name="position">1</property>
|
||
|
</packing>
|
||
|
</child>
|
||
|
<child>
|
||
|
<object class="GtkScrolledWindow" id="scrolledwindow1">
|
||
|
<property name="visible">True</property>
|
||
|
<property name="can_focus">True</property>
|
||
|
<property name="hscrollbar_policy">never</property>
|
||
|
<property name="shadow_type">in</property>
|
||
|
<child>
|
||
|
<object class="GtkTreeView" id="diskView">
|
||
|
<property name="visible">True</property>
|
||
|
<property name="can_focus">True</property>
|
||
|
<property name="model">diskStore</property>
|
||
|
<property name="enable_search">False</property>
|
||
|
<property name="enable_tree_lines">True</property>
|
||
|
<property name="tooltip_column">7</property>
|
||
|
<signal name="row-activated" handler="on_row_clicked" swapped="no"/>
|
||
|
<child internal-child="selection">
|
||
|
<object class="GtkTreeSelection" id="diskView-selection">
|
||
|
<signal name="changed" handler="on_selection_changed" swapped="no"/>
|
||
|
</object>
|
||
|
</child>
|
||
|
<child>
|
||
|
<object class="GtkTreeViewColumn" id="diskColumn">
|
||
|
<property name="title" translatable="yes">Disk</property>
|
||
|
<child>
|
||
|
<object class="GtkCellRendererText" id="diskRenderer"/>
|
||
|
<attributes>
|
||
|
<attribute name="text">1</attribute>
|
||
|
</attributes>
|
||
|
</child>
|
||
|
</object>
|
||
|
</child>
|
||
|
<child>
|
||
|
<object class="GtkTreeViewColumn" id="fsColumn">
|
||
|
<property name="title" translatable="yes">Filesystem</property>
|
||
|
<child>
|
||
|
<object class="GtkCellRendererText" id="fsRenderer"/>
|
||
|
<attributes>
|
||
|
<attribute name="text">2</attribute>
|
||
|
</attributes>
|
||
|
</child>
|
||
|
</object>
|
||
|
</child>
|
||
|
<child>
|
||
|
<object class="GtkTreeViewColumn" id="spaceColumn">
|
||
|
<property name="title" translatable="yes">Reclaimable Space</property>
|
||
|
<child>
|
||
|
<object class="GtkCellRendererText" id="reclaimableRenderer"/>
|
||
|
<attributes>
|
||
|
<attribute name="markup">3</attribute>
|
||
|
</attributes>
|
||
|
</child>
|
||
|
</object>
|
||
|
</child>
|
||
|
<child>
|
||
|
<object class="GtkTreeViewColumn" id="percentColumn">
|
||
|
<child>
|
||
|
<object class="GtkCellRendererProgress" id="percentRenderer"/>
|
||
|
<attributes>
|
||
|
<attribute name="visible">6</attribute>
|
||
|
<attribute name="value">4</attribute>
|
||
|
</attributes>
|
||
|
</child>
|
||
|
</object>
|
||
|
</child>
|
||
|
<child>
|
||
|
<object class="GtkTreeViewColumn" id="actionColumn">
|
||
|
<property name="title" translatable="yes">Action</property>
|
||
|
<child>
|
||
|
<object class="GtkCellRendererText" id="actionRenderer"/>
|
||
|
<attributes>
|
||
|
<attribute name="visible">6</attribute>
|
||
|
<attribute name="text">5</attribute>
|
||
|
</attributes>
|
||
|
</child>
|
||
|
</object>
|
||
|
</child>
|
||
|
</object>
|
||
|
</child>
|
||
|
</object>
|
||
|
<packing>
|
||
|
<property name="expand">True</property>
|
||
|
<property name="fill">True</property>
|
||
|
<property name="position">2</property>
|
||
|
</packing>
|
||
|
</child>
|
||
|
<child>
|
||
|
<object class="GtkToolbar" id="toolbar1">
|
||
|
<property name="visible">True</property>
|
||
|
<property name="can_focus">False</property>
|
||
|
<property name="margin_bottom">6</property>
|
||
|
<property name="toolbar_style">text</property>
|
||
|
<style>
|
||
|
<class name="inline-toolbar"/>
|
||
|
</style>
|
||
|
<child>
|
||
|
<object class="GtkToolButton" id="preserveButton">
|
||
|
<property name="visible">True</property>
|
||
|
<property name="can_focus">False</property>
|
||
|
<property name="label" translatable="yes">Preserve</property>
|
||
|
<signal name="clicked" handler="on_preserve_clicked" swapped="no"/>
|
||
|
</object>
|
||
|
<packing>
|
||
|
<property name="expand">False</property>
|
||
|
<property name="homogeneous">True</property>
|
||
|
</packing>
|
||
|
</child>
|
||
|
<child>
|
||
|
<object class="GtkToolButton" id="deleteButton">
|
||
|
<property name="visible">True</property>
|
||
|
<property name="can_focus">False</property>
|
||
|
<property name="label" translatable="yes">Delete</property>
|
||
|
<signal name="clicked" handler="on_delete_clicked" swapped="no"/>
|
||
|
</object>
|
||
|
<packing>
|
||
|
<property name="expand">False</property>
|
||
|
<property name="homogeneous">True</property>
|
||
|
</packing>
|
||
|
</child>
|
||
|
</object>
|
||
|
<packing>
|
||
|
<property name="expand">False</property>
|
||
|
<property name="fill">True</property>
|
||
|
<property name="position">3</property>
|
||
|
</packing>
|
||
|
</child>
|
||
|
<child>
|
||
|
<object class="GtkLabel" id="reclaimableSpaceLabel">
|
||
|
<property name="visible">True</property>
|
||
|
<property name="can_focus">False</property>
|
||
|
<property name="halign">start</property>
|
||
|
<property name="margin_bottom">6</property>
|
||
|
<property name="label" translatable="yes"><b>%s disks; %s reclaimable space</b> (in filesystems)</property>
|
||
|
<property name="use_markup">True</property>
|
||
|
</object>
|
||
|
<packing>
|
||
|
<property name="expand">False</property>
|
||
|
<property name="fill">True</property>
|
||
|
<property name="position">4</property>
|
||
|
</packing>
|
||
|
</child>
|
||
|
<child>
|
||
|
<object class="GtkLabel" id="selectedSpaceLabel">
|
||
|
<property name="visible">True</property>
|
||
|
<property name="can_focus">False</property>
|
||
|
<property name="halign">end</property>
|
||
|
<property name="margin_bottom">6</property>
|
||
|
<property name="label" translatable="yes">Total selected space to reclaim: <b>%s</b></property>
|
||
|
<property name="use_markup">True</property>
|
||
|
</object>
|
||
|
<packing>
|
||
|
<property name="expand">False</property>
|
||
|
<property name="fill">True</property>
|
||
|
<property name="position">5</property>
|
||
|
</packing>
|
||
|
</child>
|
||
|
<child>
|
||
|
<object class="GtkLabel" id="requiredSpaceLabel">
|
||
|
<property name="visible">True</property>
|
||
|
<property name="can_focus">False</property>
|
||
|
<property name="halign">end</property>
|
||
|
<property name="margin_bottom">6</property>
|
||
|
<property name="label" translatable="yes">Installation requires a total of <b>%s</b> for system data.</property>
|
||
|
<property name="use_markup">True</property>
|
||
|
</object>
|
||
|
<packing>
|
||
|
<property name="expand">False</property>
|
||
|
<property name="fill">True</property>
|
||
|
<property name="position">6</property>
|
||
|
</packing>
|
||
|
</child>
|
||
|
</object>
|
||
|
<packing>
|
||
|
<property name="expand">True</property>
|
||
|
<property name="fill">True</property>
|
||
|
<property name="position">1</property>
|
||
|
</packing>
|
||
|
</child>
|
||
|
</object>
|
||
|
</child>
|
||
|
<action-widgets>
|
||
|
<action-widget response="0">cancelButton</action-widget>
|
||
|
<action-widget response="1">resizeButton</action-widget>
|
||
|
</action-widgets>
|
||
|
</object>
|
||
|
</interface>
|