2016-05-22 13:32:23 -03:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<interface>
|
|
|
|
<requires lib="gtk+" version="3.20"/>
|
|
|
|
<template class="CcWindow" parent="GtkApplicationWindow">
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="window_position">center</property>
|
2017-08-15 16:17:18 +01:00
|
|
|
<property name="default-width">980</property>
|
|
|
|
<property name="default-height">640</property>
|
2016-05-22 13:32:23 -03:00
|
|
|
<signal name="notify::window" handler="gdk_window_set_cb" object="CcWindow" swapped="no" />
|
|
|
|
<signal name="map-event" handler="window_map_event_cb" object="CcWindow" swapped="no" />
|
|
|
|
<child>
|
|
|
|
<object class="GtkBox" id="main_hbox">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<child>
|
2017-08-16 16:47:14 -03:00
|
|
|
<object class="GtkBox" id="sidebar_box">
|
2016-05-22 13:32:23 -03:00
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="hexpand">False</property>
|
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkSearchBar" id="search_bar">
|
|
|
|
<property name="visible">True</property>
|
2016-06-06 14:16:10 -03:00
|
|
|
<property name="search_mode_enabled" bind-source="search_button" bind-property="active" bind-flags="sync-create|bidirectional" />
|
2016-05-22 13:32:23 -03:00
|
|
|
<property name="app_paintable">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkSearchEntry" id="search_entry">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="width_chars">25</property>
|
2017-10-22 12:19:43 -04:00
|
|
|
<property name="input_hints">no-emoji</property>
|
2016-05-22 13:32:23 -03:00
|
|
|
<property name="max_width_chars">25</property>
|
|
|
|
<property name="primary_icon_name">edit-find-symbolic</property>
|
|
|
|
<property name="primary_icon_activatable">False</property>
|
|
|
|
<property name="primary_icon_sensitive">False</property>
|
2016-05-26 13:08:40 -03:00
|
|
|
<signal name="activate" handler="search_entry_activate_cb" object="CcWindow" swapped="no" />
|
2016-06-06 14:16:10 -03:00
|
|
|
<signal name="notify::text" handler="update_list_title" object="CcWindow" swapped="yes" />
|
2016-05-22 13:32:23 -03:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
2016-05-24 23:52:02 -03:00
|
|
|
<object class="GtkScrolledWindow" id="list_scrolled">
|
2016-05-22 13:32:23 -03:00
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="vexpand">True</property>
|
2016-05-24 23:52:02 -03:00
|
|
|
<property name="width-request">200</property>
|
2016-05-22 13:32:23 -03:00
|
|
|
<property name="hscrollbar_policy">never</property>
|
|
|
|
<style>
|
|
|
|
<class name="view"/>
|
|
|
|
</style>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkSeparator">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkStack" id="stack">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="hexpand">True</property>
|
|
|
|
<property name="vexpand">True</property>
|
|
|
|
<property name="transition_type">crossfade</property>
|
|
|
|
<style>
|
|
|
|
<class name="background"/>
|
|
|
|
</style>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">2</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child type="titlebar">
|
2016-05-22 14:11:31 -03:00
|
|
|
<object class="GtkBox" id="header_box">
|
2016-05-22 13:32:23 -03:00
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
2016-05-22 14:11:31 -03:00
|
|
|
<property name="orientation">horizontal</property>
|
2016-05-22 13:32:23 -03:00
|
|
|
<child>
|
2016-05-22 14:11:31 -03:00
|
|
|
<object class="GtkHeaderBar" id="header">
|
2016-05-22 13:32:23 -03:00
|
|
|
<property name="visible">True</property>
|
2016-05-22 14:11:31 -03:00
|
|
|
<property name="can_focus">False</property>
|
2017-09-03 15:27:25 +02:00
|
|
|
<property name="show-close-button">True</property>
|
2016-05-22 14:18:57 -03:00
|
|
|
<property name="title" translatable="yes">Settings</property>
|
2016-05-22 13:32:23 -03:00
|
|
|
<child>
|
2016-05-22 14:11:31 -03:00
|
|
|
<object class="GtkButton" id="previous_button">
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="receives_default">True</property>
|
|
|
|
<property name="no_show_all">True</property>
|
|
|
|
<signal name="clicked" handler="previous_button_clicked_cb" object="CcWindow" swapped="no" />
|
|
|
|
<child>
|
|
|
|
<object class="GtkImage">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="icon_name">go-previous-symbolic</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<style>
|
|
|
|
<class name="image-button"/>
|
|
|
|
</style>
|
2016-05-22 13:32:23 -03:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
2016-05-22 14:11:31 -03:00
|
|
|
<object class="GtkToggleButton" id="search_button">
|
2016-05-22 13:32:23 -03:00
|
|
|
<property name="visible">True</property>
|
2016-05-22 14:11:31 -03:00
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="receives_default">True</property>
|
|
|
|
<property name="no_show_all">True</property>
|
2017-11-20 17:05:52 +01:00
|
|
|
<child internal-child="accessible">
|
|
|
|
<object class="AtkObject">
|
|
|
|
<property name="accessible-name" translatable="yes">Search</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
2016-05-22 14:11:31 -03:00
|
|
|
<child>
|
|
|
|
<object class="GtkImage">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="icon_name">edit-find-symbolic</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<style>
|
|
|
|
<class name="image-button"/>
|
|
|
|
</style>
|
2016-05-22 13:32:23 -03:00
|
|
|
</object>
|
|
|
|
</child>
|
2016-05-22 14:18:57 -03:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkSeparator">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkHeaderBar" id="panel_headerbar">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="hexpand">True</property>
|
|
|
|
<property name="show_close_button">True</property>
|
2016-05-22 13:32:23 -03:00
|
|
|
<child>
|
2016-05-22 14:11:31 -03:00
|
|
|
<object class="GtkBox" id="top_right_box">
|
2016-05-22 13:32:23 -03:00
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
2016-05-22 14:11:31 -03:00
|
|
|
<child>
|
|
|
|
<object class="GtkLockButton" id="lock_button">
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="no_show_all">True</property>
|
|
|
|
<style>
|
|
|
|
<class name="text-button" />
|
|
|
|
</style>
|
|
|
|
</object>
|
|
|
|
</child>
|
2016-05-22 13:32:23 -03:00
|
|
|
</object>
|
2016-05-22 14:11:31 -03:00
|
|
|
<packing>
|
|
|
|
<property name="pack_type">end</property>
|
|
|
|
</packing>
|
2016-05-22 13:32:23 -03:00
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</template>
|
|
|
|
<object class="GtkSizeGroup" id="header_sizegroup">
|
|
|
|
<property name="mode">vertical</property>
|
|
|
|
<widgets>
|
|
|
|
<widget name="lock_button"/>
|
|
|
|
<widget name="search_button"/>
|
|
|
|
<widget name="previous_button"/>
|
|
|
|
</widgets>
|
|
|
|
</object>
|
2017-08-16 16:47:14 -03:00
|
|
|
|
|
|
|
<!-- Synchronize left header and sidebar -->
|
|
|
|
<object class="GtkSizeGroup">
|
|
|
|
<property name="mode">horizontal</property>
|
|
|
|
<widgets>
|
|
|
|
<widget name="header"/>
|
|
|
|
<widget name="sidebar_box"/>
|
|
|
|
</widgets>
|
|
|
|
</object>
|
2016-05-22 13:32:23 -03:00
|
|
|
</interface>
|