ui: gtk4-builder-tool simplify --3to4 --replace *.ui
plus some manual tweaks to restore True/False instead of 1/0 Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/714>
This commit is contained in:
@@ -1,21 +1,17 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<interface>
|
<interface>
|
||||||
<requires lib="gtk+" version="3.24"/>
|
<requires lib="gtk" version="4.0"/>
|
||||||
<requires lib="libadwaita" version="1.0"/>
|
<requires lib="libadwaita" version="1.0"/>
|
||||||
<template class="CallsSipAccountWidget" parent="GtkWidget">
|
<template class="CallsSipAccountWidget" parent="GtkWidget">
|
||||||
<property name="visible">True</property>
|
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkBox">
|
<object class="GtkBox">
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="orientation">vertical</property>
|
<property name="orientation">vertical</property>
|
||||||
|
|
||||||
<child>
|
<child>
|
||||||
<object class="AdwHeaderBar" id="header_add">
|
<object class="AdwHeaderBar" id="header_add">
|
||||||
<property name="title" translatable="yes">Add Account</property>
|
<property name="title" translatable="yes">Add Account</property>
|
||||||
<property name="show-close-button">True</property>
|
<property name="show-close-button">True</property>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkButton" id="login_btn">
|
<object class="GtkButton" id="login_btn">
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="use-underline">True</property>
|
<property name="use-underline">True</property>
|
||||||
<property name="label" translatable="yes">_Log In</property>
|
<property name="label" translatable="yes">_Log In</property>
|
||||||
<signal name="clicked" handler="on_login_clicked" swapped="yes"/>
|
<signal name="clicked" handler="on_login_clicked" swapped="yes"/>
|
||||||
@@ -28,16 +24,13 @@
|
|||||||
</packing>
|
</packing>
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkSpinner" id="spinner_add">
|
<object class="GtkSpinner" id="spinner_add"/>
|
||||||
<property name="visible">True</property>
|
|
||||||
</object>
|
|
||||||
<packing>
|
<packing>
|
||||||
<property name="pack_type">end</property>
|
<property name="pack_type">end</property>
|
||||||
</packing>
|
</packing>
|
||||||
</child>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
|
|
||||||
<child>
|
<child>
|
||||||
<object class="AdwHeaderBar" id="header_edit">
|
<object class="AdwHeaderBar" id="header_edit">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
@@ -45,7 +38,6 @@
|
|||||||
<property name="title" translatable="yes">Manage Account</property>
|
<property name="title" translatable="yes">Manage Account</property>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkButton" id="apply_btn">
|
<object class="GtkButton" id="apply_btn">
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="use-underline">True</property>
|
<property name="use-underline">True</property>
|
||||||
<property name="label" translatable="yes">_Apply</property>
|
<property name="label" translatable="yes">_Apply</property>
|
||||||
<signal name="clicked" handler="on_apply_clicked" swapped="yes"/>
|
<signal name="clicked" handler="on_apply_clicked" swapped="yes"/>
|
||||||
@@ -59,7 +51,6 @@
|
|||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkButton" id="delete_btn">
|
<object class="GtkButton" id="delete_btn">
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="use-underline">True</property>
|
<property name="use-underline">True</property>
|
||||||
<property name="label" translatable="yes">_Delete</property>
|
<property name="label" translatable="yes">_Delete</property>
|
||||||
<signal name="clicked" handler="on_delete_clicked" swapped="yes"/>
|
<signal name="clicked" handler="on_delete_clicked" swapped="yes"/>
|
||||||
@@ -72,16 +63,13 @@
|
|||||||
</packing>
|
</packing>
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkSpinner" id="spinner_edit">
|
<object class="GtkSpinner" id="spinner_edit"/>
|
||||||
<property name="visible">True</property>
|
|
||||||
</object>
|
|
||||||
<packing>
|
<packing>
|
||||||
<property name="pack_type">end</property>
|
<property name="pack_type">end</property>
|
||||||
</packing>
|
</packing>
|
||||||
</child>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
|
|
||||||
<child>
|
<child>
|
||||||
<object class="AdwPreferencesPage">
|
<object class="AdwPreferencesPage">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
@@ -94,7 +82,6 @@
|
|||||||
<property name="title" translatable="yes">Server</property>
|
<property name="title" translatable="yes">Server</property>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkEntry" id="host">
|
<object class="GtkEntry" id="host">
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="valign">center</property>
|
<property name="valign">center</property>
|
||||||
<signal name="changed" handler="on_user_changed" swapped="yes"/>
|
<signal name="changed" handler="on_user_changed" swapped="yes"/>
|
||||||
</object>
|
</object>
|
||||||
@@ -113,7 +100,6 @@
|
|||||||
<property name="subtitle" translatable="yes">Optional</property>
|
<property name="subtitle" translatable="yes">Optional</property>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkEntry" id="display_name">
|
<object class="GtkEntry" id="display_name">
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="valign">center</property>
|
<property name="valign">center</property>
|
||||||
<signal name="changed" handler="on_user_changed" swapped="yes"/>
|
<signal name="changed" handler="on_user_changed" swapped="yes"/>
|
||||||
</object>
|
</object>
|
||||||
@@ -131,7 +117,6 @@
|
|||||||
<property name="title" translatable="yes">User ID</property>
|
<property name="title" translatable="yes">User ID</property>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkEntry" id="user">
|
<object class="GtkEntry" id="user">
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="valign">center</property>
|
<property name="valign">center</property>
|
||||||
<signal name="changed" handler="on_user_changed" swapped="yes"/>
|
<signal name="changed" handler="on_user_changed" swapped="yes"/>
|
||||||
</object>
|
</object>
|
||||||
@@ -144,14 +129,11 @@
|
|||||||
<property name="title" translatable="yes">Password</property>
|
<property name="title" translatable="yes">Password</property>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkEntry" id="password">
|
<object class="GtkEntry" id="password">
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="valign">center</property>
|
<property name="valign">center</property>
|
||||||
<property name="input-purpose">password</property>
|
<property name="input-purpose">password</property>
|
||||||
<property name="visibility">False</property>
|
<property name="visibility">False</property>
|
||||||
<property name="primary_icon_sensitive">False</property>
|
<property name="primary_icon_sensitive">False</property>
|
||||||
<property name="secondary_icon_activatable">True</property>
|
|
||||||
<property name="secondary_icon_name">view-reveal-symbolic</property>
|
<property name="secondary_icon_name">view-reveal-symbolic</property>
|
||||||
<property name="secondary_icon_sensitive">True</property>
|
|
||||||
<signal name="changed" handler="on_user_changed" swapped="yes"/>
|
<signal name="changed" handler="on_user_changed" swapped="yes"/>
|
||||||
<signal name="icon-press" handler="on_password_visibility_changed" swapped="yes"/>
|
<signal name="icon-press" handler="on_password_visibility_changed" swapped="yes"/>
|
||||||
</object>
|
</object>
|
||||||
@@ -169,7 +151,6 @@
|
|||||||
<property name="title" translatable="yes">Port</property>
|
<property name="title" translatable="yes">Port</property>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkEntry" id="port">
|
<object class="GtkEntry" id="port">
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="valign">center</property>
|
<property name="valign">center</property>
|
||||||
<property name="input-purpose">digits</property>
|
<property name="input-purpose">digits</property>
|
||||||
<signal name="changed" handler="on_user_changed" swapped="yes"/>
|
<signal name="changed" handler="on_user_changed" swapped="yes"/>
|
||||||
@@ -204,7 +185,6 @@
|
|||||||
<property name="title" translatable="yes">Use for Phone Calls</property>
|
<property name="title" translatable="yes">Use for Phone Calls</property>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkSwitch" id="tel_switch">
|
<object class="GtkSwitch" id="tel_switch">
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="valign">center</property>
|
<property name="valign">center</property>
|
||||||
<signal name="notify::active" handler="on_user_changed" swapped="yes"/>
|
<signal name="notify::active" handler="on_user_changed" swapped="yes"/>
|
||||||
</object>
|
</object>
|
||||||
@@ -217,7 +197,6 @@
|
|||||||
<property name="title" translatable="yes">Automatically Connect</property>
|
<property name="title" translatable="yes">Automatically Connect</property>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkSwitch" id="auto_connect_switch">
|
<object class="GtkSwitch" id="auto_connect_switch">
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="valign">center</property>
|
<property name="valign">center</property>
|
||||||
<signal name="notify::active" handler="on_user_changed" swapped="yes"/>
|
<signal name="notify::active" handler="on_user_changed" swapped="yes"/>
|
||||||
</object>
|
</object>
|
||||||
@@ -241,4 +220,3 @@
|
|||||||
</child>
|
</child>
|
||||||
</template>
|
</template>
|
||||||
</interface>
|
</interface>
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<interface>
|
<interface>
|
||||||
<requires lib="gtk+" version="3.24"/>
|
<requires lib="gtk" version="4.0"/>
|
||||||
<requires lib="libadwaita" version="1.0"/>
|
<requires lib="libadwaita" version="1.0"/>
|
||||||
<template class="CallsAccountOverview" parent="AdwWindow">
|
<template class="CallsAccountOverview" parent="AdwWindow">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
@@ -9,7 +9,6 @@
|
|||||||
<signal name="delete-event" handler="gtk_widget_hide_on_delete"/>
|
<signal name="delete-event" handler="gtk_widget_hide_on_delete"/>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkBox">
|
<object class="GtkBox">
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="orientation">vertical</property>
|
<property name="orientation">vertical</property>
|
||||||
<child>
|
<child>
|
||||||
<object class="AdwHeaderBar">
|
<object class="AdwHeaderBar">
|
||||||
@@ -17,36 +16,29 @@
|
|||||||
<property name="show-close-button">True</property>
|
<property name="show-close-button">True</property>
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkSpinner" id="spinner">
|
<object class="GtkSpinner" id="spinner"/>
|
||||||
<property name="visible">True</property>
|
|
||||||
</object>
|
|
||||||
<packing>
|
<packing>
|
||||||
<property name="pack_type">end</property>
|
<property name="pack_type">end</property>
|
||||||
</packing>
|
</packing>
|
||||||
</child>
|
</child>
|
||||||
|
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
|
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkOverlay">
|
<object class="GtkOverlay">
|
||||||
<property name="visible">True</property>
|
|
||||||
<child type="overlay">
|
<child type="overlay">
|
||||||
<object class="CallsInAppNotification" id="in_app_notification">
|
<object class="CallsInAppNotification" id="in_app_notification">
|
||||||
|
<property name="can-target">False</property>
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
</object>
|
</object>
|
||||||
<packing>
|
|
||||||
<property name="pass-through">True</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<property name="child">
|
||||||
<object class="GtkStack" id="stack">
|
<object class="GtkStack" id="stack">
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="vexpand">True</property>
|
<property name="vexpand">True</property>
|
||||||
<property name="transition-type">crossfade</property>
|
<property name="transition-type">crossfade</property>
|
||||||
|
|
||||||
<!-- First child type: No accounts present: Show a blurb and a Add button -->
|
|
||||||
<child>
|
<child>
|
||||||
|
<object class="GtkStackPage">
|
||||||
|
<property name="name">intro-page</property>
|
||||||
|
<property name="child">
|
||||||
<object class="AdwStatusPage" id="intro">
|
<object class="AdwStatusPage" id="intro">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="title" translatable="yes">Add VoIP Accounts</property>
|
<property name="title" translatable="yes">Add VoIP Accounts</property>
|
||||||
@@ -54,8 +46,10 @@
|
|||||||
<property name="description" translatable="yes">You can add VoIP account here. It will allow you to place and receive VoIP calls using the SIP protocol. This feature is still relatively new and not yet feature complete (i.e. no encrypted media).</property>
|
<property name="description" translatable="yes">You can add VoIP account here. It will allow you to place and receive VoIP calls using the SIP protocol. This feature is still relatively new and not yet feature complete (i.e. no encrypted media).</property>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkButton" id="add_btn">
|
<object class="GtkButton" id="add_btn">
|
||||||
<property name="visible">True</property>
|
<property name="margin-start">6</property>
|
||||||
<property name="margin">6</property>
|
<property name="margin-end">6</property>
|
||||||
|
<property name="margin-top">6</property>
|
||||||
|
<property name="margin-bottom">6</property>
|
||||||
<property name="halign">center</property>
|
<property name="halign">center</property>
|
||||||
<property name="use-underline">True</property>
|
<property name="use-underline">True</property>
|
||||||
<property name="label" translatable="yes">_Add Account</property>
|
<property name="label" translatable="yes">_Add Account</property>
|
||||||
@@ -66,60 +60,49 @@
|
|||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
<packing>
|
</property>
|
||||||
<property name="name">intro-page</property>
|
</object>
|
||||||
</packing>
|
|
||||||
</child>
|
</child>
|
||||||
|
|
||||||
<!-- Second child type: Some accounts present: Show a Listbox to manage accounts -->
|
|
||||||
<child>
|
<child>
|
||||||
|
<object class="GtkStackPage">
|
||||||
|
<property name="name">overview-page</property>
|
||||||
|
<property name="child">
|
||||||
<object class="GtkListBox" id="overview">
|
<object class="GtkListBox" id="overview">
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="selection-mode">none</property>
|
<property name="selection-mode">none</property>
|
||||||
<property name="margin-top">18</property>
|
<property name="margin-top">18</property>
|
||||||
<property name="margin-bottom">18</property>
|
<property name="margin-bottom">18</property>
|
||||||
<property name="margin-start">12</property>
|
<property name="margin-start">12</property>
|
||||||
<property name="margin-end">12</property>
|
<property name="margin-end">12</property>
|
||||||
<signal name="row-activated" handler="on_account_row_activated" swapped="no"/>
|
<signal name="row-activated" handler="on_account_row_activated" swapped="no"/>
|
||||||
<!-- placeholder -->
|
|
||||||
<child type="placeholder"/>
|
<child type="placeholder"/>
|
||||||
<style>
|
<style>
|
||||||
<class name="content"/>
|
<class name="content"/>
|
||||||
</style>
|
</style>
|
||||||
</object>
|
</object>
|
||||||
<packing>
|
</property>
|
||||||
<property name="name">overview-page</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
|
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
|
</object>
|
||||||
|
</property>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<object class="GtkListBoxRow" id="add_row">
|
<object class="GtkListBoxRow" id="add_row">
|
||||||
<property name="visible">True</property>
|
<property name="child">
|
||||||
<child>
|
|
||||||
<object class="GtkLabel">
|
<object class="GtkLabel">
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="label" translatable="yes">_Add Account</property>
|
<property name="label" translatable="yes">_Add Account</property>
|
||||||
<property name="use-underline">True</property>
|
<property name="use-underline">True</property>
|
||||||
<property name="margin-top">9</property>
|
<property name="margin-top">9</property>
|
||||||
<property name="margin-bottom">9</property>
|
<property name="margin-bottom">9</property>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</property>
|
||||||
</object>
|
</object>
|
||||||
|
|
||||||
|
|
||||||
<object class="AdwWindow" id="account_window">
|
<object class="AdwWindow" id="account_window">
|
||||||
<property name="visible">False</property>
|
<property name="visible">False</property>
|
||||||
<property name="default-width">380</property>
|
<property name="default-width">380</property>
|
||||||
<property name="default-height">660</property>
|
<property name="default-height">660</property>
|
||||||
<signal name="delete-event" handler="gtk_widget_hide_on_delete"/>
|
<signal name="delete-event" handler="gtk_widget_hide_on_delete"/>
|
||||||
</object>
|
</object>
|
||||||
|
</interface>
|
||||||
</interface>
|
|
||||||
|
|||||||
@@ -1,13 +1,12 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<interface>
|
<interface>
|
||||||
<requires lib="gtk+" version="3.20"/>
|
<requires lib="gtk" version="4.0"/>
|
||||||
<requires lib="libadwaita" version="1.0"/>
|
<requires lib="libadwaita" version="1.0"/>
|
||||||
<template class="CallsAccountRow" parent="AdwActionRow">
|
<template class="CallsAccountRow" parent="AdwActionRow">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="title">Title</property>
|
<property name="title">Title</property>
|
||||||
<property name="subtitle">Subtitle</property>
|
<property name="subtitle">Subtitle</property>
|
||||||
<property name="activatable">True</property>
|
<property name="activatable">True</property>
|
||||||
|
|
||||||
<child type="prefix">
|
<child type="prefix">
|
||||||
<object class="AdwAvatar" id="avatar">
|
<object class="AdwAvatar" id="avatar">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
@@ -15,19 +14,14 @@
|
|||||||
<property name="size">48</property>
|
<property name="size">48</property>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
|
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkSwitch" id="online_switch">
|
<object class="GtkSwitch" id="online_switch">
|
||||||
<property name="valign">center</property>
|
<property name="valign">center</property>
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="active">False</property>
|
|
||||||
<signal name="state-set" handler="on_online_switched" swapped="no"/>
|
<signal name="state-set" handler="on_online_switched" swapped="no"/>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
|
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkImage">
|
<object class="GtkImage">
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="icon_name">go-next-symbolic</property>
|
<property name="icon_name">go-next-symbolic</property>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
|
|||||||
@@ -1,55 +1,39 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!-- Generated with glade 3.22.1 -->
|
|
||||||
<interface>
|
<interface>
|
||||||
<requires lib="gtk+" version="3.20"/>
|
<requires lib="gtk" version="4.0"/>
|
||||||
<template class="CallsCallRecordRow" parent="GtkListBoxRow">
|
<template class="CallsCallRecordRow" parent="GtkListBoxRow">
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="activatable">False</property>
|
<property name="activatable">False</property>
|
||||||
<property name="selectable">False</property>
|
<property name="selectable">False</property>
|
||||||
<child>
|
<property name="child">
|
||||||
<object class="GtkBox" id="event_box">
|
<object class="GtkBox" id="event_box">
|
||||||
<property name="visible">True</property>
|
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkBox">
|
<object class="GtkBox">
|
||||||
<property name="visible">True</property>
|
|
||||||
<child>
|
<child>
|
||||||
<object class="AdwAvatar" id="avatar">
|
<object class="AdwAvatar" id="avatar">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="margin_left">8</property>
|
<property name="margin-start">8</property>
|
||||||
<property name="margin_top">8</property>
|
<property name="margin_top">8</property>
|
||||||
<property name="margin_bottom">8</property>
|
<property name="margin_bottom">8</property>
|
||||||
<property name="size">48</property>
|
<property name="size">48</property>
|
||||||
<property name="text" bind-source="target" bind-property="label" bind-flags="sync-create"></property>
|
<property name="text" bind-source="target" bind-property="label" bind-flags="sync-create"/>
|
||||||
<property name="show-initials">True</property>
|
<property name="show-initials">True</property>
|
||||||
</object>
|
</object>
|
||||||
<packing>
|
|
||||||
<property name="position">0</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkImage" id="type">
|
<object class="GtkImage" id="type">
|
||||||
<property name="visible">True</property>
|
<property name="margin-start">8</property>
|
||||||
<property name="margin_left">8</property>
|
|
||||||
</object>
|
</object>
|
||||||
<packing>
|
|
||||||
<property name="position">1</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkLabel" id="target">
|
<object class="GtkLabel" id="target">
|
||||||
<property name="visible">True</property>
|
<property name="margin-start">10</property>
|
||||||
<property name="margin_left">10</property>
|
|
||||||
<property name="ellipsize">middle</property>
|
<property name="ellipsize">middle</property>
|
||||||
</object>
|
</object>
|
||||||
<packing>
|
|
||||||
<property name="position">2</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkButton" id="button">
|
<object class="GtkButton" id="button">
|
||||||
<property name="visible">True</property>
|
<property name="margin-start">12</property>
|
||||||
<property name="margin_left">12</property>
|
<property name="margin-end">8</property>
|
||||||
<property name="margin_right">8</property>
|
|
||||||
<property name="margin_top">8</property>
|
<property name="margin_top">8</property>
|
||||||
<property name="margin_bottom">8</property>
|
<property name="margin_bottom">8</property>
|
||||||
<property name="halign">center</property>
|
<property name="halign">center</property>
|
||||||
@@ -64,37 +48,27 @@
|
|||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkImage">
|
<object class="GtkImage">
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="icon-name">call-start-symbolic</property>
|
<property name="icon-name">call-start-symbolic</property>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
<packing>
|
|
||||||
<property name="pack_type">end</property>
|
|
||||||
<property name="position">3</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkLabel" id="time">
|
<object class="GtkLabel" id="time">
|
||||||
<property name="visible">True</property>
|
<property name="margin-start">8</property>
|
||||||
<property name="margin_left">8</property>
|
|
||||||
<property name="justify">right</property>
|
<property name="justify">right</property>
|
||||||
<style>
|
<style>
|
||||||
<class name="dim-label"/>
|
<class name="dim-label"/>
|
||||||
</style>
|
</style>
|
||||||
<attributes>
|
<attributes>
|
||||||
<attribute name="scale" value="0.7"/>
|
<attribute name="scale" value="0.7"></attribute>
|
||||||
</attributes>
|
</attributes>
|
||||||
</object>
|
</object>
|
||||||
<packing>
|
|
||||||
<property name="pack_type">end</property>
|
|
||||||
<property name="position">4</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</property>
|
||||||
</template>
|
</template>
|
||||||
<menu id="context_menu">
|
<menu id="context_menu">
|
||||||
<section>
|
<section>
|
||||||
@@ -103,7 +77,6 @@
|
|||||||
<attribute name="action">delete-call</attribute>
|
<attribute name="action">delete-call</attribute>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<!-- Translators: This is a phone number -->
|
|
||||||
<attribute name="label" translatable="yes">_Copy number</attribute>
|
<attribute name="label" translatable="yes">_Copy number</attribute>
|
||||||
<attribute name="action">copy-number</attribute>
|
<attribute name="action">copy-number</attribute>
|
||||||
<attribute name="hidden-when">action-disabled</attribute>
|
<attribute name="hidden-when">action-disabled</attribute>
|
||||||
|
|||||||
@@ -1,61 +1,39 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!-- Generated with glade 3.22.0 -->
|
|
||||||
<interface>
|
<interface>
|
||||||
<requires lib="gtk+" version="3.20"/>
|
<requires lib="gtk" version="4.0"/>
|
||||||
<template class="CallsCallSelectorItem" parent="GtkBox">
|
<template class="CallsCallSelectorItem" parent="GtkBox">
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="visible_window">False</property>
|
<property name="visible_window">False</property>
|
||||||
<property name="above_child">True</property>
|
<property name="above_child">True</property>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkFrame">
|
<object class="GtkFrame">
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="label_xalign">0</property>
|
|
||||||
<property name="label_yalign">0</property>
|
<property name="label_yalign">0</property>
|
||||||
<property name="shadow_type">out</property>
|
<property name="shadow_type">out</property>
|
||||||
<child>
|
<property name="child">
|
||||||
<object class="GtkBox" id="main_box">
|
<object class="GtkBox" id="main_box">
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="orientation">vertical</property>
|
<property name="orientation">vertical</property>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkBox">
|
<object class="GtkBox">
|
||||||
<property name="visible">True</property>
|
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkLabel" id="name">
|
<object class="GtkLabel" id="name">
|
||||||
<property name="visible">True</property>
|
<property name="hexpand">True</property>
|
||||||
<property name="margin_left">3</property>
|
<property name="margin-start">3</property>
|
||||||
<property name="label">+441234567890</property>
|
<property name="label">+441234567890</property>
|
||||||
</object>
|
</object>
|
||||||
<packing>
|
|
||||||
<property name="expand">True</property>
|
|
||||||
<property name="fill">True</property>
|
|
||||||
<property name="position">0</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkLabel" id="status">
|
<object class="GtkLabel" id="status">
|
||||||
<property name="visible">True</property>
|
<property name="halign">center</property>
|
||||||
<property name="margin_right">3</property>
|
<property name="margin-end">3</property>
|
||||||
<property name="label" translatable="yes">On hold</property>
|
<property name="label" translatable="yes">On hold</property>
|
||||||
</object>
|
</object>
|
||||||
<packing>
|
|
||||||
<property name="expand">False</property>
|
|
||||||
<property name="fill">False</property>
|
|
||||||
<property name="position">1</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
<packing>
|
|
||||||
<property name="expand">False</property>
|
|
||||||
<property name="fill">True</property>
|
|
||||||
<property name="pack_type">end</property>
|
|
||||||
<property name="position">0</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<placeholder/>
|
<placeholder/>
|
||||||
</child>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</property>
|
||||||
<child type="label_item">
|
<child type="label_item">
|
||||||
<placeholder/>
|
<placeholder/>
|
||||||
</child>
|
</child>
|
||||||
|
|||||||
@@ -1,37 +1,30 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!-- Generated with glade 3.22.0 -->
|
|
||||||
<interface>
|
<interface>
|
||||||
<requires lib="gtk+" version="3.20"/>
|
<requires lib="gtk" version="4.0"/>
|
||||||
<template class="CallsCallWindow" parent="GtkApplicationWindow">
|
<template class="CallsCallWindow" parent="GtkApplicationWindow">
|
||||||
<!-- <property name="decorated">False</property> -->
|
|
||||||
<property name="hide_titlebar_when_maximized">True</property>
|
<property name="hide_titlebar_when_maximized">True</property>
|
||||||
<property name="show_menubar">False</property>
|
|
||||||
<property name="title" translatable="yes">Calls</property>
|
<property name="title" translatable="yes">Calls</property>
|
||||||
<signal name="delete-event" handler="gtk_widget_hide_on_delete"/>
|
<signal name="delete-event" handler="gtk_widget_hide_on_delete"/>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkOverlay">
|
<object class="GtkOverlay">
|
||||||
<property name="visible">True</property>
|
|
||||||
<child type="overlay">
|
<child type="overlay">
|
||||||
<object class="CallsInAppNotification" id="in_app_notification">
|
<object class="CallsInAppNotification" id="in_app_notification">
|
||||||
|
<property name="can-target">False</property>
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
</object>
|
</object>
|
||||||
<packing>
|
|
||||||
<property name="pass-through">True</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<property name="child">
|
||||||
<object class="GtkStack" id="main_stack">
|
<object class="GtkStack" id="main_stack">
|
||||||
<property name="visible">True</property>
|
|
||||||
<child>
|
<child>
|
||||||
|
<object class="GtkStackPage">
|
||||||
|
<property name="name">calls</property>
|
||||||
|
<property name="child">
|
||||||
<object class="GtkScrolledWindow">
|
<object class="GtkScrolledWindow">
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="hscrollbar_policy">never</property>
|
<property name="hscrollbar_policy">never</property>
|
||||||
<child>
|
<property name="child">
|
||||||
<object class="GtkViewport">
|
<object class="GtkViewport">
|
||||||
<property name="visible">True</property>
|
<property name="child">
|
||||||
<child>
|
|
||||||
<object class="GtkFlowBox" id="call_selector">
|
<object class="GtkFlowBox" id="call_selector">
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="orientation">vertical</property>
|
<property name="orientation">vertical</property>
|
||||||
<property name="homogeneous">True</property>
|
<property name="homogeneous">True</property>
|
||||||
<property name="column_spacing">12</property>
|
<property name="column_spacing">12</property>
|
||||||
@@ -39,60 +32,59 @@
|
|||||||
<property name="selection_mode">none</property>
|
<property name="selection_mode">none</property>
|
||||||
<signal name="child-activated" handler="call_selector_child_activated_cb" swapped="no"/>
|
<signal name="child-activated" handler="call_selector_child_activated_cb" swapped="no"/>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</property>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</property>
|
||||||
|
</object>
|
||||||
|
</property>
|
||||||
</object>
|
</object>
|
||||||
<packing>
|
|
||||||
<property name="name">calls</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkStack" id="call_stack">
|
<object class="GtkStackPage">
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="expand">True</property>
|
|
||||||
</object>
|
|
||||||
<packing>
|
|
||||||
<property name="name">active-call</property>
|
<property name="name">active-call</property>
|
||||||
</packing>
|
<property name="child">
|
||||||
</child>
|
<object class="GtkStack" id="call_stack">
|
||||||
|
<property name="hexpand">True</property>
|
||||||
|
<property name="vexpand">True</property>
|
||||||
|
</object>
|
||||||
|
</property>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
|
</property>
|
||||||
|
</object>
|
||||||
</child>
|
</child>
|
||||||
<child type="titlebar">
|
<child type="titlebar">
|
||||||
<object class="GtkStack" id="header_bar_stack">
|
<object class="GtkStack" id="header_bar_stack">
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="visible_child_name" bind-source="main_stack" bind-property="visible_child_name" bind-flags="bidirectional|sync-create"/>
|
<property name="visible_child_name" bind-source="main_stack" bind-property="visible_child_name" bind-flags="bidirectional|sync-create"/>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkHeaderBar">
|
<object class="GtkStackPage">
|
||||||
<property name="visible">True</property>
|
|
||||||
</object>
|
|
||||||
<packing>
|
|
||||||
<property name="name">calls</property>
|
<property name="name">calls</property>
|
||||||
</packing>
|
<property name="child">
|
||||||
|
<object class="GtkHeaderBar"/>
|
||||||
|
</property>
|
||||||
|
</object>
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
|
<object class="GtkStackPage">
|
||||||
|
<property name="name">active-call</property>
|
||||||
|
<property name="child">
|
||||||
<object class="GtkHeaderBar">
|
<object class="GtkHeaderBar">
|
||||||
<property name="visible">True</property>
|
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkButton" id="show_calls">
|
<object class="GtkButton" id="show_calls">
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="receives_default">True</property>
|
<property name="receives_default">True</property>
|
||||||
<property name="no_show_all">True</property>
|
<property name="no_show_all">True</property>
|
||||||
<signal name="clicked" handler="show_calls_clicked_cb" swapped="no"/>
|
<signal name="clicked" handler="show_calls_clicked_cb" swapped="no"/>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkImage">
|
<object class="GtkImage">
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="icon_name">system-switch-user-symbolic</property>
|
<property name="icon_name">system-switch-user-symbolic</property>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
<packing>
|
</property>
|
||||||
<property name="name">active-call</property>
|
</object>
|
||||||
</packing>
|
|
||||||
</child>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
|
|||||||
@@ -1,49 +1,44 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!-- Generated with glade 3.22.0 -->
|
|
||||||
<interface>
|
<interface>
|
||||||
<requires lib="gtk+" version="3.20"/>
|
<requires lib="gtk" version="4.0"/>
|
||||||
<requires lib="libadwaita" version="0.0"/>
|
<requires lib="libadwaita" version="0.0"/>
|
||||||
<template class="CallsContactsBox" parent="GtkWidget">
|
<template class="CallsContactsBox" parent="GtkWidget">
|
||||||
<property name="visible">True</property>
|
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkScrolledWindow">
|
<object class="GtkScrolledWindow">
|
||||||
<property name="visible">True</property>
|
<property name="hexpand">True</property>
|
||||||
<property name="expand">True</property>
|
<property name="vexpand">True</property>
|
||||||
<child>
|
<child>
|
||||||
<object class="AdwClamp">
|
<object class="AdwClamp">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkBox">
|
<object class="GtkBox">
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="orientation">vertical</property>
|
<property name="orientation">vertical</property>
|
||||||
<property name="spacing">12</property>
|
<property name="spacing">12</property>
|
||||||
<property name="margin-top">12</property>
|
<property name="margin-top">12</property>
|
||||||
<property name="margin-bottom">32</property>
|
<property name="margin-bottom">32</property>
|
||||||
<property name="margin-left">12</property>
|
<property name="margin-start">12</property>
|
||||||
<property name="margin-right">12</property>
|
<property name="margin-end">12</property>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkSearchEntry" id="search_entry">
|
<object class="GtkSearchEntry" id="search_entry"/>
|
||||||
<property name="visible">True</property>
|
|
||||||
</object>
|
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkFrame" id="contacts_frame">
|
<object class="GtkFrame" id="contacts_frame">
|
||||||
<property name="visible">True</property>
|
<property name="child">
|
||||||
<child>
|
|
||||||
<object class="GtkListBox" id="contacts_listbox">
|
<object class="GtkListBox" id="contacts_listbox">
|
||||||
<property name="visible">True</property>
|
|
||||||
<child type="placeholder">
|
<child type="placeholder">
|
||||||
<object class="GtkBox" id="placeholder_empty">
|
<object class="GtkBox" id="placeholder_empty">
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="halign">center</property>
|
<property name="halign">center</property>
|
||||||
<property name="valign">center</property>
|
<property name="valign">center</property>
|
||||||
<property name="orientation">vertical</property>
|
<property name="orientation">vertical</property>
|
||||||
<property name="spacing">24</property>
|
<property name="spacing">24</property>
|
||||||
<property name="margin">32</property>
|
<property name="margin-start">32</property>
|
||||||
<property name="expand">True</property>
|
<property name="margin-end">32</property>
|
||||||
|
<property name="margin-top">32</property>
|
||||||
|
<property name="margin-bottom">32</property>
|
||||||
|
<property name="hexpand">True</property>
|
||||||
|
<property name="vexpand">True</property>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkImage">
|
<object class="GtkImage">
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="pixel_size">128</property>
|
<property name="pixel_size">128</property>
|
||||||
<property name="icon_name">edit-find-symbolic</property>
|
<property name="icon_name">edit-find-symbolic</property>
|
||||||
<style>
|
<style>
|
||||||
@@ -53,7 +48,6 @@
|
|||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkLabel">
|
<object class="GtkLabel">
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="wrap">True</property>
|
<property name="wrap">True</property>
|
||||||
<property name="wrap-mode">word-char</property>
|
<property name="wrap-mode">word-char</property>
|
||||||
<property name="justify">center</property>
|
<property name="justify">center</property>
|
||||||
@@ -66,7 +60,7 @@
|
|||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</property>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
|
|||||||
@@ -1,48 +1,45 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<interface>
|
<interface>
|
||||||
|
<requires lib="gtk" version="4.0"/>
|
||||||
<template class="CallsContactsRow" parent="GtkListBoxRow">
|
<template class="CallsContactsRow" parent="GtkListBoxRow">
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="activatable">False</property>
|
<property name="activatable">False</property>
|
||||||
<property name="selectable">False</property>
|
<property name="selectable">False</property>
|
||||||
<child>
|
<property name="child">
|
||||||
<object class="GtkGrid" id="grid">
|
<object class="GtkGrid" id="grid">
|
||||||
<property name="visible">True</property>
|
<property name="margin-start">6</property>
|
||||||
<property name="margin">6</property>
|
<property name="margin-end">6</property>
|
||||||
|
<property name="margin-top">6</property>
|
||||||
|
<property name="margin-bottom">6</property>
|
||||||
<property name="column-spacing">12</property>
|
<property name="column-spacing">12</property>
|
||||||
<property name="row-spacing">3</property>
|
<property name="row-spacing">3</property>
|
||||||
|
|
||||||
<!-- Avatar -->
|
|
||||||
<child>
|
<child>
|
||||||
<object class="AdwAvatar" id="avatar">
|
<object class="AdwAvatar" id="avatar">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="valign">center</property>
|
<property name="valign">center</property>
|
||||||
<property name="size">36</property>
|
<property name="size">36</property>
|
||||||
<property name="show-initials">True</property>
|
<property name="show-initials">True</property>
|
||||||
|
<layout>
|
||||||
|
<property name="column">0</property>
|
||||||
|
<property name="row">0</property>
|
||||||
|
</layout>
|
||||||
</object>
|
</object>
|
||||||
<packing>
|
|
||||||
<property name="left-attach">0</property>
|
|
||||||
<property name="top-attach">0</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
</child>
|
||||||
|
|
||||||
<!-- Row title -->
|
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkLabel" id="title">
|
<object class="GtkLabel" id="title">
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="ellipsize">end</property>
|
<property name="ellipsize">end</property>
|
||||||
<property name="halign">start</property>
|
<property name="halign">start</property>
|
||||||
<property name="expand">True</property>
|
<property name="hexpand">True</property>
|
||||||
|
<property name="vexpand">True</property>
|
||||||
<style>
|
<style>
|
||||||
<class name="bold-label"/>
|
<class name="bold-label"/>
|
||||||
</style>
|
</style>
|
||||||
</object>
|
<layout>
|
||||||
<packing>
|
<property name="column">1</property>
|
||||||
<property name="left-attach">1</property>
|
<property name="row">0</property>
|
||||||
<property name="top-attach">0</property>
|
</layout>
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
|
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
|
</object>
|
||||||
|
</property>
|
||||||
</template>
|
</template>
|
||||||
</interface>
|
</interface>
|
||||||
|
|||||||
@@ -1,33 +1,36 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!-- Generated with glade 3.22.0 -->
|
|
||||||
<interface>
|
<interface>
|
||||||
<requires lib="gtk+" version="3.22"/>
|
<requires lib="gtk" version="4.0"/>
|
||||||
<template class="CallsHistoryBox" parent="GtkWidget">
|
<template class="CallsHistoryBox" parent="GtkWidget">
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkStack" id="stack">
|
<object class="GtkStack" id="stack">
|
||||||
<property name="visible">True</property>
|
|
||||||
<child>
|
<child>
|
||||||
|
<object class="GtkStackPage">
|
||||||
|
<property name="name">empty</property>
|
||||||
|
<property name="child">
|
||||||
<object class="AdwStatusPage">
|
<object class="AdwStatusPage">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="icon-name">call-start-symbolic</property>
|
<property name="icon-name">call-start-symbolic</property>
|
||||||
<property name="title" translatable="yes">No Recent Calls</property>
|
<property name="title" translatable="yes">No Recent Calls</property>
|
||||||
</object>
|
</object>
|
||||||
<packing>
|
</property>
|
||||||
<property name="name">empty</property>
|
</object>
|
||||||
</packing>
|
|
||||||
</child>
|
</child>
|
||||||
|
|
||||||
<child>
|
<child>
|
||||||
|
<object class="GtkStackPage">
|
||||||
|
<property name="name">history</property>
|
||||||
|
<property name="child">
|
||||||
<object class="GtkScrolledWindow" id="scrolled_window">
|
<object class="GtkScrolledWindow" id="scrolled_window">
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="hscrollbar-policy">never</property>
|
<property name="hscrollbar-policy">never</property>
|
||||||
<child>
|
<child>
|
||||||
<object class="AdwClamp">
|
<object class="AdwClamp">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkListBox" id="history">
|
<object class="GtkListBox" id="history">
|
||||||
<property name="visible">True</property>
|
<property name="margin-start">12</property>
|
||||||
<property name="margin">12</property>
|
<property name="margin-end">12</property>
|
||||||
|
<property name="margin-top">12</property>
|
||||||
|
<property name="margin-bottom">12</property>
|
||||||
<property name="valign">start</property>
|
<property name="valign">start</property>
|
||||||
<style>
|
<style>
|
||||||
<class name="content"/>
|
<class name="content"/>
|
||||||
@@ -37,9 +40,8 @@
|
|||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
<packing>
|
</property>
|
||||||
<property name="name">history</property>
|
</object>
|
||||||
</packing>
|
|
||||||
</child>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
|
|||||||
@@ -1,26 +1,20 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<interface>
|
<interface>
|
||||||
<requires lib="gtk+" version="3.20"/>
|
<requires lib="gtk" version="4.0"/>
|
||||||
<template class="CallsInAppNotification" parent="GtkWidget">
|
<template class="CallsInAppNotification" parent="GtkWidget">
|
||||||
<property name="visible">False</property>
|
<property name="visible">False</property>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkRevealer" id="revealer">
|
<object class="GtkRevealer" id="revealer">
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="reveal-child">False</property>
|
|
||||||
<property name="transition-type">slide-down</property>
|
|
||||||
<property name="valign">start</property>
|
<property name="valign">start</property>
|
||||||
<property name="halign">center</property>
|
<property name="halign">center</property>
|
||||||
<child>
|
<property name="child">
|
||||||
<object class="GtkBox">
|
<object class="GtkBox">
|
||||||
<property name="visible">True</property>
|
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkButton">
|
<object class="GtkButton">
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="receives_default">True</property>
|
<property name="receives_default">True</property>
|
||||||
<signal name="clicked" handler="calls_in_app_notification_hide" swapped="yes"/>
|
<signal name="clicked" handler="calls_in_app_notification_hide" swapped="yes"/>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkImage">
|
<object class="GtkImage">
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="icon_name">window-close-symbolic</property>
|
<property name="icon_name">window-close-symbolic</property>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
@@ -28,23 +22,19 @@
|
|||||||
<class name="flat"/>
|
<class name="flat"/>
|
||||||
</style>
|
</style>
|
||||||
</object>
|
</object>
|
||||||
<packing>
|
|
||||||
<property name="pack_type">end</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkLabel" id="label">
|
<object class="GtkLabel" id="label">
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="wrap">True</property>
|
<property name="wrap">True</property>
|
||||||
<property name="margin-left">24</property>
|
<property name="margin-start">24</property>
|
||||||
<property name="margin-right">24</property>
|
<property name="margin-end">24</property>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
<style>
|
<style>
|
||||||
<class name="app-notification"/>
|
<class name="app-notification"/>
|
||||||
</style>
|
</style>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</property>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!-- Generated with glade 3.22.0 -->
|
|
||||||
<interface>
|
<interface>
|
||||||
<requires lib="gtk+" version="3.20"/>
|
<requires lib="gtk" version="4.0"/>
|
||||||
<requires lib="libadwaita" version="1.0"/>
|
<requires lib="libadwaita" version="1.0"/>
|
||||||
<template class="CallsMainWindow" parent="AdwApplicationWindow">
|
<template class="CallsMainWindow" parent="AdwApplicationWindow">
|
||||||
<property name="title" translatable="yes">Calls</property>
|
<property name="title" translatable="yes">Calls</property>
|
||||||
@@ -10,7 +9,6 @@
|
|||||||
<signal name="delete-event" handler="gtk_widget_hide_on_delete"/>
|
<signal name="delete-event" handler="gtk_widget_hide_on_delete"/>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkBox">
|
<object class="GtkBox">
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="orientation">vertical</property>
|
<property name="orientation">vertical</property>
|
||||||
<child>
|
<child>
|
||||||
<object class="AdwHeaderBar">
|
<object class="AdwHeaderBar">
|
||||||
@@ -27,11 +25,9 @@
|
|||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkMenuButton">
|
<object class="GtkMenuButton">
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="popover">menu_popover</property>
|
<property name="popover">menu_popover</property>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkImage">
|
<object class="GtkImage">
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="icon_name">open-menu-symbolic</property>
|
<property name="icon_name">open-menu-symbolic</property>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
@@ -44,40 +40,35 @@
|
|||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkOverlay">
|
<object class="GtkOverlay">
|
||||||
<property name="visible">True</property>
|
|
||||||
<child type="overlay">
|
<child type="overlay">
|
||||||
<object class="CallsInAppNotification" id="in_app_notification">
|
<object class="CallsInAppNotification" id="in_app_notification">
|
||||||
|
<property name="can-target">False</property>
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
</object>
|
</object>
|
||||||
<packing>
|
|
||||||
<property name="pass-through">True</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<property name="child">
|
||||||
<object class="GtkBox">
|
<object class="GtkBox">
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="orientation">vertical</property>
|
<property name="orientation">vertical</property>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkRevealer" id="permanent_error_revealer">
|
<object class="GtkRevealer" id="permanent_error_revealer">
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="reveal_child">True</property>
|
<property name="reveal_child">True</property>
|
||||||
<child>
|
<property name="child">
|
||||||
<object class="GtkLabel" id="permanent_error_label">
|
<object class="GtkLabel" id="permanent_error_label">
|
||||||
<property name="justify">center</property>
|
<property name="justify">center</property>
|
||||||
<property name="wrap">True</property>
|
<property name="wrap">True</property>
|
||||||
<property name="visible">True</property>
|
|
||||||
<style>
|
<style>
|
||||||
<class name="error-state-message"/>
|
<class name="error-state-message"/>
|
||||||
</style>
|
</style>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</property>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkStack" id="main_stack">
|
<object class="GtkStack" id="main_stack">
|
||||||
<property name="visible">True</property>
|
<property name="vhomogeneous">False</property>
|
||||||
<property name="homogeneous">False</property>
|
<property name="hhomogeneous">False</property>
|
||||||
<property name="expand">True</property>
|
<property name="hexpand">True</property>
|
||||||
|
<property name="vexpand">True</property>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
@@ -88,15 +79,13 @@
|
|||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</property>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<object class="GtkDialog" id="ussd_dialog">
|
<object class="GtkDialog" id="ussd_dialog">
|
||||||
<property name="can-focus">False</property>
|
|
||||||
<property name="modal">True</property>
|
<property name="modal">True</property>
|
||||||
<property name="default-width">240</property>
|
<property name="default-width">240</property>
|
||||||
<property name="default-height">200</property>
|
<property name="default-height">200</property>
|
||||||
@@ -106,11 +95,8 @@
|
|||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="show-close-button">False</property>
|
<property name="show-close-button">False</property>
|
||||||
<property name="title" translatable="yes">USSD</property>
|
<property name="title" translatable="yes">USSD</property>
|
||||||
|
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkButton" id="ussd_cancel_button">
|
<object class="GtkButton" id="ussd_cancel_button">
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="sensitive">True</property>
|
|
||||||
<property name="has-default">True</property>
|
<property name="has-default">True</property>
|
||||||
<property name="can-default">True</property>
|
<property name="can-default">True</property>
|
||||||
<property name="use-underline">True</property>
|
<property name="use-underline">True</property>
|
||||||
@@ -121,13 +107,9 @@
|
|||||||
<property name="pack_type">start</property>
|
<property name="pack_type">start</property>
|
||||||
</packing>
|
</packing>
|
||||||
</child>
|
</child>
|
||||||
|
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkButton" id="ussd_close_button">
|
<object class="GtkButton" id="ussd_close_button">
|
||||||
<property name="visible" bind-source="ussd_cancel_button" bind-property="visible"
|
<property name="visible" bind-source="ussd_cancel_button" bind-property="visible" bind-flags="sync-create|invert-boolean|bidirectional"/>
|
||||||
bind-flags="sync-create|invert-boolean|bidirectional"/>
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="sensitive">True</property>
|
|
||||||
<property name="has-default">True</property>
|
<property name="has-default">True</property>
|
||||||
<property name="can-default">True</property>
|
<property name="can-default">True</property>
|
||||||
<property name="use-underline">True</property>
|
<property name="use-underline">True</property>
|
||||||
@@ -138,11 +120,9 @@
|
|||||||
<property name="pack_type">start</property>
|
<property name="pack_type">start</property>
|
||||||
</packing>
|
</packing>
|
||||||
</child>
|
</child>
|
||||||
|
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkButton" id="ussd_reply_button">
|
<object class="GtkButton" id="ussd_reply_button">
|
||||||
<property name="label" translatable="yes">_Send</property>
|
<property name="label" translatable="yes">_Send</property>
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="sensitive">False</property>
|
<property name="sensitive">False</property>
|
||||||
<property name="use-underline">True</property>
|
<property name="use-underline">True</property>
|
||||||
<signal name="clicked" handler="window_ussd_reply_clicked_cb" swapped="yes"/>
|
<signal name="clicked" handler="window_ussd_reply_clicked_cb" swapped="yes"/>
|
||||||
@@ -154,28 +134,25 @@
|
|||||||
<property name="pack-type">end</property>
|
<property name="pack-type">end</property>
|
||||||
</packing>
|
</packing>
|
||||||
</child>
|
</child>
|
||||||
|
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
<child internal-child="vbox">
|
<child internal-child="vbox">
|
||||||
<object class="GtkBox">
|
<object class="GtkBox">
|
||||||
<property name="visible">True</property>
|
<property name="hexpand">True</property>
|
||||||
<property name="expand">True</property>
|
<property name="vexpand">True</property>
|
||||||
<property name="border-width">0</property>
|
<property name="border-width">0</property>
|
||||||
<property name="margin">12</property>
|
<property name="margin-start">12</property>
|
||||||
|
<property name="margin-end">12</property>
|
||||||
|
<property name="margin-top">12</property>
|
||||||
|
<property name="margin-bottom">12</property>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkStack" id="ussd_stack">
|
<object class="GtkStack" id="ussd_stack">
|
||||||
<property name="visible">True</property>
|
|
||||||
|
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkBox" id="ussd_content">
|
<object class="GtkBox" id="ussd_content">
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="orientation">vertical</property>
|
<property name="orientation">vertical</property>
|
||||||
<property name="spacing">12</property>
|
<property name="spacing">12</property>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkLabel" id="ussd_label">
|
<object class="GtkLabel" id="ussd_label">
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="wrap">True</property>
|
<property name="wrap">True</property>
|
||||||
<property name="xalign">0</property>
|
<property name="xalign">0</property>
|
||||||
</object>
|
</object>
|
||||||
@@ -188,28 +165,25 @@
|
|||||||
</child>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
|
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkSpinner" id="ussd_spinner">
|
<object class="GtkSpinner" id="ussd_spinner">
|
||||||
<property name="valign">center</property>
|
<property name="valign">center</property>
|
||||||
<property name="vexpand">True</property>
|
<property name="vexpand">True</property>
|
||||||
<property name="visible">True</property>
|
|
||||||
</object>
|
|
||||||
</child>
|
|
||||||
|
|
||||||
</object>
|
|
||||||
</child>
|
|
||||||
|
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
<object class="GtkPopoverMenu" id="menu_popover">
|
<object class="GtkPopoverMenu" id="menu_popover">
|
||||||
<child>
|
<property name="child">
|
||||||
<object class="GtkBox">
|
<object class="GtkBox">
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="orientation">vertical</property>
|
<property name="orientation">vertical</property>
|
||||||
<property name="margin">12</property>
|
<property name="margin-start">12</property>
|
||||||
|
<property name="margin-end">12</property>
|
||||||
|
<property name="margin-top">12</property>
|
||||||
|
<property name="margin-bottom">12</property>
|
||||||
<property name="spacing">6</property>
|
<property name="spacing">6</property>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkModelButton">
|
<object class="GtkModelButton">
|
||||||
@@ -220,7 +194,6 @@
|
|||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkSeparator">
|
<object class="GtkSeparator">
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="orientation">vertical</property>
|
<property name="orientation">vertical</property>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
@@ -243,9 +216,7 @@
|
|||||||
<property name="action-name">win.about</property>
|
<property name="action-name">win.about</property>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
|
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</property>
|
||||||
</object>
|
</object>
|
||||||
|
|
||||||
</interface>
|
</interface>
|
||||||
|
|||||||
@@ -1,29 +1,23 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!-- Generated with glade 3.22.0 -->
|
|
||||||
<interface>
|
<interface>
|
||||||
<requires lib="gtk+" version="3.22"/>
|
<requires lib="gtk" version="4.0"/>
|
||||||
<requires lib="libadwaita" version="1.0"/>
|
<requires lib="libadwaita" version="1.0"/>
|
||||||
<template class="CallsNewCallBox" parent="GtkWidget">
|
<template class="CallsNewCallBox" parent="GtkWidget">
|
||||||
<property name="visible">True</property>
|
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkBox">
|
<object class="GtkBox">
|
||||||
<property name="margin_left">24</property>
|
<property name="margin-start">24</property>
|
||||||
<property name="margin_right">24</property>
|
<property name="margin-end">24</property>
|
||||||
<property name="margin_top">6</property>
|
<property name="margin_top">6</property>
|
||||||
<property name="orientation">vertical</property>
|
<property name="orientation">vertical</property>
|
||||||
<property name="visible">True</property>
|
|
||||||
|
|
||||||
<child>
|
<child>
|
||||||
<object class="AdwClamp">
|
<object class="AdwClamp">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="orientation">vertical</property>
|
<property name="orientation">vertical</property>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkBox">
|
<object class="GtkBox">
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="orientation">vertical</property>
|
<property name="orientation">vertical</property>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkListBox" id="origin_list_box">
|
<object class="GtkListBox" id="origin_list_box">
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="selection-mode">none</property>
|
<property name="selection-mode">none</property>
|
||||||
<property name="halign">center</property>
|
<property name="halign">center</property>
|
||||||
<child>
|
<child>
|
||||||
@@ -72,7 +66,6 @@
|
|||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkButton" id="dial_result_btn">
|
<object class="GtkButton" id="dial_result_btn">
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="always_show_image">True</property>
|
<property name="always_show_image">True</property>
|
||||||
<signal name="clicked" handler="dial_result_clicked_cb" swapped="yes"/>
|
<signal name="clicked" handler="dial_result_clicked_cb" swapped="yes"/>
|
||||||
<style>
|
<style>
|
||||||
@@ -80,7 +73,6 @@
|
|||||||
</style>
|
</style>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkImage">
|
<object class="GtkImage">
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="icon-name">call-start-symbolic</property>
|
<property name="icon-name">call-start-symbolic</property>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
|
|||||||
@@ -1,14 +1,11 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<interface>
|
<interface>
|
||||||
<requires lib="gtk+" version="3.22"/>
|
<requires lib="gtk" version="4.0"/>
|
||||||
<template class="CallsNewCallHeaderBar" parent="GtkHeaderBar">
|
<template class="CallsNewCallHeaderBar" parent="GtkHeaderBar">
|
||||||
<property name="show-close-button">True</property>
|
|
||||||
<property name="title" translatable="yes">New Call</property>
|
<property name="title" translatable="yes">New Call</property>
|
||||||
<property name="visible">True</property>
|
<child type="start">
|
||||||
<child>
|
|
||||||
<object class="GtkButton" id="back">
|
<object class="GtkButton" id="back">
|
||||||
<property name="action-name">win.back</property>
|
<property name="action-name">win.back</property>
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="valign">center</property>
|
<property name="valign">center</property>
|
||||||
<property name="use-underline">True</property>
|
<property name="use-underline">True</property>
|
||||||
<style>
|
<style>
|
||||||
@@ -21,20 +18,14 @@
|
|||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkImage" id="back_image">
|
<object class="GtkImage" id="back_image">
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="icon-name">go-previous-symbolic</property>
|
<property name="icon-name">go-previous-symbolic</property>
|
||||||
<property name="icon-size">1</property>
|
<property name="icon-size">normal</property>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
<packing>
|
|
||||||
<property name="pack-type">start</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
</child>
|
||||||
<child type="title">
|
<child type="title">
|
||||||
<object class="GtkStackSwitcher" id="stack_switcher">
|
<object class="GtkStackSwitcher" id="stack_switcher"/>
|
||||||
<property name="visible">True</property>
|
|
||||||
</object>
|
|
||||||
</child>
|
</child>
|
||||||
</template>
|
</template>
|
||||||
</interface>
|
</interface>
|
||||||
|
|||||||
Reference in New Issue
Block a user