1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-11-18 01:25:35 +00:00
Purism-Calls/src/ui/history-header-bar.ui
2018-10-01 08:41:55 +02:00

80 lines
2.9 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<interface>
<requires lib="gtk+" version="3.22"/>
<requires lib="libhandy" version="0.0"/>
<template class="CallsHistoryHeaderBar" parent="GtkHeaderBar">
<property name="can_focus">False</property>
<property name="show-close-button">True</property>
<property name="title" translatable="yes">Recent Calls</property>
<property name="visible">True</property>
<child>
<object class="GtkButton" id="new_call">
<property name="action-name">win.new-call</property>
<property name="use-underline">True</property>
<property name="valign">center</property>
<property name="visible">True</property>
<style>
<class name="image-button"/>
</style>
<child internal-child="accessible">
<object class="AtkObject" id="a11y_new_call">
<property name="accessible-name" translatable="yes">New call…</property>
</object>
</child>
<child>
<object class="GtkImage" id="new_call_image">
<property name="visible">True</property>
<property name="icon-name">list-add-symbolic</property>
<property name="icon-size">1</property>
</object>
</child>
</object>
<packing>
<property name="pack-type">start</property>
</packing>
</child>
<child>
<object class="GtkMenuButton" id="menu">
<property name="popover">menu_popover</property>
<!-- Translators: tooltip for the application menu button -->
<property name="tooltip_text" translatable="yes">Menu</property>
<property name="use-underline">True</property>
<property name="valign">center</property>
<property name="visible">True</property>
<style>
<class name="image-button"/>
</style>
<child>
<object class="GtkImage" id="menu_image">
<property name="visible">True</property>
<property name="icon-name">open-menu-symbolic</property>
<property name="icon-size">1</property>
</object>
</child>
</object>
<packing>
<property name="pack-type">end</property>
</packing>
</child>
</template>
<object class="GtkPopoverMenu" id="menu_popover">
<property name="visible">True</property>
<child>
<object class="GtkBox">
<property name="can_focus">False</property>
<property name="border_width">12</property>
<property name="orientation">vertical</property>
<property name="visible">True</property>
<child>
<object class="GtkModelButton">
<property name="can_focus">True</property>
<property name="text" translatable="yes">About</property>
<property name="action-name">win.about</property>
<property name="visible">True</property>
</object>
</child>
</object>
</child>
</object>
</interface>