2011-01-31 16:30:01 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2009-07-10 16:46:41 +02:00
|
|
|
<interface>
|
2013-09-29 22:47:35 +02:00
|
|
|
<!-- interface-requires gtk+ 3.0 -->
|
2011-01-25 22:54:04 -05:00
|
|
|
<object class="GtkAdjustment" id="cursor_blink_time_adjustment">
|
|
|
|
<property name="lower">100</property>
|
|
|
|
<property name="upper">2500</property>
|
2011-01-31 16:30:01 +00:00
|
|
|
<property name="value">1000</property>
|
2011-01-25 22:54:04 -05:00
|
|
|
<property name="step_increment">200</property>
|
|
|
|
<property name="page_increment">200</property>
|
|
|
|
</object>
|
2016-07-22 15:26:10 -03:00
|
|
|
<template class="CcKeyboardPanel" parent="CcPanel">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
2016-06-21 15:45:38 -03:00
|
|
|
<property name="expand">True</property>
|
2016-07-21 22:00:03 -03:00
|
|
|
<signal name="key-press-event" handler="gtk_search_bar_handle_event" object="search_bar" swapped="yes" />
|
2016-07-22 15:26:10 -03:00
|
|
|
<child>
|
2016-06-21 15:45:38 -03:00
|
|
|
<object class="GtkBox">
|
2016-07-22 15:26:10 -03:00
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="orientation">vertical</property>
|
2016-07-21 22:00:03 -03:00
|
|
|
<child>
|
|
|
|
<object class="GtkSearchBar" id="search_bar">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="hexpand">True</property>
|
|
|
|
<property name="search_mode_enabled" bind-source="search_button" bind-property="active" bind-flags="bidirectional" />
|
|
|
|
<child>
|
|
|
|
<object class="GtkSearchEntry" id="search_entry">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="width_chars">30</property>
|
2018-03-29 12:06:10 +02:00
|
|
|
<signal name="notify::text" handler="gtk_list_box_invalidate_filter" object="shortcuts_listbox" swapped="yes" />
|
2016-07-21 22:00:03 -03:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
2016-07-22 15:26:10 -03:00
|
|
|
<child>
|
2016-06-21 15:45:38 -03:00
|
|
|
<object class="GtkScrolledWindow">
|
2016-07-22 15:26:10 -03:00
|
|
|
<property name="visible">True</property>
|
2016-06-21 15:45:38 -03:00
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="hexpand">True</property>
|
|
|
|
<property name="vexpand">True</property>
|
|
|
|
<property name="hscrollbar_policy">never</property>
|
2016-08-31 22:20:01 -03:00
|
|
|
<property name="propagate_natural_width">True</property>
|
|
|
|
<property name="propagate_natural_height">True</property>
|
|
|
|
<property name="max_content_height">350</property>
|
2016-07-22 15:26:10 -03:00
|
|
|
<child>
|
2017-01-31 08:26:49 -02:00
|
|
|
<object class="GtkBox">
|
2010-05-24 17:42:52 +01:00
|
|
|
<property name="visible">True</property>
|
2017-01-31 08:26:49 -02:00
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="orientation">vertical</property>
|
2017-08-16 18:38:55 +01:00
|
|
|
<property name="margin_top">32</property>
|
|
|
|
<property name="margin_bottom">32</property>
|
|
|
|
<property name="margin_left">18</property>
|
|
|
|
<property name="margin_right">18</property>
|
2017-01-31 08:26:49 -02:00
|
|
|
<property name="spacing">12</property>
|
|
|
|
<property name="halign">center</property>
|
2018-03-29 13:33:15 +02:00
|
|
|
<child>
|
|
|
|
<object class="GtkFrame">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkListBox" id="alternate_chars_listbox">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="selection-mode">none</property>
|
|
|
|
<property name="width-request">250</property>
|
|
|
|
<signal name="row-activated" handler="alternate_chars_activated" object="CcKeyboardPanel" swapped="no" />
|
|
|
|
<child>
|
|
|
|
<object class="HdyActionRow">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="use-underline">true</property>
|
|
|
|
<property name="title" translatable="yes">Alternate Characters Key</property>
|
|
|
|
<property name="subtitle" translatable="yes">Hold down and type to enter different characters</property>
|
2020-07-23 10:07:02 -07:00
|
|
|
<property name="activatable">True</property>
|
2020-07-03 10:27:23 +02:00
|
|
|
<child>
|
2018-03-29 13:33:15 +02:00
|
|
|
<object class="GtkLabel" id="value_alternate_chars">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="label" translatable="no">Right Alt</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
2017-01-31 08:58:51 -02:00
|
|
|
<child>
|
2017-01-31 08:26:49 -02:00
|
|
|
<object class="GtkFrame">
|
2016-07-22 15:26:10 -03:00
|
|
|
<property name="visible">True</property>
|
2017-01-31 08:26:49 -02:00
|
|
|
<property name="can_focus">False</property>
|
2016-07-22 15:26:10 -03:00
|
|
|
<child>
|
2018-03-29 12:06:10 +02:00
|
|
|
<object class="GtkListBox" id="shortcuts_listbox">
|
2016-07-22 15:26:10 -03:00
|
|
|
<property name="visible">True</property>
|
2017-01-31 08:26:49 -02:00
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="selection-mode">none</property>
|
|
|
|
<property name="width-request">250</property>
|
|
|
|
<signal name="row-activated" handler="shortcut_row_activated" object="CcKeyboardPanel" swapped="no" />
|
|
|
|
<child>
|
|
|
|
<object class="GtkListBoxRow" id="add_shortcut_row">
|
2016-07-22 16:10:15 -03:00
|
|
|
<property name="visible">True</property>
|
2017-01-31 08:26:49 -02:00
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkBox">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="hexpand">True</property>
|
|
|
|
<property name="border_width">6</property>
|
|
|
|
<child type="center">
|
|
|
|
<object class="GtkImage">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="icon_name">list-add-symbolic</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
2016-07-22 16:10:15 -03:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
2016-07-22 15:26:10 -03:00
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</template>
|
2019-05-21 13:00:32 -03:00
|
|
|
|
|
|
|
<!-- Header widgets -->
|
2016-07-21 22:00:03 -03:00
|
|
|
<object class="GtkToggleButton" id="search_button">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<style>
|
|
|
|
<class name="image-button" />
|
|
|
|
</style>
|
|
|
|
<child>
|
|
|
|
<object class="GtkImage">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="icon_name">system-search-symbolic</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
2019-05-21 13:00:32 -03:00
|
|
|
<object class="GtkButton" id="reset_button">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="label" translatable="yes">Reset All…</property>
|
|
|
|
<property name="tooltip-text" translatable="yes">Reset all shortcuts to their default keybindings</property>
|
|
|
|
<signal name="clicked" handler="reset_all_clicked_cb" object="CcKeyboardPanel" swapped="yes" />
|
|
|
|
</object>
|
|
|
|
|
2016-07-21 22:00:03 -03:00
|
|
|
<object class="GtkBox" id="empty_search_placeholder">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="halign">center</property>
|
|
|
|
<property name="valign">center</property>
|
|
|
|
<property name="hexpand">True</property>
|
|
|
|
<property name="vexpand">True</property>
|
|
|
|
<property name="border_width">18</property>
|
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
<property name="spacing">6</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkImage">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
2018-07-10 17:52:08 -04:00
|
|
|
<property name="pixel_size">80</property>
|
2016-07-21 22:00:03 -03:00
|
|
|
<property name="icon_name">edit-find-symbolic</property>
|
|
|
|
<style>
|
|
|
|
<class name="dim-label"/>
|
|
|
|
</style>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="label" translatable="yes">No keyboard shortcut found</property>
|
|
|
|
<attributes>
|
|
|
|
<attribute name="weight" value="bold"/>
|
|
|
|
<attribute name="scale" value="1.44"/>
|
|
|
|
</attributes>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="label" translatable="yes">Try a different search</property>
|
|
|
|
<style>
|
|
|
|
<class name="dim-label"/>
|
|
|
|
</style>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
2009-07-10 16:46:41 +02:00
|
|
|
</interface>
|