2022-01-17 16:05:05 -03:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<interface>
|
2022-05-11 11:32:15 +12:00
|
|
|
<template class="CcOnlineAccountsPanel" parent="CcPanel">
|
2023-08-02 19:21:33 +04:00
|
|
|
<property name="child">
|
2023-07-30 21:35:14 +04:00
|
|
|
<object class="AdwToolbarView">
|
|
|
|
<child type="top">
|
2023-08-02 19:21:33 +04:00
|
|
|
<object class="AdwHeaderBar"/>
|
2023-07-30 21:35:14 +04:00
|
|
|
</child>
|
|
|
|
|
|
|
|
<property name="content">
|
|
|
|
<object class="GtkOverlay">
|
|
|
|
<child type="overlay">
|
|
|
|
<object class="GtkRevealer" id="notification_revealer">
|
|
|
|
<property name="halign">center</property>
|
|
|
|
<property name="valign">start</property>
|
|
|
|
<property name="transition_type">slide-down</property>
|
2022-01-17 16:05:05 -03:00
|
|
|
<child>
|
2023-07-30 21:35:14 +04:00
|
|
|
<object class="GtkFrame">
|
2022-01-17 16:05:05 -03:00
|
|
|
<child>
|
2023-07-30 21:35:14 +04:00
|
|
|
<object class="GtkBox">
|
|
|
|
<property name="spacing">12</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="notification_label">
|
|
|
|
<property name="use_markup">True</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkButton" id="undo_button">
|
|
|
|
<property name="label" translatable="yes">Undo</property>
|
|
|
|
<signal name="clicked" handler="on_undo_button_clicked_cb" object="CcOnlineAccountsPanel" swapped="yes" />
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkButton" id="close_notification_button">
|
|
|
|
<property name="icon-name">window-close-symbolic</property>
|
|
|
|
<accessibility>
|
|
|
|
<property name="label" translatable="yes">Close the notification</property>
|
|
|
|
</accessibility>
|
|
|
|
<signal name="clicked" handler="on_notification_closed_cb" object="CcOnlineAccountsPanel" swapped="yes" />
|
|
|
|
<style>
|
|
|
|
<class name="flat" />
|
|
|
|
</style>
|
|
|
|
</object>
|
|
|
|
</child>
|
2022-01-17 16:05:05 -03:00
|
|
|
</object>
|
|
|
|
</child>
|
2023-07-30 21:35:14 +04:00
|
|
|
<style>
|
|
|
|
<class name="app-notification" />
|
|
|
|
</style>
|
2022-01-17 16:05:05 -03:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
|
|
|
|
<child>
|
2023-07-30 21:35:14 +04:00
|
|
|
<object class="GtkBox">
|
|
|
|
<property name="orientation">vertical</property>
|
2022-01-17 16:05:05 -03:00
|
|
|
|
2023-07-30 21:35:14 +04:00
|
|
|
<child>
|
|
|
|
<object class="AdwBanner" id="offline_banner">
|
|
|
|
<property name="title" translatable="yes">Offline — unable to connect accounts</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
2023-07-04 18:18:27 -03:00
|
|
|
|
2022-01-17 16:05:05 -03:00
|
|
|
<child>
|
2023-07-30 21:35:14 +04:00
|
|
|
<object class="AdwPreferencesPage">
|
|
|
|
<property name="description" translatable="yes">Allow apps to access online services by connecting your cloud accounts.</property>
|
|
|
|
|
2023-07-04 18:18:27 -03:00
|
|
|
<child>
|
2023-07-30 21:35:14 +04:00
|
|
|
<object class="AdwPreferencesGroup" id="accounts_frame">
|
|
|
|
<property name="title" translatable="yes">Your Accounts</property>
|
|
|
|
<property name="visible">False</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkListBox" id="accounts_listbox">
|
|
|
|
<property name="hexpand">True</property>
|
|
|
|
<property name="selection_mode">none</property>
|
|
|
|
<signal name="row-activated" handler="on_accounts_listbox_row_activated" object="CcOnlineAccountsPanel" swapped="yes" />
|
|
|
|
<style>
|
|
|
|
<class name="boxed-list" />
|
|
|
|
</style>
|
|
|
|
<accessibility>
|
|
|
|
<relation name="labelled-by">accounts_frame</relation>
|
|
|
|
</accessibility>
|
|
|
|
</object>
|
|
|
|
</child>
|
2023-07-04 18:18:27 -03:00
|
|
|
</object>
|
|
|
|
</child>
|
2022-01-17 16:05:05 -03:00
|
|
|
|
2023-07-04 18:18:27 -03:00
|
|
|
<child>
|
2023-07-30 21:35:14 +04:00
|
|
|
<object class="AdwPreferencesGroup">
|
|
|
|
<property name="title" translatable="yes">Connect an Account</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkListBox" id="providers_listbox">
|
|
|
|
<property name="selection_mode">none</property>
|
|
|
|
<signal name="row-activated" handler="on_provider_row_activated_cb" object="CcOnlineAccountsPanel" swapped="yes" />
|
|
|
|
<style>
|
|
|
|
<class name="boxed-list" />
|
|
|
|
</style>
|
|
|
|
</object>
|
|
|
|
</child>
|
2023-07-04 18:18:27 -03:00
|
|
|
</object>
|
|
|
|
</child>
|
2022-01-17 16:05:05 -03:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
2023-07-30 21:35:14 +04:00
|
|
|
</property>
|
2022-01-17 16:05:05 -03:00
|
|
|
</object>
|
2023-08-02 19:21:33 +04:00
|
|
|
</property>
|
2022-01-17 16:05:05 -03:00
|
|
|
</template>
|
|
|
|
|
|
|
|
</interface>
|