Using GtkComboBoxText for "rgba" and "hintstyle" options
Andrew P.
9 years ago
139 | 139 | </row> |
140 | 140 | </data> |
141 | 141 | </object> |
142 | <object class="GtkListStore" id="greeter_xft-rgba_model"> | |
143 | <columns> | |
144 | <!-- column-name value --> | |
145 | <column type="gchararray"/> | |
146 | <!-- column-name title --> | |
147 | <column type="gchararray"/> | |
148 | </columns> | |
149 | <data> | |
150 | <row> | |
151 | <col id="0">none</col> | |
152 | <col id="1" translatable="yes" context="option|greeter|xft-rgba">None</col> | |
153 | </row> | |
154 | <row> | |
155 | <col id="0">rgb</col> | |
156 | <col id="1" translatable="yes" context="option|greeter|xft-rgba">RGB</col> | |
157 | </row> | |
158 | <row> | |
159 | <col id="0">bgr</col> | |
160 | <col id="1" translatable="yes" context="option|greeter|xft-rgba">BGR</col> | |
161 | </row> | |
162 | <row> | |
163 | <col id="0">vrgb</col> | |
164 | <col id="1" translatable="yes" context="option|greeter|xft-rgba">Vertical RGB</col> | |
165 | </row> | |
166 | <row> | |
167 | <col id="0">vbgr</col> | |
168 | <col id="1" translatable="yes" context="option|greeter|xft-rgba">Vertical BGR</col> | |
169 | </row> | |
170 | </data> | |
171 | </object> | |
172 | 142 | <object class="GtkImage" id="icon_cancel"> |
173 | 143 | <property name="visible">True</property> |
174 | 144 | <property name="can_focus">False</property> |
313 | 283 | <packing> |
314 | 284 | <property name="left_attach">1</property> |
315 | 285 | <property name="top_attach">0</property> |
316 | </packing> | |
317 | </child> | |
318 | <child> | |
319 | <object class="GtkComboBoxText" id="greeter_xft-dpi_values"> | |
320 | <property name="visible">True</property> | |
321 | <property name="can_focus">False</property> | |
322 | <property name="has_entry">True</property> | |
323 | <items> | |
324 | <item>72</item> | |
325 | <item>96</item> | |
326 | <item>150</item> | |
327 | <item>300</item> | |
328 | </items> | |
329 | <child internal-child="entry"> | |
330 | <object class="GtkEntry" id="greeter_xft-dpi_value"> | |
331 | <property name="can_focus">True</property> | |
332 | <property name="xalign">1</property> | |
333 | </object> | |
334 | </child> | |
335 | </object> | |
336 | <packing> | |
337 | <property name="left_attach">1</property> | |
338 | <property name="top_attach">1</property> | |
339 | </packing> | |
340 | </child> | |
341 | <child> | |
342 | <object class="GtkComboBox" id="greeter_xft-rgba_value"> | |
343 | <property name="visible">True</property> | |
344 | <property name="can_focus">False</property> | |
345 | <property name="model">greeter_xft-rgba_model</property> | |
346 | <property name="active">0</property> | |
347 | <property name="id_column">0</property> | |
348 | <child> | |
349 | <object class="GtkCellRendererText" id="cellrenderertext1"/> | |
350 | <attributes> | |
351 | <attribute name="text">1</attribute> | |
352 | </attributes> | |
353 | </child> | |
354 | </object> | |
355 | <packing> | |
356 | <property name="left_attach">1</property> | |
357 | <property name="top_attach">2</property> | |
358 | 286 | </packing> |
359 | 287 | </child> |
360 | 288 | <child> |
430 | 358 | </packing> |
431 | 359 | </child> |
432 | 360 | <child> |
433 | <object class="GtkComboBox" id="greeter_xft-hintstyle_value"> | |
361 | <object class="GtkBox" id="box8"> | |
434 | 362 | <property name="visible">True</property> |
435 | 363 | <property name="can_focus">False</property> |
436 | <property name="model">greeter_xft-hintstyle_model</property> | |
437 | <property name="active">0</property> | |
438 | <property name="id_column">0</property> | |
364 | <property name="halign">start</property> | |
365 | <property name="orientation">vertical</property> | |
366 | <property name="spacing">8</property> | |
439 | 367 | <child> |
440 | <object class="GtkCellRendererText" id="cellrenderertext2"/> | |
441 | <attributes> | |
442 | <attribute name="text">1</attribute> | |
443 | </attributes> | |
368 | <object class="GtkComboBoxText" id="greeter_xft-rgba_value"> | |
369 | <property name="visible">True</property> | |
370 | <property name="can_focus">False</property> | |
371 | <property name="active">0</property> | |
372 | <items> | |
373 | <item id="none" translatable="yes" context="option|greeter|xft-rgba">None</item> | |
374 | <item id="rgb" translatable="yes" context="option|greeter|xft-rgba">RGB</item> | |
375 | <item id="bgr" translatable="yes" context="option|greeter|xft-rgba">BGR</item> | |
376 | <item id="vrgb" translatable="yes" context="option|greeter|xft-rgba">Vertical RGB</item> | |
377 | <item id="vbgr" translatable="yes" context="option|greeter|xft-rgba">Vertical BGR</item> | |
378 | </items> | |
379 | </object> | |
380 | <packing> | |
381 | <property name="expand">False</property> | |
382 | <property name="fill">True</property> | |
383 | <property name="position">0</property> | |
384 | </packing> | |
385 | </child> | |
386 | <child> | |
387 | <object class="GtkComboBoxText" id="greeter_xft-hintstyle_value"> | |
388 | <property name="visible">True</property> | |
389 | <property name="can_focus">False</property> | |
390 | <property name="active">0</property> | |
391 | <items> | |
392 | <item id="hintnone" translatable="yes" context="option|greeter|xft-hintstyle">None</item> | |
393 | <item id="hintslight" translatable="yes" context="option|greeter|xft-hintstyle">Slight</item> | |
394 | <item id="hintmedium" translatable="yes" context="option|greeter|xft-hintstyle">Medium</item> | |
395 | <item id="hintfull" translatable="yes" context="option|greeter|xft-hintstyle">Full</item> | |
396 | </items> | |
397 | </object> | |
398 | <packing> | |
399 | <property name="expand">False</property> | |
400 | <property name="fill">True</property> | |
401 | <property name="position">1</property> | |
402 | </packing> | |
444 | 403 | </child> |
445 | 404 | </object> |
446 | 405 | <packing> |
447 | 406 | <property name="left_attach">1</property> |
448 | <property name="top_attach">3</property> | |
407 | <property name="top_attach">2</property> | |
408 | <property name="height">2</property> | |
409 | </packing> | |
410 | </child> | |
411 | <child> | |
412 | <object class="GtkComboBoxText" id="greeter_xft-dpi_values"> | |
413 | <property name="visible">True</property> | |
414 | <property name="can_focus">False</property> | |
415 | <property name="has_entry">True</property> | |
416 | <items> | |
417 | <item>72</item> | |
418 | <item>96</item> | |
419 | <item>150</item> | |
420 | <item>300</item> | |
421 | </items> | |
422 | <child internal-child="entry"> | |
423 | <object class="GtkEntry" id="greeter_xft-dpi_value"> | |
424 | <property name="can_focus">True</property> | |
425 | <property name="xalign">1</property> | |
426 | </object> | |
427 | </child> | |
428 | </object> | |
429 | <packing> | |
430 | <property name="left_attach">1</property> | |
431 | <property name="top_attach">1</property> | |
449 | 432 | </packing> |
450 | 433 | </child> |
451 | 434 | </object> |