2015-05-06 21:07:17 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2015-07-29 19:15:10 +00:00
|
|
|
<interface domain="gtk30">
|
2015-05-06 21:07:17 +00:00
|
|
|
<template class="GtkSidebarRow" parent="GtkListBoxRow">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="margin-top">1</property>
|
|
|
|
<property name="margin-bottom">1</property>
|
2015-09-01 12:27:58 +00:00
|
|
|
<style>
|
|
|
|
<class name="sidebar-row"/>
|
|
|
|
</style>
|
2015-05-06 21:07:17 +00:00
|
|
|
<child>
|
|
|
|
<object class="GtkRevealer" id="revealer">
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="visible">1</property>
|
|
|
|
<property name="reveal-child">1</property>
|
2015-05-06 21:07:17 +00:00
|
|
|
<signal name="notify::child-revealed" handler="on_child_revealed"/>
|
|
|
|
<style>
|
|
|
|
<class name="sidebar-revealer"/>
|
|
|
|
</style>
|
|
|
|
<child>
|
|
|
|
<object class="GtkEventBox" id="event_box">
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="visible">1</property>
|
2015-05-06 21:07:17 +00:00
|
|
|
<child>
|
2016-02-15 13:02:27 +00:00
|
|
|
<object class="GtkBox">
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="visible">1</property>
|
2015-05-06 21:07:17 +00:00
|
|
|
<child>
|
|
|
|
<object class="GtkImage" id="icon_widget">
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="visible">1</property>
|
2015-05-06 21:07:17 +00:00
|
|
|
<style>
|
|
|
|
<class name="sidebar-icon"/>
|
|
|
|
</style>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="label_widget">
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="visible">1</property>
|
|
|
|
<property name="hexpand">1</property>
|
2015-07-28 10:08:03 +00:00
|
|
|
<property name="xalign">0</property>
|
2015-05-06 21:07:17 +00:00
|
|
|
<style>
|
|
|
|
<class name="sidebar-label"/>
|
|
|
|
</style>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkButton" id="eject_button">
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="visible">1</property>
|
2015-07-28 10:08:03 +00:00
|
|
|
<property name="halign">center</property>
|
2015-05-06 21:07:17 +00:00
|
|
|
<property name="valign">center</property>
|
|
|
|
<property name="margin-start">4px</property>
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="no-show-all">1</property>
|
2015-05-06 21:07:17 +00:00
|
|
|
<child>
|
|
|
|
<object class="GtkImage">
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="visible">1</property>
|
2016-05-06 17:45:46 +00:00
|
|
|
<property name="icon-name">media-eject-symbolic</property>
|
|
|
|
<property name="icon-size">1</property>
|
2015-05-06 21:07:17 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<style>
|
|
|
|
<class name="image-button"/>
|
|
|
|
<class name="sidebar-button"/>
|
|
|
|
</style>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</template>
|
|
|
|
<!-- We need it to not make the row smaller when the eject button is hidden -->
|
|
|
|
<object class="GtkSizeGroup">
|
2015-06-18 00:24:29 +00:00
|
|
|
<property name="mode">vertical</property>
|
2015-05-06 21:07:17 +00:00
|
|
|
<widgets>
|
|
|
|
<widget name="eject_button"/>
|
|
|
|
<widget name="label_widget"/>
|
|
|
|
<widget name="icon_widget"/>
|
|
|
|
</widgets>
|
|
|
|
</object>
|
|
|
|
</interface>
|