|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<interface> |
| 3 | + <template class="GlobalShortcutsPage" parent="PortalPage"> |
| 4 | + <child> |
| 5 | + <object class="AdwClamp"> |
| 6 | + <child> |
| 7 | + <object class="GtkBox"> |
| 8 | + <property name="hexpand">True</property> |
| 9 | + <property name="spacing">12</property> |
| 10 | + <property name="orientation">vertical</property> |
| 11 | + <child> |
| 12 | + <object class="AdwPreferencesGroup"> |
| 13 | + <property name="title" translatable="yes">Global Shortcuts</property> |
| 14 | + <property name="description" translatable="yes">Comma-separated list of shortcuts to request, in the form: "name:description:optional trigger"</property> |
| 15 | + <child> |
| 16 | + <object class="AdwEntryRow" id="shortcuts"> |
| 17 | + <property name="title" translatable="yes">Shortcuts</property> |
| 18 | + </object> |
| 19 | + </child> |
| 20 | + </object> |
| 21 | + </child> |
| 22 | + <child> |
| 23 | + <object class="GtkBox"> |
| 24 | + <property name="orientation">horizontal</property> |
| 25 | + <child> |
| 26 | + <object class="GtkButton"> |
| 27 | + <property name="label" translatable="yes">_Start Session</property> |
| 28 | + <property name="use-underline">True</property> |
| 29 | + <property name="halign">start</property> |
| 30 | + <property name="action-name">global_shortcuts.start_session</property> |
| 31 | + <style> |
| 32 | + <class name="pill" /> |
| 33 | + <class name="suggested-action" /> |
| 34 | + </style> |
| 35 | + </object> |
| 36 | + </child> |
| 37 | + <child> |
| 38 | + <object class="GtkButton"> |
| 39 | + <property name="label" translatable="yes">_Close Session</property> |
| 40 | + <property name="use-underline">True</property> |
| 41 | + <property name="halign">start</property> |
| 42 | + <property name="sensitive">False</property> |
| 43 | + <property name="action-name">global_shortcuts.stop</property> |
| 44 | + <property name="halign">end</property> |
| 45 | + <property name="hexpand">True</property> |
| 46 | + <style> |
| 47 | + <class name="pill" /> |
| 48 | + <class name="destructive-action" /> |
| 49 | + </style> |
| 50 | + </object> |
| 51 | + </child> |
| 52 | + </object> |
| 53 | + </child> |
| 54 | + <child> |
| 55 | + <object class="AdwPreferencesGroup" id="activations_group"> |
| 56 | + <property name="title" translatable="yes">Activations</property> |
| 57 | + <property name="visible">False</property> |
| 58 | + <property name="margin-top">24</property> |
| 59 | + <child> |
| 60 | + <object class="GtkLabel" id="activations_label"> |
| 61 | + <property name="valign">center</property> |
| 62 | + </object> |
| 63 | + </child> |
| 64 | + </object> |
| 65 | + </child> |
| 66 | + <child> |
| 67 | + <object class="AdwPreferencesGroup" id="general_group"> |
| 68 | + <property name="title" translatable="yes">Info</property> |
| 69 | + <property name="margin-top">24</property> |
| 70 | + <child> |
| 71 | + <object class="AdwActionRow"> |
| 72 | + <property name="title" translatable="yes">Binding changes count</property> |
| 73 | + <child> |
| 74 | + <object class="GtkLabel" id="rebind_count_label"> |
| 75 | + <property name="valign">center</property> |
| 76 | + <style> |
| 77 | + <class name="dim-label" /> |
| 78 | + </style> |
| 79 | + </object> |
| 80 | + </child> |
| 81 | + </object> |
| 82 | + </child> |
| 83 | + </object> |
| 84 | + </child> |
| 85 | + </object> |
| 86 | + </child> |
| 87 | + <style> |
| 88 | + <class name="page-content" /> |
| 89 | + </style> |
| 90 | + </object> |
| 91 | + </child> |
| 92 | + </template> |
| 93 | +</interface> |
0 commit comments