2018-12-20 18:14:19 +03:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2018-12-22 15:26:47 +03:00
|
|
|
<!-- Generated with glade 3.22.1
|
|
|
|
|
|
|
|
|
|
The MIT License (MIT)
|
|
|
|
|
|
|
|
|
|
Copyright (c) 2018 Dmitriy Yefremov
|
|
|
|
|
|
|
|
|
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
|
|
|
of this software and associated documentation files (the "Software"), to deal
|
|
|
|
|
in the Software without restriction, including without limitation the rights
|
|
|
|
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
|
|
|
copies of the Software, and to permit persons to whom the Software is
|
|
|
|
|
furnished to do so, subject to the following conditions:
|
|
|
|
|
|
|
|
|
|
The above copyright notice and this permission notice shall be included in
|
|
|
|
|
all copies or substantial portions of the Software.
|
|
|
|
|
|
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
|
|
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
|
|
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
|
|
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
|
|
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
|
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
|
|
|
THE SOFTWARE.
|
|
|
|
|
|
|
|
|
|
Author: Dmitriy Yefremov
|
|
|
|
|
|
|
|
|
|
-->
|
2018-12-20 18:14:19 +03:00
|
|
|
<interface>
|
2018-12-22 15:26:47 +03:00
|
|
|
<requires lib="gtk+" version="3.16"/>
|
|
|
|
|
<!-- interface-license-type mit -->
|
|
|
|
|
<!-- interface-name DemonEditor -->
|
|
|
|
|
<!-- interface-description Enigma2 channel and satellites list editor for GNU/Linux. -->
|
|
|
|
|
<!-- interface-copyright 2018 Dmitriy Yefremov -->
|
|
|
|
|
<!-- interface-authors Dmitriy Yefremov -->
|
2018-12-20 18:14:19 +03:00
|
|
|
<object class="GtkListStore" id="main_list_store">
|
|
|
|
|
<columns>
|
|
|
|
|
<!-- column-name date -->
|
|
|
|
|
<column type="gchararray"/>
|
|
|
|
|
<!-- column-name selected -->
|
|
|
|
|
<column type="gboolean"/>
|
|
|
|
|
</columns>
|
|
|
|
|
</object>
|
|
|
|
|
<object class="GtkWindow" id="dialog_window">
|
|
|
|
|
<property name="width_request">480</property>
|
|
|
|
|
<property name="height_request">320</property>
|
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
|
<property name="modal">True</property>
|
|
|
|
|
<property name="destroy_with_parent">True</property>
|
|
|
|
|
<property name="icon_name">extract-archive</property>
|
|
|
|
|
<child type="titlebar">
|
|
|
|
|
<object class="GtkHeaderBar" id="header_bar">
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="can_focus">False</property>
|
2018-12-20 22:59:01 +03:00
|
|
|
<property name="title" translatable="yes">Backups</property>
|
2018-12-20 18:14:19 +03:00
|
|
|
<property name="spacing">2</property>
|
|
|
|
|
<property name="show_close_button">True</property>
|
|
|
|
|
<child>
|
2018-12-22 15:26:47 +03:00
|
|
|
<object class="GtkBox" id="header_box">
|
2018-12-20 18:14:19 +03:00
|
|
|
<property name="visible">True</property>
|
2018-12-22 15:26:47 +03:00
|
|
|
<property name="can_focus">False</property>
|
|
|
|
|
<property name="spacing">2</property>
|
2018-12-20 18:14:19 +03:00
|
|
|
<child>
|
2018-12-22 15:26:47 +03:00
|
|
|
<object class="GtkButton" id="restore_bouquets_header_button">
|
2018-12-20 18:14:19 +03:00
|
|
|
<property name="visible">True</property>
|
2018-12-22 15:26:47 +03:00
|
|
|
<property name="can_focus">True</property>
|
|
|
|
|
<property name="receives_default">True</property>
|
|
|
|
|
<property name="tooltip_text" translatable="yes">Restore bouquets</property>
|
|
|
|
|
<signal name="clicked" handler="on_restore_bouquets" swapped="no"/>
|
|
|
|
|
<child>
|
|
|
|
|
<object class="GtkImage" id="restore_bouquets_header_button_image">
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
|
<property name="icon_name">document-revert-symbolic</property>
|
|
|
|
|
</object>
|
|
|
|
|
</child>
|
2018-12-20 18:14:19 +03:00
|
|
|
</object>
|
2018-12-22 15:26:47 +03:00
|
|
|
<packing>
|
|
|
|
|
<property name="expand">False</property>
|
|
|
|
|
<property name="fill">True</property>
|
|
|
|
|
<property name="position">0</property>
|
|
|
|
|
</packing>
|
|
|
|
|
</child>
|
|
|
|
|
<child>
|
|
|
|
|
<object class="GtkButton" id="restore_all_header_button">
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
|
<property name="receives_default">True</property>
|
|
|
|
|
<property name="tooltip_text" translatable="yes">Restore all</property>
|
|
|
|
|
<signal name="clicked" handler="on_restore_all" swapped="no"/>
|
|
|
|
|
<child>
|
|
|
|
|
<object class="GtkImage" id="restore_all_header_button_image">
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
|
<property name="icon_name">edit-select-all-symbolic</property>
|
|
|
|
|
</object>
|
|
|
|
|
</child>
|
|
|
|
|
</object>
|
|
|
|
|
<packing>
|
|
|
|
|
<property name="expand">False</property>
|
|
|
|
|
<property name="fill">True</property>
|
|
|
|
|
<property name="position">1</property>
|
|
|
|
|
</packing>
|
2018-12-20 18:14:19 +03:00
|
|
|
</child>
|
|
|
|
|
<child>
|
2018-12-22 15:26:47 +03:00
|
|
|
<object class="GtkSeparator">
|
2018-12-20 18:14:19 +03:00
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
|
</object>
|
2018-12-22 15:26:47 +03:00
|
|
|
<packing>
|
|
|
|
|
<property name="expand">False</property>
|
|
|
|
|
<property name="fill">True</property>
|
|
|
|
|
<property name="position">2</property>
|
|
|
|
|
</packing>
|
|
|
|
|
</child>
|
|
|
|
|
<child>
|
|
|
|
|
<object class="GtkButton" id="remove_header_button">
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
|
<property name="receives_default">True</property>
|
|
|
|
|
<property name="tooltip_text" translatable="yes">Remove</property>
|
|
|
|
|
<signal name="clicked" handler="on_remove" swapped="no"/>
|
|
|
|
|
<child>
|
|
|
|
|
<object class="GtkImage" id="remove_button_image">
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
|
<property name="icon_name">user-trash-symbolic</property>
|
|
|
|
|
</object>
|
|
|
|
|
</child>
|
|
|
|
|
</object>
|
|
|
|
|
<packing>
|
|
|
|
|
<property name="expand">False</property>
|
|
|
|
|
<property name="fill">True</property>
|
|
|
|
|
<property name="position">3</property>
|
|
|
|
|
</packing>
|
2018-12-20 18:14:19 +03:00
|
|
|
</child>
|
|
|
|
|
</object>
|
|
|
|
|
</child>
|
|
|
|
|
</object>
|
|
|
|
|
</child>
|
|
|
|
|
<child>
|
2018-12-20 22:59:01 +03:00
|
|
|
<object class="GtkBox">
|
2018-12-20 18:14:19 +03:00
|
|
|
<property name="visible">True</property>
|
2018-12-20 22:59:01 +03:00
|
|
|
<property name="can_focus">False</property>
|
|
|
|
|
<property name="orientation">vertical</property>
|
2018-12-20 18:14:19 +03:00
|
|
|
<child>
|
2018-12-20 22:59:01 +03:00
|
|
|
<object class="GtkScrolledWindow" id="main_view_scrolled_window">
|
|
|
|
|
<property name="width_request">480</property>
|
2018-12-20 18:14:19 +03:00
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="can_focus">True</property>
|
2018-12-20 22:59:01 +03:00
|
|
|
<property name="shadow_type">in</property>
|
2018-12-20 18:14:19 +03:00
|
|
|
<child>
|
2018-12-20 22:59:01 +03:00
|
|
|
<object class="GtkTreeView" id="main_view">
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
|
<property name="model">main_list_store</property>
|
|
|
|
|
<property name="headers_visible">False</property>
|
|
|
|
|
<property name="search_column">0</property>
|
|
|
|
|
<property name="rubber_banding">True</property>
|
|
|
|
|
<signal name="button-press-event" handler="on_view_popup_menu" object="popup_menu" swapped="no"/>
|
|
|
|
|
<child internal-child="selection">
|
|
|
|
|
<object class="GtkTreeSelection" id="main_view_selection">
|
|
|
|
|
<property name="mode">multiple</property>
|
|
|
|
|
</object>
|
|
|
|
|
</child>
|
|
|
|
|
<child>
|
|
|
|
|
<object class="GtkTreeViewColumn" id="backup_date_column">
|
|
|
|
|
<property name="title" translatable="yes">Backup</property>
|
|
|
|
|
<property name="clickable">True</property>
|
|
|
|
|
<property name="alignment">0.5</property>
|
|
|
|
|
<property name="reorderable">True</property>
|
|
|
|
|
<property name="sort_column_id">0</property>
|
|
|
|
|
<child>
|
|
|
|
|
<object class="GtkCellRendererText" id="date_render">
|
|
|
|
|
<property name="xpad">10</property>
|
|
|
|
|
</object>
|
|
|
|
|
<attributes>
|
|
|
|
|
<attribute name="text">0</attribute>
|
|
|
|
|
</attributes>
|
|
|
|
|
</child>
|
|
|
|
|
</object>
|
|
|
|
|
</child>
|
|
|
|
|
</object>
|
|
|
|
|
</child>
|
|
|
|
|
</object>
|
|
|
|
|
<packing>
|
|
|
|
|
<property name="expand">True</property>
|
|
|
|
|
<property name="fill">True</property>
|
|
|
|
|
<property name="position">0</property>
|
|
|
|
|
</packing>
|
|
|
|
|
</child>
|
|
|
|
|
<child>
|
|
|
|
|
<object class="GtkInfoBar" id="info_bar">
|
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
|
<property name="show_close_button">True</property>
|
|
|
|
|
<signal name="response" handler="on_info_bar_close" swapped="no"/>
|
|
|
|
|
<child internal-child="action_area">
|
|
|
|
|
<object class="GtkButtonBox">
|
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
|
<property name="spacing">6</property>
|
|
|
|
|
<property name="layout_style">end</property>
|
|
|
|
|
</object>
|
|
|
|
|
<packing>
|
|
|
|
|
<property name="expand">False</property>
|
|
|
|
|
<property name="fill">False</property>
|
|
|
|
|
<property name="position">0</property>
|
|
|
|
|
</packing>
|
|
|
|
|
</child>
|
|
|
|
|
<child internal-child="content_area">
|
|
|
|
|
<object class="GtkBox">
|
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
|
<property name="spacing">16</property>
|
2018-12-20 18:14:19 +03:00
|
|
|
<child>
|
2018-12-20 22:59:01 +03:00
|
|
|
<object class="GtkLabel" id="message_label">
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
|
<property name="label" translatable="yes">message</property>
|
2018-12-20 18:14:19 +03:00
|
|
|
</object>
|
2018-12-20 22:59:01 +03:00
|
|
|
<packing>
|
|
|
|
|
<property name="expand">False</property>
|
|
|
|
|
<property name="fill">True</property>
|
|
|
|
|
<property name="position">0</property>
|
|
|
|
|
</packing>
|
2018-12-20 18:14:19 +03:00
|
|
|
</child>
|
|
|
|
|
</object>
|
2018-12-20 22:59:01 +03:00
|
|
|
<packing>
|
|
|
|
|
<property name="expand">False</property>
|
|
|
|
|
<property name="fill">False</property>
|
|
|
|
|
<property name="position">0</property>
|
|
|
|
|
</packing>
|
2018-12-20 18:14:19 +03:00
|
|
|
</child>
|
|
|
|
|
</object>
|
2018-12-20 22:59:01 +03:00
|
|
|
<packing>
|
|
|
|
|
<property name="expand">False</property>
|
|
|
|
|
<property name="fill">True</property>
|
|
|
|
|
<property name="position">2</property>
|
|
|
|
|
</packing>
|
2018-12-20 18:14:19 +03:00
|
|
|
</child>
|
|
|
|
|
</object>
|
|
|
|
|
</child>
|
|
|
|
|
</object>
|
2018-12-20 22:59:01 +03:00
|
|
|
<object class="GtkImage" id="restore_popup_menu_item_image">
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
|
<property name="stock">gtk-revert-to-saved</property>
|
|
|
|
|
</object>
|
|
|
|
|
<object class="GtkImage" id="restore_popup_menu_item_image2">
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
|
<property name="stock">gtk-revert-to-saved</property>
|
|
|
|
|
</object>
|
|
|
|
|
<object class="GtkMenu" id="popup_menu">
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
|
<child>
|
|
|
|
|
<object class="GtkImageMenuItem" id="restore_bouquets_popup_menu_item">
|
|
|
|
|
<property name="label" translatable="yes">Restore bouquets</property>
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
|
<property name="image">restore_popup_menu_item_image</property>
|
|
|
|
|
<property name="use_stock">False</property>
|
2018-12-21 00:48:45 +03:00
|
|
|
<signal name="activate" handler="on_restore_bouquets" swapped="no"/>
|
2018-12-20 22:59:01 +03:00
|
|
|
<accelerator key="r" signal="activate" modifiers="GDK_CONTROL_MASK"/>
|
|
|
|
|
</object>
|
|
|
|
|
</child>
|
|
|
|
|
<child>
|
|
|
|
|
<object class="GtkImageMenuItem" id="restore_all_popup_menu_item">
|
|
|
|
|
<property name="label" translatable="yes">Restore all</property>
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
|
<property name="image">restore_popup_menu_item_image2</property>
|
|
|
|
|
<property name="use_stock">False</property>
|
2018-12-21 00:48:45 +03:00
|
|
|
<signal name="activate" handler="on_restore_all" swapped="no"/>
|
2018-12-20 22:59:01 +03:00
|
|
|
<accelerator key="e" signal="activate" modifiers="GDK_CONTROL_MASK"/>
|
|
|
|
|
</object>
|
|
|
|
|
</child>
|
|
|
|
|
<child>
|
|
|
|
|
<object class="GtkSeparatorMenuItem" id="popup_menu_separator">
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
|
</object>
|
|
|
|
|
</child>
|
|
|
|
|
<child>
|
|
|
|
|
<object class="GtkImageMenuItem" id="remove_popup_menu_item">
|
|
|
|
|
<property name="label">gtk-remove</property>
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
|
<property name="use_underline">True</property>
|
|
|
|
|
<property name="use_stock">True</property>
|
|
|
|
|
<signal name="activate" handler="on_remove" swapped="no"/>
|
|
|
|
|
<accelerator key="Delete" signal="activate"/>
|
|
|
|
|
</object>
|
|
|
|
|
</child>
|
|
|
|
|
</object>
|
2018-12-20 18:14:19 +03:00
|
|
|
</interface>
|