1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91
|
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<menu id="main_menu">
<section>
<item>
<attribute name="label">About</attribute>
<attribute name="action">app.about</attribute>
</item>
</section>
</menu>
<template class="StartupDiskWindow" parent="AdwApplicationWindow">
<property name="title">Startup Disk</property>
<property name="content">
<object class="GtkBox">
<property name="orientation">vertical</property>
<child>
<object class="AdwHeaderBar">
<child type="end">
<object class="GtkMenuButton">
<property name="icon-name">open-menu-symbolic</property>
<property name="tooltip-text">Main Menu</property>
<property name="menu-model">main_menu</property>
</object>
</child>
</object>
</child>
<child>
<object class="GtkStack" id="stack">
<child>
<object class="GtkStackPage">
<property name="name">unsupported</property>
<property name="child">
<object class="AdwStatusPage">
<property name="icon-name">dialog-error-symbolic</property>
<property name="title">Unsupported</property>
<property name="description">Startup Disk is only supported on Apple Silicon Macs</property>
<style>
<class name="compact"/>
</style>
</object>
</property>
</object>
</child>
<child>
<object class="GtkStackPage">
<property name="name">boot_candidates</property>
<property name="child">
<object class="GtkBox">
<property name="orientation">vertical</property>
<child>
<object class="GtkLabel">
<property name="label">Select the disk you want to use to start up from</property>
<property name="margin-top">12</property>
<property name="margin-bottom">6</property>
<property name="margin-start">12</property>
<property name="margin-end">12</property>
</object>
</child>
<child>
<object class="GtkScrolledWindow">
<property name="propagate-natural-height">True</property>
<property name="child">
<object class="AdwClampScrollable">
<property name="child">
<object class="GtkGridView" id="grid_view">
<property name="max-columns">2</property>
<property name="vexpand">True</property>
<property name="margin-start">6</property>
<property name="margin-end">6</property>
<style>
<class name="candidate_gridview"/>
</style>
</object>
</property>
</object>
</property>
<style>
<class name="view"/>
</style>
</object>
</child>
</object>
</property>
</object>
</child>
</object>
</child>
</object>
</property>
</template>
</interface>
|