gtk2/gtk/ui/gtkmessagedialog.ui
Matthias Clasen 92662828ba messagedialog: Respect the gtk-keynav-use-caret setting
We used to always make the labels in message dialogs selectable,
which is a bit problematic wrt. to keynav - the label can
unexpectedly 'turn blue', which irritates some people.

With the new gtk-keynav-use-caret setting, we can now only
make the labels selectable when it is required for accessibilty
reasons.
2016-03-04 22:44:30 -05:00

71 lines
2.8 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<interface domain="gtk30">
<!-- interface-requires gtk+ 3.10 -->
<template class="GtkMessageDialog" parent="GtkDialog">
<property name="title"></property>
<property name="resizable">0</property>
<property name="type_hint">dialog</property>
<property name="skip_taskbar_hint">1</property>
<child internal-child="headerbar">
<object class="GtkHeaderBar" id="headerbar1">
<property name="visible">1</property>
</object>
</child>
<child internal-child="vbox">
<object class="GtkBox" id="dialog-vbox1">
<property name="orientation">vertical</property>
<property name="border_width">0</property>
<property name="spacing">20</property>
<child>
<object class="GtkBox" id="box">
<property name="visible">1</property>
<property name="margin_start">30</property>
<property name="margin_end">30</property>
<property name="spacing">30</property>
<child>
<object class="GtkBox" id="message_area">
<property name="visible">1</property>
<property name="orientation">vertical</property>
<property name="spacing">10</property>
<child>
<object class="GtkLabel" id="label">
<property name="visible">1</property>
<property name="halign">center</property>
<property name="valign">start</property>
<property name="wrap">1</property>
<property name="max-width-chars">60</property>
</object>
<packing>
<property name="fill">0</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="secondary_label">
<property name="no_show_all">1</property>
<property name="margin-bottom">2</property>
<property name="halign">center</property>
<property name="valign">start</property>
<property name="wrap">1</property>
<property name="max-width-chars">60</property>
</object>
<packing>
<property name="expand">1</property>
<property name="position">1</property>
</packing>
</child>
</object>
<packing>
<property name="expand">1</property>
<property name="position">1</property>
</packing>
</child>
</object>
<packing>
<property name="fill">0</property>
</packing>
</child>
</object>
</child>
</template>
</interface>