2012-05-16 23:05:00 +02:00
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
<interface>
|
2013-02-06 19:41:01 +01:00
|
|
|
|
<!-- interface-requires gtk+ 3.0 -->
|
2023-11-02 21:50:24 +01:00
|
|
|
|
<template class="CcInputChooser" parent="AdwWindow">
|
2023-11-23 19:31:44 -03:00
|
|
|
|
<property name="title" translatable="yes">Add Input Source</property>
|
2012-05-16 23:05:00 +02:00
|
|
|
|
<property name="modal">True</property>
|
2013-02-06 19:41:01 +01:00
|
|
|
|
<property name="destroy_with_parent">True</property>
|
2023-11-02 21:50:24 +01:00
|
|
|
|
<property name="width-request">360</property>
|
|
|
|
|
<property name="height-request">294</property>
|
|
|
|
|
<property name="default-height">430</property>
|
2023-12-16 23:21:33 -03:00
|
|
|
|
<property name="default-width">420</property>
|
2023-11-02 21:50:24 +01:00
|
|
|
|
<property name="content">
|
|
|
|
|
<object class="AdwToolbarView">
|
|
|
|
|
<child type="top">
|
|
|
|
|
<object class="AdwHeaderBar">
|
|
|
|
|
<property name="show-start-title-buttons">False</property>
|
|
|
|
|
<property name="show-end-title-buttons">False</property>
|
|
|
|
|
<child>
|
|
|
|
|
<object class="GtkButton" id="cancel_button">
|
|
|
|
|
<property name="label" translatable="yes">_Cancel</property>
|
|
|
|
|
<property name="use_underline">True</property>
|
|
|
|
|
<property name="valign">center</property>
|
|
|
|
|
<property name="action-name">window.close</property>
|
2012-05-16 23:05:00 +02:00
|
|
|
|
</object>
|
2023-11-02 21:50:24 +01:00
|
|
|
|
</child>
|
|
|
|
|
<child type="end">
|
|
|
|
|
<object class="GtkButton" id="add_button">
|
|
|
|
|
<property name="label" translatable="yes">_Add</property>
|
|
|
|
|
<property name="sensitive">False</property>
|
|
|
|
|
<property name="use_underline">True</property>
|
|
|
|
|
<property name="valign">center</property>
|
|
|
|
|
<signal name="clicked" handler="on_add_button_clicked_cb" object="CcInputChooser" swapped="yes" />
|
|
|
|
|
<style>
|
|
|
|
|
<class name="suggested-action"/>
|
|
|
|
|
</style>
|
|
|
|
|
</object>
|
|
|
|
|
</child>
|
2012-05-16 23:05:00 +02:00
|
|
|
|
</object>
|
|
|
|
|
</child>
|
2023-11-02 21:50:24 +01:00
|
|
|
|
<child type="top">
|
2018-06-29 14:13:29 +12:00
|
|
|
|
<object class="GtkSearchEntry" id="filter_entry">
|
2023-04-20 14:49:47 -03:00
|
|
|
|
<property name="placeholder_text" translatable="yes">Language or country</property>
|
2013-02-06 19:41:01 +01:00
|
|
|
|
<property name="visible">False</property>
|
|
|
|
|
<property name="hexpand">True</property>
|
2013-11-19 22:29:36 +02:00
|
|
|
|
<property name="margin-start">6</property>
|
|
|
|
|
<property name="margin-end">6</property>
|
2013-02-06 19:41:01 +01:00
|
|
|
|
<property name="margin-top">6</property>
|
|
|
|
|
<property name="margin-bottom">6</property>
|
2018-09-12 15:28:57 +12:00
|
|
|
|
<signal name="search-changed" handler="on_filter_entry_search_changed_cb" object="CcInputChooser" swapped="yes" />
|
2023-11-02 21:50:24 +01:00
|
|
|
|
<signal name="stop-search" handler="on_stop_search_cb" object="CcInputChooser" swapped="yes" />
|
2013-02-06 19:41:01 +01:00
|
|
|
|
</object>
|
|
|
|
|
</child>
|
2023-11-02 21:50:24 +01:00
|
|
|
|
<child type="top">
|
2018-06-29 14:13:29 +12:00
|
|
|
|
<object class="GtkLabel" id="login_label">
|
2014-11-26 17:49:37 +01:00
|
|
|
|
<property name="visible">False</property>
|
|
|
|
|
<property name="wrap">True</property>
|
2016-10-03 14:44:17 +02:00
|
|
|
|
<property name="label" translatable="yes">Input methods can’t be used on the login screen</property>
|
2014-11-26 17:49:37 +01:00
|
|
|
|
<property name="margin-start">6</property>
|
|
|
|
|
<property name="margin-end">6</property>
|
|
|
|
|
<property name="margin-bottom">6</property>
|
|
|
|
|
<style>
|
|
|
|
|
<class name="dim-label"/>
|
|
|
|
|
</style>
|
|
|
|
|
</object>
|
|
|
|
|
</child>
|
2023-11-02 21:50:24 +01:00
|
|
|
|
<child>
|
|
|
|
|
<object class="GtkScrolledWindow">
|
|
|
|
|
<property name="hscrollbar-policy">never</property>
|
|
|
|
|
<property name="propagate-natural-height">True</property>
|
|
|
|
|
<property name="vadjustment">
|
|
|
|
|
<object class="GtkAdjustment" id="scroll_adjustment"/>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="child">
|
|
|
|
|
<object class="AdwClamp">
|
|
|
|
|
<property name="child">
|
|
|
|
|
<object class="GtkListBox" id="input_sources_listbox">
|
|
|
|
|
<property name="halign">fill</property>
|
|
|
|
|
<property name="valign">start</property>
|
|
|
|
|
<property name="margin-top">24</property>
|
|
|
|
|
<property name="margin-bottom">24</property>
|
|
|
|
|
<property name="margin-start">12</property>
|
|
|
|
|
<property name="margin-end">12</property>
|
|
|
|
|
<signal name="row-activated" handler="on_input_sources_listbox_row_activated_cb" object="CcInputChooser" swapped="yes" />
|
|
|
|
|
<signal name="selected-rows-changed" handler="on_input_sources_listbox_selected_rows_changed_cb" object="CcInputChooser" swapped="yes" />
|
|
|
|
|
<style>
|
|
|
|
|
<class name="boxed-list" />
|
|
|
|
|
</style>
|
|
|
|
|
</object>
|
|
|
|
|
</property>
|
|
|
|
|
</object>
|
|
|
|
|
</property>
|
|
|
|
|
</object>
|
|
|
|
|
</child>
|
2012-05-16 23:05:00 +02:00
|
|
|
|
</object>
|
2023-11-02 21:50:24 +01:00
|
|
|
|
</property>
|
2018-06-29 14:13:29 +12:00
|
|
|
|
</template>
|
2012-05-16 23:05:00 +02:00
|
|
|
|
</interface>
|