mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2024-09-29 15:25:24 +00:00
50847dfe43
Glade misleads us into thinking we need these, but the property is somewhat confusing in GTK3. In general we don't want `can-focus` to be true for containers, as that will break keynav for the children. For non-containers, the defaults are appropriate. Instead of manually setting `can-focus`, we should just use the default values. GTK has sane defaults. Fixes https://gitlab.gnome.org/GNOME/calls/-/issues/366
45 lines
1.6 KiB
XML
45 lines
1.6 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface>
|
|
<requires lib="gtk+" version="3.20"/>
|
|
<template class="CallsInAppNotification" parent="GtkRevealer">
|
|
<property name="reveal-child">False</property>
|
|
<property name="transition-type">slide-down</property>
|
|
<property name="valign">start</property>
|
|
<property name="halign">center</property>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="visible">True</property>
|
|
<child>
|
|
<object class="GtkButton">
|
|
<property name="visible">True</property>
|
|
<property name="receives_default">True</property>
|
|
<signal name="clicked" handler="calls_in_app_notification_hide" swapped="yes"/>
|
|
<child>
|
|
<object class="GtkImage">
|
|
<property name="visible">True</property>
|
|
<property name="icon_name">window-close-symbolic</property>
|
|
</object>
|
|
</child>
|
|
<style>
|
|
<class name="flat"/>
|
|
</style>
|
|
</object>
|
|
<packing>
|
|
<property name="pack_type">end</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="label">
|
|
<property name="visible">True</property>
|
|
<property name="wrap">True</property>
|
|
<property name="margin-left">24</property>
|
|
<property name="margin-right">24</property>
|
|
</object>
|
|
</child>
|
|
<style>
|
|
<class name="app-notification"/>
|
|
</style>
|
|
</object>
|
|
</child>
|
|
</template>
|
|
</interface>
|