mirror of
https://github.com/slgobinath/SafeEyes.git
synced 2024-12-10 22:15:27 +01:00
deeab78d8b
Move from Gtk 3.10 to Gtk 3.12
215 lines
9.5 KiB
XML
215 lines
9.5 KiB
XML
<?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) 2017 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"/>
|
|
<object class="GtkAdjustment" id="adjustment_duration">
|
|
<property name="upper">100</property>
|
|
<property name="step_increment">1</property>
|
|
<property name="page_increment">10</property>
|
|
</object>
|
|
<object class="GtkListStore" id="lst_break_types">
|
|
<columns>
|
|
<!-- column-name Text -->
|
|
<column type="gchararray"/>
|
|
</columns>
|
|
<data>
|
|
<row>
|
|
<col id="0" translatable="yes">Short</col>
|
|
</row>
|
|
<row>
|
|
<col id="0" translatable="yes">Long</col>
|
|
</row>
|
|
</data>
|
|
</object>
|
|
<object class="GtkWindow" id="dialog_new_break">
|
|
<property name="can_focus">False</property>
|
|
<property name="title" translatable="yes">Properties</property>
|
|
<property name="resizable">False</property>
|
|
<property name="modal">True</property>
|
|
<property name="window_position">center-on-parent</property>
|
|
<property name="default_width">500</property>
|
|
<property name="default_height">50</property>
|
|
<property name="destroy_with_parent">True</property>
|
|
<property name="icon_name">safeeyes</property>
|
|
<property name="type_hint">dialog</property>
|
|
<property name="skip_taskbar_hint">True</property>
|
|
<property name="gravity">center</property>
|
|
<signal name="delete-event" handler="on_window_delete" swapped="no"/>
|
|
<child>
|
|
<object class="GtkBox" id="box_settings">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="margin_left">10</property>
|
|
<property name="margin_right">10</property>
|
|
<property name="margin_top">10</property>
|
|
<property name="margin_bottom">10</property>
|
|
<property name="orientation">vertical</property>
|
|
<property name="spacing">5</property>
|
|
<child>
|
|
<object class="GtkFrame" id="frame2">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="label_xalign">0</property>
|
|
<child>
|
|
<object class="GtkAlignment" id="alignment2">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="left_padding">12</property>
|
|
<child>
|
|
<object class="GtkBox" id="box6">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="margin_right">10</property>
|
|
<property name="margin_top">5</property>
|
|
<property name="margin_bottom">10</property>
|
|
<property name="orientation">vertical</property>
|
|
<property name="spacing">3</property>
|
|
<child>
|
|
<object class="GtkEntry" id="txt_break">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="valign">center</property>
|
|
<property name="width_chars">64</property>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkBox" id="box7">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="spacing">10</property>
|
|
<child>
|
|
<object class="GtkLabel" id="lbl_duration3">
|
|
<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">Type</property>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkComboBox" id="cmb_type">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="model">lst_break_types</property>
|
|
<property name="active">0</property>
|
|
<property name="id_column">0</property>
|
|
<child>
|
|
<object class="GtkCellRendererText" id="cellrenderertext1"/>
|
|
<attributes>
|
|
<attribute name="text">0</attribute>
|
|
</attributes>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</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>
|
|
<child>
|
|
<placeholder/>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child type="label">
|
|
<object class="GtkLabel" id="label2">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="label" translatable="yes">Break</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">False</property>
|
|
<property name="position">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkButtonBox" id="buttonbox1">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="spacing">10</property>
|
|
<property name="homogeneous">True</property>
|
|
<property name="baseline_position">top</property>
|
|
<property name="layout_style">end</property>
|
|
<child>
|
|
<object class="GtkButton" id="btn_discard">
|
|
<property name="label">Discard</property>
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="receives_default">True</property>
|
|
<signal name="clicked" handler="discard" swapped="no"/>
|
|
</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="has_focus">True</property>
|
|
<property name="receives_default">True</property>
|
|
<signal name="clicked" handler="save" swapped="no"/>
|
|
</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">False</property>
|
|
<property name="position">3</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</interface>
|