2016-10-15 06:11:27 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!-- Generated with glade 3.18.3 -->
|
|
|
|
<!--
|
|
|
|
~ 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>
|
2016-10-23 13:56:54 +02:00
|
|
|
<requires lib="gtk+" version="3.10"/>
|
2016-10-15 06:11:27 +02:00
|
|
|
<object class="GtkAdjustment" id="adjust_interval_between_breaks">
|
|
|
|
<property name="lower">1</property>
|
|
|
|
<property name="upper">60</property>
|
|
|
|
<property name="step_increment">1</property>
|
|
|
|
<property name="page_increment">5</property>
|
|
|
|
</object>
|
|
|
|
<object class="GtkAdjustment" id="adjust_long_break_duration">
|
|
|
|
<property name="lower">1</property>
|
|
|
|
<property name="upper">120</property>
|
|
|
|
<property name="step_increment">5</property>
|
|
|
|
<property name="page_increment">10</property>
|
|
|
|
</object>
|
|
|
|
<object class="GtkAdjustment" id="adjust_no_short_per_long">
|
|
|
|
<property name="lower">1</property>
|
|
|
|
<property name="upper">20</property>
|
|
|
|
<property name="value">1</property>
|
|
|
|
<property name="step_increment">1</property>
|
|
|
|
<property name="page_increment">5</property>
|
|
|
|
</object>
|
|
|
|
<object class="GtkAdjustment" id="adjust_short_break_duration">
|
|
|
|
<property name="lower">1</property>
|
|
|
|
<property name="upper">60</property>
|
|
|
|
<property name="step_increment">1</property>
|
|
|
|
<property name="page_increment">5</property>
|
|
|
|
</object>
|
|
|
|
<object class="GtkAdjustment" id="adjust_time_to_prepare">
|
2017-03-03 00:37:04 +01:00
|
|
|
<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>
|
|
|
|
</object>
|
2017-02-06 03:09:04 +01:00
|
|
|
<object class="GtkAdjustment" id="adjust_idle_time_to_pause">
|
|
|
|
<property name="lower">1</property>
|
|
|
|
<property name="upper">60</property>
|
|
|
|
<property name="step_increment">1</property>
|
|
|
|
<property name="page_increment">5</property>
|
|
|
|
</object>
|
2016-10-15 06:11:27 +02:00
|
|
|
<object class="GtkWindow" id="window_settings">
|
|
|
|
<property name="height_request">400</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="title" translatable="yes">Safe Eyes</property>
|
|
|
|
<property name="resizable">False</property>
|
2016-11-04 12:23:04 +01:00
|
|
|
<property name="window_position">center</property>
|
2016-10-15 06:11:27 +02:00
|
|
|
<property name="default_width">440</property>
|
|
|
|
<property name="default_height">250</property>
|
|
|
|
<property name="icon_name">safeeyes</property>
|
2016-11-04 12:23:04 +01:00
|
|
|
<signal name="delete-event" handler="on_window_delete" swapped="no"/>
|
2016-10-15 06:11:27 +02:00
|
|
|
<child>
|
|
|
|
<object class="GtkBox" id="layout_box">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="margin_left">5</property>
|
|
|
|
<property name="margin_right">5</property>
|
|
|
|
<property name="margin_top">5</property>
|
|
|
|
<property name="margin_bottom">5</property>
|
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
<property name="spacing">2</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkGrid" id="layoutt_grid">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="app_paintable">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="margin_left">5</property>
|
|
|
|
<property name="margin_right">5</property>
|
|
|
|
<property name="hexpand">True</property>
|
|
|
|
<property name="vexpand">True</property>
|
|
|
|
<property name="row_spacing">20</property>
|
|
|
|
<property name="column_spacing">10</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="lbl_short_break">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="halign">start</property>
|
|
|
|
<property name="valign">center</property>
|
|
|
|
<property name="label" translatable="yes">Short break duration (in seconds)</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="left_attach">0</property>
|
|
|
|
<property name="top_attach">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="lbl_long_break">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="halign">start</property>
|
|
|
|
<property name="valign">center</property>
|
|
|
|
<property name="label" translatable="yes">Long break duration (in seconds)</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="left_attach">0</property>
|
|
|
|
<property name="top_attach">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="lbl_interval_bettween_breaks">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="halign">start</property>
|
|
|
|
<property name="valign">center</property>
|
|
|
|
<property name="label" translatable="yes">Interval between two breaks (in minutes)</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="left_attach">0</property>
|
|
|
|
<property name="top_attach">2</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="lbl_short_per_long">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="halign">start</property>
|
|
|
|
<property name="valign">center</property>
|
|
|
|
<property name="label" translatable="yes">Number of short breaks between two long breaks</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="left_attach">0</property>
|
|
|
|
<property name="top_attach">3</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="lbl_time_to_prepare">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="halign">start</property>
|
|
|
|
<property name="valign">center</property>
|
|
|
|
<property name="label" translatable="yes">Time to prepare for break (in seconds)</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="left_attach">0</property>
|
|
|
|
<property name="top_attach">4</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
2017-02-06 03:09:04 +01:00
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="lbl_idle_time_to_pause">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="halign">start</property>
|
|
|
|
<property name="valign">center</property>
|
2017-02-06 13:49:15 +01:00
|
|
|
<property name="label" translatable="yes">Minimum idle time to pause (in minutes)</property>
|
2017-02-06 03:09:04 +01:00
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="left_attach">0</property>
|
|
|
|
<property name="top_attach">5</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
2016-10-15 06:11:27 +02:00
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="lbl_strict_break">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="halign">start</property>
|
|
|
|
<property name="valign">center</property>
|
|
|
|
<property name="label" translatable="yes">Strict break (hide skip button)</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="left_attach">0</property>
|
2017-02-06 03:09:04 +01:00
|
|
|
<property name="top_attach">6</property>
|
2016-10-15 06:11:27 +02:00
|
|
|
</packing>
|
|
|
|
</child>
|
2017-02-01 01:20:17 +01:00
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="lbl_audible_alert">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="halign">start</property>
|
|
|
|
<property name="valign">center</property>
|
|
|
|
<property name="label" translatable="yes">Audible alert at the end of break</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="left_attach">0</property>
|
2017-02-06 03:09:04 +01:00
|
|
|
<property name="top_attach">7</property>
|
2017-02-01 01:20:17 +01:00
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="lbl_language">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="halign">start</property>
|
|
|
|
<property name="valign">center</property>
|
|
|
|
<property name="label" translatable="yes">Language</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="left_attach">0</property>
|
2017-02-06 03:09:04 +01:00
|
|
|
<property name="top_attach">8</property>
|
2017-02-01 01:20:17 +01:00
|
|
|
</packing>
|
|
|
|
</child>
|
2016-10-15 06:11:27 +02:00
|
|
|
<child>
|
|
|
|
<object class="GtkSpinButton" id="spin_short_break_duration">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="halign">end</property>
|
|
|
|
<property name="valign">center</property>
|
|
|
|
<property name="primary_icon_tooltip_text" translatable="yes">Time in minutes</property>
|
|
|
|
<property name="input_purpose">number</property>
|
|
|
|
<property name="adjustment">adjust_short_break_duration</property>
|
|
|
|
<property name="climb_rate">1</property>
|
|
|
|
<property name="numeric">True</property>
|
|
|
|
<property name="update_policy">if-valid</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="left_attach">1</property>
|
|
|
|
<property name="top_attach">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkSpinButton" id="spin_long_break_duration">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="halign">end</property>
|
|
|
|
<property name="valign">center</property>
|
|
|
|
<property name="primary_icon_tooltip_text" translatable="yes">Time in minutes</property>
|
|
|
|
<property name="input_purpose">number</property>
|
|
|
|
<property name="adjustment">adjust_long_break_duration</property>
|
|
|
|
<property name="climb_rate">1</property>
|
|
|
|
<property name="numeric">True</property>
|
|
|
|
<property name="update_policy">if-valid</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="left_attach">1</property>
|
|
|
|
<property name="top_attach">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkSpinButton" id="spin_interval_between_two_breaks">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="halign">end</property>
|
|
|
|
<property name="valign">center</property>
|
|
|
|
<property name="text" translatable="yes">1</property>
|
|
|
|
<property name="input_purpose">number</property>
|
|
|
|
<property name="adjustment">adjust_interval_between_breaks</property>
|
|
|
|
<property name="climb_rate">1</property>
|
|
|
|
<property name="numeric">True</property>
|
|
|
|
<property name="update_policy">if-valid</property>
|
|
|
|
<property name="value">1</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="left_attach">1</property>
|
|
|
|
<property name="top_attach">2</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkSpinButton" id="spin_short_between_long">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="halign">end</property>
|
|
|
|
<property name="valign">center</property>
|
|
|
|
<property name="text" translatable="yes">1</property>
|
|
|
|
<property name="input_purpose">number</property>
|
|
|
|
<property name="adjustment">adjust_no_short_per_long</property>
|
|
|
|
<property name="climb_rate">1</property>
|
|
|
|
<property name="numeric">True</property>
|
|
|
|
<property name="update_policy">if-valid</property>
|
|
|
|
<property name="value">1</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="left_attach">1</property>
|
|
|
|
<property name="top_attach">3</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkSpinButton" id="spin_time_to_prepare">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="halign">end</property>
|
|
|
|
<property name="valign">center</property>
|
|
|
|
<property name="text" translatable="yes">1</property>
|
|
|
|
<property name="input_purpose">number</property>
|
|
|
|
<property name="adjustment">adjust_time_to_prepare</property>
|
|
|
|
<property name="climb_rate">1</property>
|
|
|
|
<property name="numeric">True</property>
|
|
|
|
<property name="update_policy">if-valid</property>
|
|
|
|
<property name="value">1</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="left_attach">1</property>
|
|
|
|
<property name="top_attach">4</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
2017-02-06 03:09:04 +01:00
|
|
|
<object class="GtkSpinButton" id="spin_idle_time_to_pause">
|
2016-10-15 06:11:27 +02:00
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
2017-02-06 03:09:04 +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>
|
|
|
|
<property name="adjustment">adjust_idle_time_to_pause</property>
|
|
|
|
<property name="climb_rate">1</property>
|
|
|
|
<property name="numeric">True</property>
|
|
|
|
<property name="update_policy">if-valid</property>
|
|
|
|
<property name="value">5</property>
|
2016-10-15 06:11:27 +02:00
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="left_attach">1</property>
|
|
|
|
<property name="top_attach">5</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
2017-01-10 12:52:55 +01:00
|
|
|
<child>
|
2017-02-06 03:09:04 +01:00
|
|
|
<object class="GtkSwitch" id="switch_strict_break">
|
2017-01-10 12:52:55 +01:00
|
|
|
<property name="visible">True</property>
|
2017-02-01 01:20:17 +01:00
|
|
|
<property name="can_focus">True</property>
|
2017-01-10 12:52:55 +01:00
|
|
|
</object>
|
|
|
|
<packing>
|
2017-02-01 01:20:17 +01:00
|
|
|
<property name="left_attach">1</property>
|
2017-01-10 12:52:55 +01:00
|
|
|
<property name="top_attach">6</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
2017-02-06 03:09:04 +01:00
|
|
|
<child>
|
|
|
|
<object class="GtkSwitch" id="switch_audible_alert">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="left_attach">1</property>
|
|
|
|
<property name="top_attach">7</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
2017-01-10 12:52:55 +01:00
|
|
|
<child>
|
|
|
|
<object class="GtkComboBox" id="cmb_language">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="left_attach">1</property>
|
2017-02-06 03:09:04 +01:00
|
|
|
<property name="top_attach">8</property>
|
2017-01-10 12:52:55 +01:00
|
|
|
</packing>
|
|
|
|
</child>
|
2017-02-06 03:09:04 +01:00
|
|
|
<child>
|
|
|
|
<placeholder/>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<placeholder/>
|
|
|
|
</child>
|
2016-10-15 06:11:27 +02:00
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">True</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkSeparator" id="separator">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="margin_top">5</property>
|
|
|
|
<property name="margin_bottom">5</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkButtonBox" id="buttonbox">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="spacing">10</property>
|
|
|
|
<property name="layout_style">end</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkButton" id="btn_cancel">
|
|
|
|
<property name="label" translatable="yes">Cancel</property>
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="receives_default">True</property>
|
2016-11-04 12:23:04 +01:00
|
|
|
<signal name="clicked" handler="on_cancel_clicked" swapped="no"/>
|
2016-10-15 06:11:27 +02:00
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">True</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkButton" id="btn_save">
|
|
|
|
<property name="label" translatable="yes">Save</property>
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="receives_default">True</property>
|
2016-11-04 12:23:04 +01:00
|
|
|
<signal name="clicked" handler="on_save_clicked" swapped="no"/>
|
2016-10-15 06:11:27 +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="position">2</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
2016-11-04 12:23:04 +01:00
|
|
|
</interface>
|