SafeEyes/safeeyes/glade/settings_dialog.glade

1169 lines
68 KiB
Plaintext
Raw Normal View History

<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.38.2 -->
2016-10-15 06:11:27 +02:00
<!--
~ Safe Eyes is a utility to remind you to take break frequently
~ to protect your eyes from eye strain.
~ Copyright (C) 2016 Gobinath
~ This program is free software: you can redistribute it and/or modify
~ it under the terms of the GNU General Public License as published by
~ the Free Software Foundation, either version 3 of the License, or
~ (at your option) any later version.
~ This program is distributed in the hope that it will be useful,
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
~ GNU General Public License for more details.
~ You should have received a copy of the GNU General Public License
~ along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<interface>
<requires lib="gtk+" version="3.12"/>
2017-10-07 15:10:31 +02:00
<object class="GtkAdjustment" id="adjust_disable_keyboard_shortcut_duration">
<property name="upper">15</property>
<property name="step-increment">1</property>
<property name="page-increment">5</property>
2016-10-15 06:11:27 +02:00
</object>
<object class="GtkAdjustment" id="adjust_long_break_duration">
<property name="lower">1</property>
<property name="upper">3600</property>
<property name="step-increment">5</property>
<property name="page-increment">10</property>
2016-10-15 06:11:27 +02:00
</object>
2017-10-07 15:10:31 +02:00
<object class="GtkAdjustment" id="adjust_long_break_interval">
<property name="upper">120</property>
<property name="step-increment">1</property>
<property name="page-increment">5</property>
2016-10-15 06:11:27 +02:00
</object>
2017-04-08 14:18:38 +02:00
<object class="GtkAdjustment" id="adjust_postpone_duration">
<property name="lower">1</property>
<property name="upper">15</property>
<property name="step-increment">1</property>
<property name="page-increment">5</property>
2017-04-08 14:18:38 +02:00
</object>
2016-10-15 06:11:27 +02:00
<object class="GtkAdjustment" id="adjust_short_break_duration">
<property name="lower">1</property>
<property name="upper">1800</property>
<property name="step-increment">1</property>
<property name="page-increment">5</property>
2016-10-15 06:11:27 +02:00
</object>
2017-10-07 15:10:31 +02:00
<object class="GtkAdjustment" id="adjust_short_break_interval">
<property name="lower">1</property>
2016-10-15 06:11:27 +02:00
<property name="upper">60</property>
<property name="step-increment">1</property>
<property name="page-increment">5</property>
2016-10-15 06:11:27 +02:00
</object>
2017-04-08 14:18:38 +02:00
<object class="GtkAdjustment" id="adjust_time_to_prepare">
2017-02-06 03:09:04 +01:00
<property name="lower">1</property>
2017-04-08 14:18:38 +02:00
<property name="upper">60</property>
<property name="step-increment">1</property>
<property name="page-increment">5</property>
2017-02-06 03:09:04 +01:00
</object>
2017-10-07 15:10:31 +02:00
<object class="GtkImage" id="img_add">
<property name="visible">True</property>
<property name="can-focus">False</property>
2017-10-07 15:10:31 +02:00
<property name="stock">gtk-add</property>
</object>
<object class="GtkPopover" id="popover">
<property name="can-focus">False</property>
<child>
<object class="GtkBox">
<property name="width-request">128</property>
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="orientation">vertical</property>
<property name="spacing">5</property>
<property name="homogeneous">True</property>
<child>
<object class="GtkButton">
<property name="label" translatable="yes">Reset</property>
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="receives-default">True</property>
<signal name="clicked" handler="on_reset_menu_clicked" swapped="no"/>
<style>
<class name="btn_menu"/>
</style>
</object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
</object>
</child>
</object>
<object class="GtkApplicationWindow" id="window_settings">
<property name="can-focus">False</property>
2019-11-25 02:39:28 +01:00
<property name="title" translatable="yes">Safe Eyes</property>
<property name="window-position">center</property>
<property name="default-width">450</property>
<property name="default-height">650</property>
<property name="icon-name">safeeyes</property>
2017-10-07 15:10:31 +02:00
<property name="gravity">center</property>
<signal name="delete-event" handler="on_window_delete" swapped="no"/>
2016-10-15 06:11:27 +02:00
<child>
<object class="GtkStack" id="stack">
2016-10-15 06:11:27 +02:00
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="interpolate-size">True</property>
2016-10-15 06:11:27 +02:00
<child>
2019-11-25 12:14:00 +01:00
<object class="GtkScrolledWindow" id="scrolledwindow_settings">
2016-10-15 06:11:27 +02:00
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="hscrollbar-policy">never</property>
<property name="shadow-type">in</property>
2017-02-06 03:09:04 +01:00
<child>
2019-11-25 12:14:00 +01:00
<object class="GtkViewport" id="viewport_settings">
2017-04-08 14:18:38 +02:00
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="shadow-type">none</property>
2017-10-07 15:10:31 +02:00
<child>
2019-11-25 12:14:00 +01:00
<object class="GtkBox" id="box_settings">
2017-10-07 15:10:31 +02:00
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="margin-left">5</property>
<property name="margin-right">5</property>
2019-11-25 12:14:00 +01:00
<property name="orientation">vertical</property>
<property name="spacing">15</property>
2017-10-07 15:10:31 +02:00
<child>
2019-11-25 12:14:00 +01:00
<object class="GtkFrame" id="frame_short_breaks">
2017-10-07 15:10:31 +02:00
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label-xalign">0</property>
<property name="shadow-type">in</property>
2017-10-07 15:10:31 +02:00
<child>
2019-11-25 12:14:00 +01:00
<object class="GtkAlignment" id="alignment2">
2017-10-07 15:10:31 +02:00
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="left-padding">12</property>
2017-10-07 15:10:31 +02:00
<child>
2019-11-25 12:14:00 +01:00
<object class="GtkBox" id="box13">
2017-10-07 15:10:31 +02:00
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="margin-right">10</property>
<property name="margin-top">10</property>
<property name="margin-bottom">10</property>
2019-11-25 12:14:00 +01:00
<property name="orientation">vertical</property>
<property name="spacing">15</property>
<property name="homogeneous">True</property>
<child>
<object class="GtkBox" id="box7">
<property name="visible">True</property>
<property name="can-focus">False</property>
2019-11-25 12:14:00 +01:00
<property name="spacing">5</property>
<child>
<object class="GtkLabel" id="lbl_interval_between_breaks">
<property name="visible">True</property>
<property name="can-focus">False</property>
2019-11-25 12:14:00 +01:00
<property name="label" translatable="yes">Interval between two breaks (in minutes)</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkSpinButton" id="spin_short_break_interval">
<property name="visible">True</property>
<property name="can-focus">True</property>
2019-11-25 12:14:00 +01:00
<property name="halign">end</property>
<property name="valign">center</property>
<property name="text" translatable="yes">1</property>
<property name="input-purpose">number</property>
2019-11-25 12:14:00 +01:00
<property name="adjustment">adjust_short_break_interval</property>
<property name="climb-rate">1</property>
2019-11-25 12:14:00 +01:00
<property name="numeric">True</property>
<property name="update-policy">if-valid</property>
2019-11-25 12:14:00 +01:00
<property name="value">1</property>
<signal name="value-changed" handler="on_spin_short_break_interval_change" swapped="no"/>
2019-11-25 12:14:00 +01:00
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="pack-type">end</property>
2019-11-25 12:14:00 +01:00
<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="GtkBox" id="box2">
<property name="visible">True</property>
<property name="can-focus">False</property>
2019-11-25 12:14:00 +01:00
<property name="spacing">5</property>
<child>
<object class="GtkLabel" id="lbl_short_break_duration">
<property name="visible">True</property>
<property name="can-focus">False</property>
2019-11-25 12:14:00 +01:00
<property name="label" translatable="yes">Break duration (in seconds)</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkSpinButton" id="spin_short_break_duration">
<property name="visible">True</property>
<property name="can-focus">True</property>
2019-11-25 12:14:00 +01:00
<property name="halign">end</property>
<property name="valign">center</property>
<property name="text" translatable="yes">1</property>
<property name="input-purpose">number</property>
2019-11-25 12:14:00 +01:00
<property name="adjustment">adjust_short_break_duration</property>
<property name="climb-rate">1</property>
2019-11-25 12:14:00 +01:00
<property name="numeric">True</property>
<property name="update-policy">if-valid</property>
2019-11-25 12:14:00 +01:00
<property name="value">1</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="pack-type">end</property>
2019-11-25 12:14:00 +01:00
<property name="position">1</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
2017-10-07 15:10:31 +02:00
</object>
</child>
</object>
</child>
2019-11-25 12:14:00 +01:00
<child type="label">
<object class="GtkLabel" id="lbl_frames">
2017-10-07 15:10:31 +02:00
<property name="visible">True</property>
<property name="can-focus">False</property>
2019-11-25 12:14:00 +01:00
<property name="label" translatable="yes">Short Breaks</property>
2017-10-07 15:10:31 +02:00
</object>
</child>
</object>
2019-11-25 12:14:00 +01:00
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
2017-10-07 15:10:31 +02:00
</child>
<child>
2019-11-25 12:14:00 +01:00
<object class="GtkFrame" id="frame_long_breaks">
2017-10-07 15:10:31 +02:00
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label-xalign">0</property>
<property name="shadow-type">in</property>
2017-10-07 15:10:31 +02:00
<child>
2019-11-25 12:14:00 +01:00
<object class="GtkAlignment" id="alignment3">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="left-padding">12</property>
2019-11-25 12:14:00 +01:00
<child>
<object class="GtkBox" id="box14">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="margin-right">10</property>
<property name="margin-top">10</property>
<property name="margin-bottom">10</property>
2019-11-25 12:14:00 +01:00
<property name="orientation">vertical</property>
<property name="spacing">15</property>
<property name="homogeneous">True</property>
2017-10-07 15:10:31 +02:00
<child>
2019-11-25 12:14:00 +01:00
<object class="GtkInfoBar" id="info_bar_long_break">
<property name="app-paintable">True</property>
<property name="can-focus">False</property>
<property name="no-show-all">True</property>
<property name="show-close-button">True</property>
<signal name="close" handler="on_info_bar_long_break_close" swapped="no"/>
<signal name="response" handler="on_info_bar_long_break_close" swapped="no"/>
2019-11-25 12:14:00 +01:00
<child internal-child="action_area">
<object class="GtkButtonBox">
<property name="can-focus">False</property>
2019-11-25 12:14:00 +01:00
<property name="spacing">6</property>
<property name="layout-style">start</property>
2019-11-25 12:14:00 +01:00
<child>
<placeholder/>
2019-11-25 12:14:00 +01:00
</child>
</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>
2019-11-25 12:14:00 +01:00
<property name="spacing">16</property>
<child>
<object class="GtkImage" id="image1">
<property name="visible">True</property>
<property name="can-focus">False</property>
2019-11-25 12:14:00 +01:00
<property name="stock">gtk-info</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="label2">
<property name="visible">True</property>
<property name="can-focus">False</property>
2019-11-25 12:14:00 +01:00
<property name="label" translatable="yes">Long break interval must be a multiple of short break interval</property>
<property name="xalign">0</property>
</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">False</property>
<property name="position">0</property>
</packing>
</child>
<child>
<placeholder/>
2019-11-25 12:14:00 +01:00
</child>
<style>
<class name="info_bar_long_break"/>
2019-11-25 12:14:00 +01:00
</style>
</object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
2017-10-07 15:10:31 +02:00
</child>
<child>
2019-11-25 12:14:00 +01:00
<object class="GtkBox" id="box8">
2017-10-07 15:10:31 +02:00
<property name="visible">True</property>
<property name="can-focus">False</property>
2019-11-25 12:14:00 +01:00
<property name="spacing">5</property>
<child>
<object class="GtkLabel" id="lbl_short_per_long">
<property name="visible">True</property>
<property name="can-focus">False</property>
2019-11-25 12:14:00 +01:00
<property name="label" translatable="yes">Interval between two breaks (in minutes)</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkSpinButton" id="spin_long_break_interval">
<property name="visible">True</property>
<property name="can-focus">True</property>
2019-11-25 12:14:00 +01:00
<property name="halign">end</property>
<property name="valign">center</property>
<property name="text" translatable="yes">1</property>
<property name="input-purpose">number</property>
2019-11-25 12:14:00 +01:00
<property name="adjustment">adjust_long_break_interval</property>
<property name="climb-rate">1</property>
<property name="snap-to-ticks">True</property>
2019-11-25 12:14:00 +01:00
<property name="numeric">True</property>
<property name="wrap">True</property>
<property name="update-policy">if-valid</property>
2019-11-25 12:14:00 +01:00
<property name="value">1</property>
<signal name="value-changed" handler="on_spin_long_break_interval_change" swapped="no"/>
2019-11-25 12:14:00 +01:00
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="pack-type">end</property>
2019-11-25 12:14:00 +01:00
<property name="position">1</property>
</packing>
</child>
2017-10-07 15:10:31 +02:00
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
2019-11-25 12:14:00 +01:00
<property name="position">1</property>
2017-10-07 15:10:31 +02:00
</packing>
</child>
<child>
2019-11-25 12:14:00 +01:00
<object class="GtkBox" id="box3">
2017-10-07 15:10:31 +02:00
<property name="visible">True</property>
<property name="can-focus">False</property>
2019-11-25 12:14:00 +01:00
<property name="spacing">5</property>
<child>
<object class="GtkLabel" id="lbl_long_break_duration">
<property name="visible">True</property>
<property name="can-focus">False</property>
2019-11-25 12:14:00 +01:00
<property name="label" translatable="yes">Break duration (in seconds)</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkSpinButton" id="spin_long_break_duration">
<property name="visible">True</property>
<property name="can-focus">True</property>
2019-11-25 12:14:00 +01:00
<property name="halign">end</property>
<property name="valign">center</property>
<property name="text" translatable="yes">1</property>
<property name="input-purpose">number</property>
2019-11-25 12:14:00 +01:00
<property name="adjustment">adjust_long_break_duration</property>
<property name="climb-rate">1</property>
2019-11-25 12:14:00 +01:00
<property name="numeric">True</property>
<property name="update-policy">if-valid</property>
2019-11-25 12:14:00 +01:00
<property name="value">1</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="pack-type">end</property>
2019-11-25 12:14:00 +01:00
<property name="position">1</property>
</packing>
</child>
2017-10-07 15:10:31 +02:00
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
2019-11-25 12:14:00 +01:00
<property name="position">2</property>
2017-10-07 15:10:31 +02:00
</packing>
</child>
</object>
</child>
</object>
</child>
2019-11-25 12:14:00 +01:00
<child type="label">
<object class="GtkLabel" id="lbl_lon_breaks">
2017-10-07 15:10:31 +02:00
<property name="visible">True</property>
<property name="can-focus">False</property>
2019-11-25 12:14:00 +01:00
<property name="label" translatable="yes">Long Breaks</property>
2017-10-07 15:10:31 +02:00
</object>
</child>
</object>
2019-11-25 12:14:00 +01:00
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
2017-10-07 15:10:31 +02:00
</child>
<child>
2019-11-25 12:14:00 +01:00
<object class="GtkFrame" id="frame_options">
2017-10-07 15:10:31 +02:00
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label-xalign">0</property>
<property name="shadow-type">in</property>
2017-10-07 15:10:31 +02:00
<child>
2019-11-25 12:14:00 +01:00
<object class="GtkAlignment" id="alignment1">
2017-10-07 15:10:31 +02:00
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="left-padding">12</property>
2017-10-07 15:10:31 +02:00
<child>
2019-11-25 12:14:00 +01:00
<object class="GtkBox" id="box12">
2017-10-07 15:10:31 +02:00
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="margin-right">10</property>
<property name="margin-top">10</property>
<property name="margin-bottom">10</property>
2019-11-25 12:14:00 +01:00
<property name="orientation">vertical</property>
<property name="spacing">15</property>
<property name="homogeneous">True</property>
<child>
<object class="GtkBox" id="box6">
<property name="visible">True</property>
<property name="can-focus">False</property>
2019-11-25 12:14:00 +01:00
<property name="spacing">5</property>
<child>
<object class="GtkLabel" id="lbl_time_to_prepare">
<property name="visible">True</property>
<property name="can-focus">False</property>
2019-11-25 12:14:00 +01:00
<property name="label" translatable="yes">Time to prepare for a break (in seconds)</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkSpinButton" id="spin_time_to_prepare">
<property name="visible">True</property>
<property name="can-focus">True</property>
2019-11-25 12:14:00 +01:00
<property name="halign">end</property>
<property name="valign">center</property>
<property name="text" translatable="yes">1</property>
<property name="input-purpose">number</property>
2019-11-25 12:14:00 +01:00
<property name="adjustment">adjust_time_to_prepare</property>
<property name="climb-rate">1</property>
2019-11-25 12:14:00 +01:00
<property name="numeric">True</property>
<property name="update-policy">if-valid</property>
2019-11-25 12:14:00 +01:00
<property name="value">1</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="pack-type">end</property>
2019-11-25 12:14:00 +01:00
<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="GtkBox" id="box16_random_order">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="spacing">5</property>
<child>
<object class="GtkLabel" id="lbl_random_order">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">Show breaks in random order</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkSwitch" id="switch_random_order">
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="halign">end</property>
<property name="valign">center</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="pack-type">end</property>
<property name="position">1</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
2019-11-25 02:39:28 +01:00
<child>
2019-11-25 12:14:00 +01:00
<object class="GtkBox" id="box9">
<property name="visible">True</property>
<property name="can-focus">False</property>
2019-11-25 12:14:00 +01:00
<property name="spacing">5</property>
<child>
<object class="GtkLabel" id="lbl_strict_break">
<property name="visible">True</property>
<property name="can-focus">False</property>
2019-11-25 12:14:00 +01:00
<property name="label" translatable="yes">Strict break (No way to skip breaks)</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkSwitch" id="switch_strict_break">
<property name="visible">True</property>
<property name="can-focus">True</property>
2019-11-25 12:14:00 +01:00
<property name="halign">end</property>
<property name="valign">center</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="pack-type">end</property>
2019-11-25 12:14:00 +01:00
<property name="position">1</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">2</property>
2019-11-25 12:14:00 +01:00
</packing>
2019-11-25 02:39:28 +01:00
</child>
<child>
2019-11-25 12:14:00 +01:00
<object class="GtkBox" id="box11">
2019-11-25 02:39:28 +01:00
<property name="visible">True</property>
<property name="can-focus">False</property>
2019-11-25 12:14:00 +01:00
<property name="spacing">5</property>
<child>
<object class="GtkLabel" id="lbl_allow_postpone">
<property name="visible">True</property>
<property name="can-focus">False</property>
2019-11-25 12:14:00 +01:00
<property name="label" translatable="yes">Allow postponing breaks</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkSwitch" id="switch_postpone">
<property name="visible">True</property>
<property name="can-focus">True</property>
2019-11-25 12:14:00 +01:00
<property name="halign">end</property>
<property name="valign">center</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="pack-type">end</property>
2019-11-25 12:14:00 +01:00
<property name="position">1</property>
</packing>
</child>
2019-11-25 02:39:28 +01:00
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">3</property>
2019-11-25 12:14:00 +01:00
</packing>
</child>
<child>
<object class="GtkBox" id="box10">
<property name="visible">True</property>
<property name="can-focus">False</property>
2019-11-25 12:14:00 +01:00
<property name="spacing">5</property>
<child>
<object class="GtkLabel" id="lbl_postpone_duration">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">Postpone duration (in minutes)</property>
2019-11-25 12:14:00 +01:00
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkSpinButton" id="spin_postpone_duration">
<property name="visible">True</property>
<property name="can-focus">True</property>
2019-11-25 12:14:00 +01:00
<property name="halign">end</property>
<property name="valign">center</property>
<property name="text" translatable="yes">1</property>
<property name="input-purpose">number</property>
2019-11-25 12:14:00 +01:00
<property name="adjustment">adjust_postpone_duration</property>
<property name="climb-rate">1</property>
2019-11-25 12:14:00 +01:00
<property name="numeric">True</property>
<property name="update-policy">if-valid</property>
2019-11-25 12:14:00 +01:00
<property name="value">1</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="pack-type">end</property>
2019-11-25 12:14:00 +01:00
<property name="position">1</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">4</property>
2019-11-25 02:39:28 +01:00
</packing>
</child>
<child>
2019-11-25 12:14:00 +01:00
<object class="GtkBox" id="box5">
2019-11-25 02:39:28 +01:00
<property name="visible">True</property>
<property name="can-focus">False</property>
2019-11-25 12:14:00 +01:00
<property name="spacing">5</property>
<child>
<object class="GtkLabel" id="lbl_shortcuts">
<property name="visible">True</property>
<property name="can-focus">False</property>
2019-11-25 12:14:00 +01:00
<property name="label" translatable="yes">Keyboard shortcuts disabled period (in seconds)</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkSpinButton" id="spin_disable_keyboard_shortcut">
<property name="visible">True</property>
<property name="can-focus">True</property>
2019-11-25 12:14:00 +01:00
<property name="halign">end</property>
<property name="valign">center</property>
<property name="text" translatable="yes">1</property>
<property name="input-purpose">number</property>
2019-11-25 12:14:00 +01:00
<property name="adjustment">adjust_disable_keyboard_shortcut_duration</property>
<property name="climb-rate">1</property>
2019-11-25 12:14:00 +01:00
<property name="numeric">True</property>
<property name="update-policy">if-valid</property>
2019-11-25 12:14:00 +01:00
<property name="value">1</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="pack-type">end</property>
2019-11-25 12:14:00 +01:00
<property name="position">1</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">5</property>
2019-11-25 12:14:00 +01:00
</packing>
</child>
<child>
<object class="GtkBox" id="box1">
<property name="visible">True</property>
<property name="can-focus">False</property>
2019-11-25 12:14:00 +01:00
<property name="spacing">5</property>
<child>
<object class="GtkLabel" id="lbl_persist_state">
<property name="visible">True</property>
<property name="can-focus">False</property>
2019-11-25 12:14:00 +01:00
<property name="label" translatable="yes">Persist the internal state</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkSwitch" id="switch_persist">
<property name="visible">True</property>
<property name="can-focus">True</property>
2019-11-25 12:14:00 +01:00
<property name="halign">end</property>
<property name="valign">center</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="pack-type">end</property>
2019-11-25 12:14:00 +01:00
<property name="position">1</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">6</property>
2019-11-25 12:14:00 +01:00
</packing>
</child>
<child>
<object class="GtkInfoBar" id="warn_bar_rpc_server">
<property name="app-paintable">True</property>
<property name="can-focus">False</property>
<property name="no-show-all">True</property>
<property name="message-type">warning</property>
<property name="show-close-button">True</property>
<signal name="close" handler="on_warn_bar_rpc_server_close" swapped="no"/>
<signal name="response" handler="on_warn_bar_rpc_server_close" swapped="no"/>
2019-11-25 12:14:00 +01:00
<child internal-child="action_area">
<object class="GtkButtonBox">
<property name="can-focus">False</property>
2019-11-25 12:14:00 +01:00
</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>
2019-11-25 12:14:00 +01:00
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="position">0</property>
</packing>
</child>
<child>
<placeholder/>
2019-11-25 12:14:00 +01:00
</child>
2019-11-25 02:39:28 +01:00
<style>
<class name="warn_bar_rpc_server"/>
2019-11-25 02:39:28 +01:00
</style>
</object>
2019-11-25 12:14:00 +01:00
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">7</property>
2019-11-25 12:14:00 +01:00
</packing>
</child>
<child>
<object class="GtkBox" id="box15">
<property name="visible">True</property>
<property name="can-focus">False</property>
2019-11-25 12:14:00 +01:00
<property name="spacing">5</property>
<child>
<object class="GtkLabel" id="lbl_toggle_rpc_server">
<property name="visible">True</property>
<property name="can-focus">False</property>
2019-11-25 12:14:00 +01:00
<property name="label" translatable="yes">Use RPC server to receive runtime commands</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkSwitch" id="switch_rpc_server">
<property name="visible">True</property>
<property name="can-focus">True</property>
2019-11-25 12:14:00 +01:00
<property name="halign">end</property>
<property name="valign">center</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="pack-type">end</property>
2019-11-25 12:14:00 +01:00
<property name="position">1</property>
</packing>
</child>
</object>
2019-11-25 02:39:28 +01:00
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">8</property>
2019-11-25 02:39:28 +01:00
</packing>
</child>
</object>
</child>
</object>
</child>
2019-11-25 12:14:00 +01:00
<child type="label">
<object class="GtkLabel" id="label1">
2019-11-25 02:39:28 +01:00
<property name="visible">True</property>
<property name="can-focus">False</property>
2019-11-25 12:14:00 +01:00
<property name="label" translatable="yes">Options</property>
2019-11-25 02:39:28 +01:00
</object>
</child>
2017-10-07 15:10:31 +02:00
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">2</property>
</packing>
2017-10-07 15:10:31 +02:00
</child>
</object>
</child>
</object>
</child>
2017-10-07 15:10:31 +02:00
</object>
<packing>
<property name="name">Settings</property>
<property name="title" translatable="yes">Settings</property>
2017-10-07 15:10:31 +02:00
</packing>
</child>
<child>
<object class="GtkBox" id="box_break">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="margin-left">5</property>
<property name="margin-right">5</property>
2017-10-07 15:10:31 +02:00
<property name="orientation">vertical</property>
<child>
2017-10-07 15:10:31 +02:00
<object class="GtkScrolledWindow" id="scrolledwindow_breaks">
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="hscrollbar-policy">never</property>
2017-10-07 15:10:31 +02:00
<child>
<object class="GtkViewport" id="viewport_breaks">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="shadow-type">none</property>
2017-10-07 15:10:31 +02:00
<child>
<object class="GtkBox" id="box_breaks">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="margin-top">10</property>
<property name="margin-bottom">10</property>
2017-10-07 15:10:31 +02:00
<property name="orientation">vertical</property>
<child>
<object class="GtkBox" id="box4">
<property name="visible">True</property>
<property name="can-focus">False</property>
2017-10-07 15:10:31 +02:00
<property name="orientation">vertical</property>
<child>
<object class="GtkExpander" id="expander_short_breaks">
<property name="visible">True</property>
<property name="can-focus">True</property>
2017-10-07 15:10:31 +02:00
<property name="expanded">True</property>
<child>
<object class="GtkBox" id="box_short_breaks">
<property name="visible">True</property>
<property name="can-focus">False</property>
2017-10-07 15:10:31 +02:00
<property name="orientation">vertical</property>
<property name="spacing">5</property>
<child>
<placeholder/>
2017-10-07 15:10:31 +02:00
</child>
<child>
<placeholder/>
2017-10-07 15:10:31 +02:00
</child>
<child>
<placeholder/>
2017-10-07 15:10:31 +02:00
</child>
</object>
</child>
<child type="label">
<object class="GtkLabel" id="lbl_short_breaks">
<property name="visible">True</property>
<property name="can-focus">False</property>
2017-10-07 15:10:31 +02:00
<property name="label" translatable="yes">Short Breaks</property>
</object>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkSeparator" id="separator_breaks">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="margin-top">10</property>
2017-10-07 15:10:31 +02:00
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
<child>
<object class="GtkExpander" id="expander_long_breaks">
<property name="visible">True</property>
<property name="can-focus">True</property>
2017-10-07 15:10:31 +02:00
<child>
<object class="GtkBox" id="box_long_breaks">
<property name="visible">True</property>
<property name="can-focus">False</property>
2017-10-07 15:10:31 +02:00
<property name="orientation">vertical</property>
<property name="spacing">5</property>
<child>
<placeholder/>
2017-10-07 15:10:31 +02:00
</child>
<child>
<placeholder/>
2017-10-07 15:10:31 +02:00
</child>
<child>
<placeholder/>
2017-10-07 15:10:31 +02:00
</child>
</object>
</child>
<child type="label">
<object class="GtkLabel" id="lbl_long_breaks">
<property name="visible">True</property>
<property name="can-focus">False</property>
2017-10-07 15:10:31 +02:00
<property name="label" translatable="yes">Long Breaks</property>
</object>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">2</property>
</packing>
</child>
</object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
</object>
</child>
</object>
</child>
</object>
2017-04-08 14:18:38 +02:00
<packing>
2017-10-07 15:10:31 +02:00
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">0</property>
2017-04-23 01:04:35 +02:00
</packing>
</child>
<child>
2017-10-07 15:10:31 +02:00
<object class="GtkButtonBox" id="buttonbox1">
2017-04-23 01:04:35 +02:00
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="margin-top">10</property>
<property name="margin-bottom">10</property>
<property name="layout-style">end</property>
2017-10-07 15:10:31 +02:00
<child>
<object class="GtkButton" id="btn_add_break">
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="receives-default">True</property>
2017-10-07 15:10:31 +02:00
<property name="halign">end</property>
<property name="image">img_add</property>
<signal name="clicked" handler="add_break" swapped="no"/>
2017-10-07 15:10:31 +02:00
</object>
<packing>
<property name="expand">True</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="pack-type">end</property>
2017-10-07 15:10:31 +02:00
<property name="position">1</property>
2017-04-08 14:18:38 +02:00
</packing>
2017-02-06 03:09:04 +01:00
</child>
2017-05-16 18:54:33 +02:00
<child>
2017-10-07 15:10:31 +02:00
<object class="GtkSeparator" id="separator_butoon">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="margin-top">10</property>
</object>
<packing>
2017-10-07 15:10:31 +02:00
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">2</property>
</packing>
2017-05-16 18:54:33 +02:00
</child>
2016-10-15 06:11:27 +02:00
</object>
<packing>
<property name="name">page1</property>
<property name="title" translatable="yes">Breaks</property>
2017-10-07 15:10:31 +02:00
<property name="position">1</property>
2016-10-15 06:11:27 +02:00
</packing>
</child>
<child>
2017-10-07 15:10:31 +02:00
<object class="GtkScrolledWindow" id="scrolledwindow_plugins">
2016-10-15 06:11:27 +02:00
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="hscrollbar-policy">never</property>
<property name="shadow-type">in</property>
2016-10-15 06:11:27 +02:00
<child>
2017-10-07 15:10:31 +02:00
<object class="GtkViewport" id="viewport_plugins">
2016-10-15 06:11:27 +02:00
<property name="visible">True</property>
<property name="can-focus">False</property>
2017-10-07 15:10:31 +02:00
<child>
<object class="GtkBox" id="box_plugins">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="margin-top">10</property>
<property name="margin-bottom">10</property>
2017-10-07 15:10:31 +02:00
<property name="orientation">vertical</property>
<property name="spacing">5</property>
<child>
<placeholder/>
2017-10-07 15:10:31 +02:00
</child>
<child>
<placeholder/>
2017-10-07 15:10:31 +02:00
</child>
<child>
<placeholder/>
2017-10-07 15:10:31 +02:00
</child>
<child>
<placeholder/>
2017-10-07 15:10:31 +02:00
</child>
<child>
<placeholder/>
2017-10-07 15:10:31 +02:00
</child>
</object>
</child>
2016-10-15 06:11:27 +02:00
</object>
</child>
</object>
<packing>
<property name="name">page2</property>
<property name="title" translatable="yes">Plugins</property>
2016-10-15 06:11:27 +02:00
<property name="position">2</property>
</packing>
</child>
</object>
</child>
<child type="titlebar">
<object class="GtkHeaderBar" id="header_bar">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="title" translatable="yes">Safe Eyes</property>
<property name="spacing">91</property>
<property name="show-close-button">True</property>
<property name="decoration-layout">menu:close</property>
<child type="title">
<object class="GtkBox">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="margin-top">5</property>
<property name="label" translatable="yes">Safe Eyes</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkStackSwitcher">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="stack">stack</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
</object>
</child>
<child>
<object class="GtkMenuButton">
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="receives-default">True</property>
<property name="halign">center</property>
<property name="valign">center</property>
<property name="popover">popover</property>
<child>
<object class="GtkImage" id="img_icon">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="icon-name">safeeyes</property>
<property name="icon_size">1</property>
</object>
</child>
</object>
</child>
</object>
</child>
2016-10-15 06:11:27 +02:00
</object>
</interface>