2018-01-09 16:07:45 +01:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<interface>
|
|
|
|
<!-- interface-requires gtk+ 3.8 -->
|
2018-11-07 16:36:24 +13:00
|
|
|
<template class="CcAvatarChooser" parent="GtkPopover">
|
2018-01-10 13:40:36 +01:00
|
|
|
<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>
|
2018-11-07 16:36:24 +13:00
|
|
|
<signal name="clicked" handler="cc_avatar_chooser_select_file" swapped="yes"/>
|
2018-01-10 13:40:36 +01:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="pack-type">GTK_PACK_END</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
2018-01-09 16:07:45 +01:00
|
|
|
</template>
|
|
|
|
</interface>
|