| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<interface> |
| 3 |
<object class="AdwWindow" id="setaffinity_dialog"> |
| 4 |
<property name="default-width">500</property> |
| 5 |
<property name="default-height">500</property> |
| 6 |
<property name="destroy-with-parent">True</property> |
| 7 |
<property name="content"> |
| 8 |
<object class="AdwToolbarView"> |
| 9 |
<child type="top"> |
| 10 |
<object class="AdwHeaderBar"> |
| 11 |
<property name="show-start-title-buttons">False</property> |
| 12 |
<property name="show-end-title-buttons">False</property> |
| 13 |
<property name="title-widget"> |
| 14 |
<object class="AdwWindowTitle" id="window_title"> |
| 15 |
<property name="title" translatable="yes">Set Affinity</property> |
| 16 |
</object> |
| 17 |
</property> |
| 18 |
<child type="start"> |
| 19 |
<object class="GtkButton" id="cancel_button"> |
| 20 |
<property name="label" translatable="yes">_Cancel</property> |
| 21 |
<property name="use-underline">True</property> |
| 22 |
</object> |
| 23 |
</child> |
| 24 |
<child type="end"> |
| 25 |
<object class="GtkButton" id="apply_button"> |
| 26 |
<property name="label" translatable="yes">_Apply</property> |
| 27 |
<property name="use-underline">True</property> |
| 28 |
</object> |
| 29 |
</child> |
| 30 |
</object> |
| 31 |
</child> |
| 32 |
<property name="content"> |
| 33 |
<object class="GtkBox" id="dialog_vbox"> |
| 34 |
<property name="orientation">vertical</property> |
| 35 |
<child> |
| 36 |
<object class="AdwPreferencesPage"> |
| 37 |
<child> |
| 38 |
<object class="AdwPreferencesGroup"> |
| 39 |
<property name="description" translatable="yes">Select CPUs allowed to run on</property> |
| 40 |
<child> |
| 41 |
<object class="GtkListBox" id="cpulist_box"> |
| 42 |
<property name="selection-mode">none</property> |
| 43 |
<child> |
| 44 |
<object class="AdwSwitchRow" id="allcpus_row"> |
| 45 |
<property name="active">True</property> |
| 46 |
<property name="title" translatable="yes">_Run on all CPUs</property> |
| 47 |
<property name="use-underline">True</property> |
| 48 |
</object> |
| 49 |
</child> |
| 50 |
<style> |
| 51 |
<class name="boxed-list"/> |
| 52 |
</style> |
| 53 |
</object> |
| 54 |
</child> |
| 55 |
</object> |
| 56 |
</child> |
| 57 |
</object> |
| 58 |
</child> |
| 59 |
</object> |
| 60 |
</property> |
| 61 |
<child type="bottom"> |
| 62 |
<object class="GtkListBox"> |
| 63 |
<property name="selection-mode">none</property> |
| 64 |
<child> |
| 65 |
<object class="AdwSwitchRow" id="all_threads_row"> |
| 66 |
<property name="active">True</property> |
| 67 |
<property name="hexpand">true</property> |
| 68 |
<property name="title" translatable="yes">Apply to Child _Threads</property> |
| 69 |
<property name="use-underline">True</property> |
| 70 |
</object> |
| 71 |
</child> |
| 72 |
<style> |
| 73 |
<class name="background"/> |
| 74 |
</style> |
| 75 |
</object> |
| 76 |
</child> |
| 77 |
</object> |
| 78 |
</property> |
| 79 |
<child> |
| 80 |
<object class="GtkShortcutController"> |
| 81 |
<property name="scope">managed</property> |
| 82 |
<child> |
| 83 |
<object class="GtkShortcut" id="shortcut"> |
| 84 |
<property name="trigger">Escape</property> |
| 85 |
<property name="action">action(window.close)</property> |
| 86 |
</object> |
| 87 |
</child> |
| 88 |
</object> |
| 89 |
</child> |
| 90 |
</object> |
| 91 |
</interface> |