gnome-control-center/panels/user-accounts/cc-avatar-chooser.ui

47 lines
1.8 KiB
Text
Raw Normal View History

<?xml version="1.0"?>
<interface>
<!-- interface-requires gtk+ 3.8 -->
<template class="CcAvatarChooser" parent="GtkPopover">
<property name="height-request">360</property>
<property name="width-request">480</property>
<child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="orientation">GTK_ORIENTATION_VERTICAL</property>
<child>
<object class="GtkFlowBox" id="flowbox">
<property name="visible">True</property>
<property name="border-width">20</property>
<property name="selection-mode">none</property>
</object>
</child>
<child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="halign">GTK_ALIGN_CENTER</property>
<property name="border-width">10</property>
<property name="spacing">10</property>
<child>
<object class="GtkButton" id="take_picture_button">
<property name="visible">True</property>
<property name="label" translatable="yes">Take a Picture…</property>
<signal name="clicked" handler="webcam_icon_selected" swapped="yes"/>
</object>
</child>
<child>
<object class="GtkButton">
<property name="visible">True</property>
<property name="label" translatable="yes">Select a File…</property>
<signal name="clicked" handler="cc_avatar_chooser_select_file" swapped="yes"/>
</object>
</child>
</object>
<packing>
<property name="pack-type">GTK_PACK_END</property>
</packing>
</child>
</object>
</child>
</template>
</interface>