2013-01-23 17:28:19 +00:00
|
|
|
<?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 diskAction -->
|
|
|
|
<column type="gchararray"/>
|
|
|
|
<!-- column-name diskEditable -->
|
|
|
|
<column type="gboolean"/>
|
|
|
|
<!-- column-name diskTooltip -->
|
|
|
|
<column type="gchararray"/>
|
2014-04-07 12:38:09 +00:00
|
|
|
<!-- column-name diskResizeTarget -->
|
|
|
|
<column type="gint"/>
|
|
|
|
<!-- column-name diskName -->
|
|
|
|
<column type="gchararray"/>
|
2013-01-23 17:28:19 +00:00
|
|
|
</columns>
|
|
|
|
</object>
|
2014-04-07 12:38:09 +00:00
|
|
|
<object class="GtkAdjustment" id="resizeAdjustment">
|
|
|
|
<property name="upper">100</property>
|
|
|
|
<property name="step_increment">1</property>
|
|
|
|
<property name="page_increment">10</property>
|
|
|
|
</object>
|
2013-01-23 17:28:19 +00:00
|
|
|
<object class="GtkDialog" id="resizeDialog">
|
|
|
|
<property name="height_request">550</property>
|
|
|
|
<property name="can_focus">False</property>
|
2014-04-07 12:38:09 +00:00
|
|
|
<property name="events">GDK_KEY_RELEASE_MASK | GDK_STRUCTURE_MASK</property>
|
|
|
|
<property name="border_width">6</property>
|
2013-01-23 17:28:19 +00:00
|
|
|
<property name="resizable">False</property>
|
|
|
|
<property name="modal">True</property>
|
|
|
|
<property name="type_hint">dialog</property>
|
|
|
|
<property name="decorated">False</property>
|
2014-04-07 12:38:09 +00:00
|
|
|
<signal name="key-release-event" handler="on_key_pressed" swapped="no"/>
|
2013-01-23 17:28:19 +00:00
|
|
|
<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="use_stock">True</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">0</property>
|
2014-04-07 12:38:09 +00:00
|
|
|
<property name="non_homogeneous">True</property>
|
2013-01-23 17:28:19 +00:00
|
|
|
</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="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>
|
2014-04-07 12:38:09 +00:00
|
|
|
<property name="position">2</property>
|
|
|
|
<property name="non_homogeneous">True</property>
|
2013-01-23 17:28:19 +00:00
|
|
|
</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>
|
2014-04-07 12:38:09 +00:00
|
|
|
<attribute name="markup">1</attribute>
|
|
|
|
</attributes>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkTreeViewColumn" id="nameColumn">
|
|
|
|
<property name="title" translatable="yes">Name</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkCellRendererText" id="nameRenderer"/>
|
|
|
|
<attributes>
|
|
|
|
<attribute name="text">8</attribute>
|
2013-01-23 17:28:19 +00:00
|
|
|
</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="actionColumn">
|
|
|
|
<property name="title" translatable="yes">Action</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkCellRendererText" id="actionRenderer"/>
|
|
|
|
<attributes>
|
2014-04-07 12:38:09 +00:00
|
|
|
<attribute name="visible">5</attribute>
|
|
|
|
<attribute name="text">4</attribute>
|
2013-01-23 17:28:19 +00:00
|
|
|
</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>
|
2014-04-07 12:38:09 +00:00
|
|
|
<object class="GtkBox" id="box2">
|
2013-01-23 17:28:19 +00:00
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
2014-04-07 12:38:09 +00:00
|
|
|
<property name="margin_top">6</property>
|
2013-01-23 17:28:19 +00:00
|
|
|
<child>
|
2014-04-07 12:38:09 +00:00
|
|
|
<object class="GtkButton" id="preserveButton">
|
|
|
|
<property name="label" translatable="yes">_Preserve</property>
|
2013-01-23 17:28:19 +00:00
|
|
|
<property name="visible">True</property>
|
2014-04-07 12:38:09 +00:00
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="receives_default">True</property>
|
|
|
|
<property name="valign">center</property>
|
|
|
|
<property name="use_underline">True</property>
|
2013-01-23 17:28:19 +00:00
|
|
|
<signal name="clicked" handler="on_preserve_clicked" swapped="no"/>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
2014-04-07 12:38:09 +00:00
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">0</property>
|
2013-01-23 17:28:19 +00:00
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
2014-04-07 12:38:09 +00:00
|
|
|
<object class="GtkButton" id="deleteButton">
|
|
|
|
<property name="label" translatable="yes">_Delete</property>
|
2013-01-23 17:28:19 +00:00
|
|
|
<property name="visible">True</property>
|
2014-04-07 12:38:09 +00:00
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="receives_default">True</property>
|
|
|
|
<property name="valign">center</property>
|
|
|
|
<property name="use_underline">True</property>
|
2013-01-23 17:28:19 +00:00
|
|
|
<signal name="clicked" handler="on_delete_clicked" swapped="no"/>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
2014-04-07 12:38:09 +00:00
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkButton" id="shrinkButton">
|
|
|
|
<property name="label" translatable="yes">_Shrink</property>
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="receives_default">True</property>
|
|
|
|
<property name="valign">center</property>
|
|
|
|
<property name="use_underline">True</property>
|
|
|
|
<signal name="clicked" handler="on_shrink_clicked" swapped="no"/>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">2</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkButton" id="deleteAllButton">
|
|
|
|
<property name="label" translatable="yes">Delete _all</property>
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="receives_default">True</property>
|
|
|
|
<property name="use_underline">True</property>
|
|
|
|
<signal name="clicked" handler="on_delete_all_clicked" swapped="no"/>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="pack_type">end</property>
|
|
|
|
<property name="position">3</property>
|
2013-01-23 17:28:19 +00:00
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">3</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
2014-04-07 12:38:09 +00:00
|
|
|
<child>
|
|
|
|
<object class="GtkScale" id="resizeSlider">
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="no_show_all">True</property>
|
|
|
|
<property name="margin_bottom">12</property>
|
|
|
|
<property name="adjustment">resizeAdjustment</property>
|
|
|
|
<property name="round_digits">0</property>
|
|
|
|
<property name="digits">0</property>
|
|
|
|
<signal name="format-value" handler="resize_slider_format" swapped="no"/>
|
|
|
|
<signal name="value-changed" handler="on_resize_value_changed" swapped="no"/>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">4</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
2013-01-23 17:28:19 +00:00
|
|
|
<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>
|
2014-04-07 12:38:09 +00:00
|
|
|
<property name="label"><b>%s disks; %s reclaimable space</b> (in filesystems)</property>
|
2013-01-23 17:28:19 +00:00
|
|
|
<property name="use_markup">True</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
2014-04-07 12:38:09 +00:00
|
|
|
<property name="position">5</property>
|
2013-01-23 17:28:19 +00:00
|
|
|
</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>
|
2014-04-07 12:38:09 +00:00
|
|
|
<property name="label">Total selected space to reclaim: <b>%s</b></property>
|
2013-01-23 17:28:19 +00:00
|
|
|
<property name="use_markup">True</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
2014-04-07 12:38:09 +00:00
|
|
|
<property name="position">6</property>
|
2013-01-23 17:28:19 +00:00
|
|
|
</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>
|
2014-04-07 12:38:09 +00:00
|
|
|
<property name="label">Installation requires a total of <b>%s</b> for system data.</property>
|
2013-01-23 17:28:19 +00:00
|
|
|
<property name="use_markup">True</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
2014-04-07 12:38:09 +00:00
|
|
|
<property name="position">7</property>
|
2013-01-23 17:28:19 +00:00
|
|
|
</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>
|
2014-04-07 12:38:09 +00:00
|
|
|
<action-widget response="2">resizeButton</action-widget>
|
2013-01-23 17:28:19 +00:00
|
|
|
</action-widgets>
|
|
|
|
</object>
|
|
|
|
</interface>
|