| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<!-- Generated with glade 3.38.2 --> |
| 3 |
<interface> |
| 4 |
<requires lib="gtk+" version="3.20"/> |
| 5 |
<object class="GtkDialog" id="preferences"> |
| 6 |
<property name="can-focus">False</property> |
| 7 |
<property name="title" translatable="yes">Termonad Preferences</property> |
| 8 |
<property name="window-position">center-on-parent</property> |
| 9 |
<property name="type-hint">dialog</property> |
| 10 |
<child internal-child="vbox"> |
| 11 |
<object class="GtkBox"> |
| 12 |
<property name="can-focus">False</property> |
| 13 |
<property name="margin-left">10</property> |
| 14 |
<property name="margin-right">10</property> |
| 15 |
<property name="margin-start">8</property> |
| 16 |
<property name="margin-end">8</property> |
| 17 |
<property name="margin-top">8</property> |
| 18 |
<property name="margin-bottom">8</property> |
| 19 |
<property name="hexpand">True</property> |
| 20 |
<property name="orientation">vertical</property> |
| 21 |
<property name="spacing">10</property> |
| 22 |
<child internal-child="action_area"> |
| 23 |
<object class="GtkButtonBox"> |
| 24 |
<property name="can-focus">False</property> |
| 25 |
<property name="layout-style">end</property> |
| 26 |
<child> |
| 27 |
<placeholder/> |
| 28 |
</child> |
| 29 |
<child> |
| 30 |
<object class="GtkButton" id="ok"> |
| 31 |
<property name="label">gtk-ok</property> |
| 32 |
<property name="visible">True</property> |
| 33 |
<property name="can-focus">True</property> |
| 34 |
<property name="receives-default">True</property> |
| 35 |
<property name="use-stock">True</property> |
| 36 |
</object> |
| 37 |
<packing> |
| 38 |
<property name="expand">True</property> |
| 39 |
<property name="fill">True</property> |
| 40 |
<property name="position">1</property> |
| 41 |
</packing> |
| 42 |
</child> |
| 43 |
</object> |
| 44 |
<packing> |
| 45 |
<property name="expand">False</property> |
| 46 |
<property name="fill">False</property> |
| 47 |
<property name="position">0</property> |
| 48 |
</packing> |
| 49 |
</child> |
| 50 |
<child> |
| 51 |
<!-- n-columns=2 n-rows=10 --> |
| 52 |
<object class="GtkGrid"> |
| 53 |
<property name="visible">True</property> |
| 54 |
<property name="can-focus">False</property> |
| 55 |
<property name="hexpand">True</property> |
| 56 |
<property name="border-width">0</property> |
| 57 |
<property name="row-spacing">7</property> |
| 58 |
<property name="column-spacing">10</property> |
| 59 |
<child> |
| 60 |
<object class="GtkFontButton" id="font"> |
| 61 |
<property name="visible">True</property> |
| 62 |
<property name="can-focus">True</property> |
| 63 |
<property name="receives-default">True</property> |
| 64 |
<property name="tooltip-text" translatable="yes">Font to use in the terminal.</property> |
| 65 |
<property name="hexpand">True</property> |
| 66 |
<property name="vexpand">False</property> |
| 67 |
<property name="font">Sans 12</property> |
| 68 |
<property name="language">en-us</property> |
| 69 |
<property name="preview-text"/> |
| 70 |
</object> |
| 71 |
<packing> |
| 72 |
<property name="left-attach">1</property> |
| 73 |
<property name="top-attach">0</property> |
| 74 |
</packing> |
| 75 |
</child> |
| 76 |
<child> |
| 77 |
<object class="GtkLabel"> |
| 78 |
<property name="visible">True</property> |
| 79 |
<property name="can-focus">False</property> |
| 80 |
<property name="label" translatable="yes">Font:</property> |
| 81 |
</object> |
| 82 |
<packing> |
| 83 |
<property name="left-attach">0</property> |
| 84 |
<property name="top-attach">0</property> |
| 85 |
</packing> |
| 86 |
</child> |
| 87 |
<child> |
| 88 |
<object class="GtkSpinButton" id="scrollbackLen"> |
| 89 |
<property name="visible">True</property> |
| 90 |
<property name="can-focus">True</property> |
| 91 |
<property name="tooltip-text" translatable="yes">Number of lines to keep in the output of the terminal.</property> |
| 92 |
</object> |
| 93 |
<packing> |
| 94 |
<property name="left-attach">1</property> |
| 95 |
<property name="top-attach">2</property> |
| 96 |
</packing> |
| 97 |
</child> |
| 98 |
<child> |
| 99 |
<object class="GtkLabel"> |
| 100 |
<property name="visible">True</property> |
| 101 |
<property name="can-focus">False</property> |
| 102 |
<property name="label" translatable="yes">Scrollback length:</property> |
| 103 |
</object> |
| 104 |
<packing> |
| 105 |
<property name="left-attach">0</property> |
| 106 |
<property name="top-attach">2</property> |
| 107 |
</packing> |
| 108 |
</child> |
| 109 |
<child> |
| 110 |
<object class="GtkCheckButton" id="confirmExit"> |
| 111 |
<property name="label" translatable="yes">Confirm exit</property> |
| 112 |
<property name="visible">True</property> |
| 113 |
<property name="can-focus">True</property> |
| 114 |
<property name="receives-default">False</property> |
| 115 |
<property name="tooltip-text" translatable="yes">Whether or not to pop-up a dialog asking if you are sure you want to exit when you close a tab or exit out of Termonad.</property> |
| 116 |
<property name="halign">start</property> |
| 117 |
<property name="draw-indicator">True</property> |
| 118 |
</object> |
| 119 |
<packing> |
| 120 |
<property name="left-attach">1</property> |
| 121 |
<property name="top-attach">7</property> |
| 122 |
</packing> |
| 123 |
</child> |
| 124 |
<child> |
| 125 |
<object class="GtkLabel"> |
| 126 |
<property name="visible">True</property> |
| 127 |
<property name="can-focus">False</property> |
| 128 |
<property name="label" translatable="yes">Word char exceptions:</property> |
| 129 |
</object> |
| 130 |
<packing> |
| 131 |
<property name="left-attach">0</property> |
| 132 |
<property name="top-attach">3</property> |
| 133 |
</packing> |
| 134 |
</child> |
| 135 |
<child> |
| 136 |
<object class="GtkEntry" id="wordCharExceptions"> |
| 137 |
<property name="visible">True</property> |
| 138 |
<property name="can-focus">True</property> |
| 139 |
<property name="tooltip-text" translatable="yes">When double-clicking on text in the terminal with the mouse, Termonad will use these characters to determine what to highlight. Characters in this list will be counted as part of a word. This makes it easy to highlight things like URLs or file paths.</property> |
| 140 |
</object> |
| 141 |
<packing> |
| 142 |
<property name="left-attach">1</property> |
| 143 |
<property name="top-attach">3</property> |
| 144 |
</packing> |
| 145 |
</child> |
| 146 |
<child> |
| 147 |
<object class="GtkCheckButton" id="showMenu"> |
| 148 |
<property name="label" translatable="yes">Show menu</property> |
| 149 |
<property name="visible">True</property> |
| 150 |
<property name="can-focus">True</property> |
| 151 |
<property name="receives-default">False</property> |
| 152 |
<property name="tooltip-text" translatable="yes">Whether or not to show the menubar. (This is the bar at the top that has the "File", "Edit", "View", etc buttons.)</property> |
| 153 |
<property name="halign">start</property> |
| 154 |
<property name="draw-indicator">True</property> |
| 155 |
</object> |
| 156 |
<packing> |
| 157 |
<property name="left-attach">1</property> |
| 158 |
<property name="top-attach">8</property> |
| 159 |
</packing> |
| 160 |
</child> |
| 161 |
<child> |
| 162 |
<object class="GtkLabel"> |
| 163 |
<property name="visible">True</property> |
| 164 |
<property name="can-focus">False</property> |
| 165 |
<property name="label" translatable="yes">Show scrollbar:</property> |
| 166 |
</object> |
| 167 |
<packing> |
| 168 |
<property name="left-attach">0</property> |
| 169 |
<property name="top-attach">1</property> |
| 170 |
</packing> |
| 171 |
</child> |
| 172 |
<child> |
| 173 |
<object class="GtkComboBoxText" id="showScrollbar"> |
| 174 |
<property name="visible">True</property> |
| 175 |
<property name="can-focus">False</property> |
| 176 |
<property name="tooltip-text" translatable="yes">Whether or not to show a scrollbar on the terminal. "If Needed" only shows the scrollbar if the text on the terminal goes off the screen.</property> |
| 177 |
</object> |
| 178 |
<packing> |
| 179 |
<property name="left-attach">1</property> |
| 180 |
<property name="top-attach">1</property> |
| 181 |
</packing> |
| 182 |
</child> |
| 183 |
<child> |
| 184 |
<object class="GtkComboBoxText" id="showTabBar"> |
| 185 |
<property name="visible">True</property> |
| 186 |
<property name="can-focus">False</property> |
| 187 |
<property name="tooltip-text" translatable="yes">Whether or not to show the tab bar. "If Needed" only shows the tab bar when you have multiple tabs.</property> |
| 188 |
</object> |
| 189 |
<packing> |
| 190 |
<property name="left-attach">1</property> |
| 191 |
<property name="top-attach">4</property> |
| 192 |
</packing> |
| 193 |
</child> |
| 194 |
<child> |
| 195 |
<object class="GtkComboBoxText" id="cursorBlinkMode"> |
| 196 |
<property name="visible">True</property> |
| 197 |
<property name="can-focus">False</property> |
| 198 |
<property name="tooltip-text" translatable="yes">Set whether the cursor in the terminal should blink. "System" sets this to the system-level GTK setting.</property> |
| 199 |
</object> |
| 200 |
<packing> |
| 201 |
<property name="left-attach">1</property> |
| 202 |
<property name="top-attach">5</property> |
| 203 |
</packing> |
| 204 |
</child> |
| 205 |
<child> |
| 206 |
<object class="GtkLabel" id="warning"> |
| 207 |
<property name="visible">True</property> |
| 208 |
<property name="can-focus">False</property> |
| 209 |
<property name="margin-left">5</property> |
| 210 |
<property name="margin-right">5</property> |
| 211 |
<property name="margin-top">5</property> |
| 212 |
<property name="margin-bottom">5</property> |
| 213 |
<property name="label" translatable="yes">Warning: these settings will be used for current session only. To make them permanent, set them in ~/.config/termonad/termonad.hs</property> |
| 214 |
<property name="justify">fill</property> |
| 215 |
<property name="wrap">True</property> |
| 216 |
<property name="max-width-chars">30</property> |
| 217 |
<attributes> |
| 218 |
<attribute name="foreground" value="#ffff00000000"/> |
| 219 |
</attributes> |
| 220 |
</object> |
| 221 |
<packing> |
| 222 |
<property name="left-attach">0</property> |
| 223 |
<property name="top-attach">9</property> |
| 224 |
<property name="width">2</property> |
| 225 |
</packing> |
| 226 |
</child> |
| 227 |
<child> |
| 228 |
<object class="GtkLabel"> |
| 229 |
<property name="visible">True</property> |
| 230 |
<property name="can-focus">False</property> |
| 231 |
<property name="label" translatable="yes">Show tabbar:</property> |
| 232 |
</object> |
| 233 |
<packing> |
| 234 |
<property name="left-attach">0</property> |
| 235 |
<property name="top-attach">4</property> |
| 236 |
</packing> |
| 237 |
</child> |
| 238 |
<child> |
| 239 |
<object class="GtkLabel"> |
| 240 |
<property name="visible">True</property> |
| 241 |
<property name="can-focus">False</property> |
| 242 |
<property name="label" translatable="yes">Cursor blink mode:</property> |
| 243 |
</object> |
| 244 |
<packing> |
| 245 |
<property name="left-attach">0</property> |
| 246 |
<property name="top-attach">5</property> |
| 247 |
</packing> |
| 248 |
</child> |
| 249 |
<child> |
| 250 |
<object class="GtkCheckButton" id="boldIsBright"> |
| 251 |
<property name="label" translatable="yes">Bold is bright</property> |
| 252 |
<property name="visible">True</property> |
| 253 |
<property name="can-focus">True</property> |
| 254 |
<property name="receives-default">False</property> |
| 255 |
<property name="tooltip-text" translatable="yes">Control whether or not to force bold text to use colors from the light palette. |
| 256 |
|
| 257 |
If selected, then colored bold text will always use colors from the light palette. There will be no way to print bold text colored with the standard palette. |
| 258 |
|
| 259 |
If unselected, then bold can be applied separately to colors from both the standard and light palettes.</property> |
| 260 |
<property name="halign">start</property> |
| 261 |
<property name="draw-indicator">True</property> |
| 262 |
</object> |
| 263 |
<packing> |
| 264 |
<property name="left-attach">1</property> |
| 265 |
<property name="top-attach">6</property> |
| 266 |
</packing> |
| 267 |
</child> |
| 268 |
<child> |
| 269 |
<object class="GtkCheckButton" id="enableSixel"> |
| 270 |
<property name="label" translatable="yes">Enable sixel</property> |
| 271 |
<property name="visible">True</property> |
| 272 |
<property name="can-focus">True</property> |
| 273 |
<property name="receives-default">False</property> |
| 274 |
<property name="tooltip-text" translatable="yes">Enable sixel to draw graphics</property> |
| 275 |
<property name="halign">start</property> |
| 276 |
<property name="draw-indicator">True</property> |
| 277 |
</object> |
| 278 |
<packing> |
| 279 |
<property name="left-attach">1</property> |
| 280 |
<property name="top-attach">10</property> |
| 281 |
</packing> |
| 282 |
</child> |
| 283 |
<child> |
| 284 |
<object class="GtkCheckButton" id="allowBold"> |
| 285 |
<property name="label" translatable="yes">Allow bold</property> |
| 286 |
<property name="visible">True</property> |
| 287 |
<property name="can-focus">True</property> |
| 288 |
<property name="receives-default">True</property> |
| 289 |
<property name="tooltip-text" translatable="yes">Allow terminal to use bold text.</property> |
| 290 |
<property name="halign">start</property> |
| 291 |
<property name="draw-indicator">True</property> |
| 292 |
</object> |
| 293 |
<packing> |
| 294 |
<property name="left-attach">1</property> |
| 295 |
<property name="top-attach">11</property> |
| 296 |
</packing> |
| 297 |
</child> |
| 298 |
<child> |
| 299 |
<placeholder/> |
| 300 |
</child> |
| 301 |
<child> |
| 302 |
<placeholder/> |
| 303 |
</child> |
| 304 |
<child> |
| 305 |
<placeholder/> |
| 306 |
</child> |
| 307 |
</object> |
| 308 |
<packing> |
| 309 |
<property name="expand">True</property> |
| 310 |
<property name="fill">True</property> |
| 311 |
<property name="padding">3</property> |
| 312 |
<property name="position">1</property> |
| 313 |
</packing> |
| 314 |
</child> |
| 315 |
</object> |
| 316 |
</child> |
| 317 |
<action-widgets> |
| 318 |
<action-widget response="-3">ok</action-widget> |
| 319 |
</action-widgets> |
| 320 |
</object> |
| 321 |
</interface> |