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>
|
2016-05-22 14:35:26 -03:00
|
|
|
<property name="default-width">720</property>
|
|
|
|
<property name="default-height">480</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>
|
|
|
|
<object class="GtkBox">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="hexpand">False</property>
|
|
|
|
<property name="orientation">vertical</property>
|
2016-05-22 14:25:06 -03:00
|
|
|
<signal name="size-allocate" handler="sidelist_size_allocate_cb" object="CcWindow" swapped="no" />
|
2016-05-22 13:32:23 -03:00
|
|
|
<child>
|
|
|
|
<object class="GtkSearchBar" id="search_bar">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<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>
|
|
|
|
<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>
|
|
|
|
<signal name="search-changed" handler="search_entry_changed_cb" object="CcWindow" swapped="no" />
|
|
|
|
<signal name="key-press-event" handler="search_entry_key_press_event_cb" object="CcWindow" swapped="no" />
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkScrolledWindow">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="vexpand">True</property>
|
|
|
|
<property name="hscrollbar_policy">never</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkViewport">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkBox" id="main_vbox">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="border_width">12</property>
|
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
<child>
|
|
|
|
<placeholder/>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<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>
|
|
|
|
<signal name="notify::visible-child" handler="stack_page_notify_cb" object="CcWindow" swapped="no" />
|
|
|
|
<child>
|
|
|
|
<object class="GtkBox">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="orientation">vertical</property>
|
2016-05-22 14:48:55 -03:00
|
|
|
<property name="spacing">12</property>
|
|
|
|
<property name="expand">True</property>
|
|
|
|
<property name="halign">center</property>
|
|
|
|
<property name="valign">center</property>
|
|
|
|
<child type="center">
|
|
|
|
<object class="GtkImage">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="pixel_size">72</property>
|
|
|
|
<property name="icon_name">preferences-system-symbolic</property>
|
|
|
|
<style>
|
|
|
|
<class name="dim-label"/>
|
|
|
|
</style>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">0</property>
|
|
|
|
</packing>
|
2016-05-22 13:32:23 -03:00
|
|
|
</child>
|
|
|
|
<child>
|
2016-05-22 14:48:55 -03:00
|
|
|
<object class="GtkLabel">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="label" translatable="yes">Welcome to the Control Center</property>
|
|
|
|
<attributes>
|
|
|
|
<attribute name="weight" value="bold"/>
|
|
|
|
<attribute name="scale" value="1.44"/>
|
|
|
|
</attributes>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="pack-type">end</property>
|
|
|
|
<property name="position">2</property>
|
|
|
|
</packing>
|
2016-05-22 13:32:23 -03:00
|
|
|
</child>
|
|
|
|
<child>
|
2016-05-22 14:48:55 -03:00
|
|
|
<object class="GtkLabel">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="label" translatable="yes">Select a panel in the sidelist to see the available options</property>
|
|
|
|
<style>
|
|
|
|
<class name="dim-label"/>
|
|
|
|
</style>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="pack-type">end</property>
|
|
|
|
<property name="position">1</property>
|
|
|
|
</packing>
|
2016-05-22 13:32:23 -03:00
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="name">_overview</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<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>
|
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">
|
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>
|
|
|
|
<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="active" bind-source="search_bar" bind-property="search-mode-enabled" bind-flags="bidirectional" />
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="receives_default">True</property>
|
|
|
|
<property name="no_show_all">True</property>
|
|
|
|
<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="visible">True</property>
|
|
|
|
<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>
|
|
|
|
</interface>
|