Mercurial > projects > package-update-indicator
diff pui-prefs-window.ui @ 1:2f04ec9e0506
Add preferences application
Split settings into separate file.
author | Guido Berhoerster <guido+pui@berhoerster.name> |
---|---|
date | Fri, 08 Jun 2018 08:38:42 +0200 |
parents | |
children | 3d72ca76538d |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pui-prefs-window.ui Fri Jun 08 08:38:42 2018 +0200 @@ -0,0 +1,165 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- Generated with glade 3.20.0 --> +<interface> + <requires lib="gtk+" version="3.20"/> + <object class="GtkListStore" id="refresh-interval-list"> + <columns> + <!-- column-name id --> + <column type="gchararray"/> + <!-- column-name title --> + <column type="gchararray"/> + <!-- column-name interval --> + <column type="guint"/> + </columns> + <data> + <row> + <col id="0">always</col> + <col id="1" translatable="yes">always</col> + <col id="2">0</col> + </row> + <row> + <col id="0">one-hour</col> + <col id="1" translatable="yes">every hour</col> + <col id="2">3600</col> + </row> + <row> + <col id="0">eight-hours</col> + <col id="1" translatable="yes">every 8 hours</col> + <col id="2">28800</col> + </row> + <row> + <col id="0">twelve-hours</col> + <col id="1" translatable="yes">twice a day</col> + <col id="2">43200</col> + </row> + <row> + <col id="0">one-day</col> + <col id="1" translatable="yes">daily</col> + <col id="2">86400</col> + </row> + <row> + <col id="0">one-week</col> + <col id="1" translatable="yes">weekly</col> + <col id="2">604800</col> + </row> + <row> + <col id="0">never</col> + <col id="1" translatable="yes">never</col> + <col id="2">4294967295</col> + </row> + </data> + </object> + <object class="GtkWindow" id="window"> + <property name="can_focus">False</property> + <property name="resizable">False</property> + <child> + <object class="GtkBox"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="margin_left">18</property> + <property name="margin_right">18</property> + <property name="margin_top">18</property> + <property name="margin_bottom">18</property> + <property name="orientation">vertical</property> + <property name="spacing">18</property> + <child> + <object class="GtkGrid"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="row_spacing">18</property> + <property name="column_spacing">12</property> + <child> + <object class="GtkLabel"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="halign">end</property> + <property name="label" translatable="yes">_Refresh cache:</property> + <property name="use_underline">True</property> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">0</property> + </packing> + </child> + <child> + <object class="GtkLabel"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="halign">end</property> + <property name="label" translatable="yes">_Command for installing updates:</property> + <property name="use_underline">True</property> + <property name="mnemonic_widget">update-command</property> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">1</property> + </packing> + </child> + <child> + <object class="GtkEntry" id="update-command"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="width_chars">32</property> + <signal name="changed" handler="on_command_changed" swapped="no"/> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">1</property> + </packing> + </child> + <child> + <object class="GtkComboBox" id="refresh-interval"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="model">refresh-interval-list</property> + <property name="id_column">0</property> + <child> + <object class="GtkCellRendererText"/> + <attributes> + <attribute name="text">1</attribute> + </attributes> + </child> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">0</property> + </packing> + </child> + </object> + <packing> + <property name="expand">True</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkButtonBox"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="layout_style">end</property> + <child> + <object class="GtkButton"> + <property name="label">gtk-close</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="action_name">app.quit</property> + <property name="use_stock">True</property> + </object> + <packing> + <property name="expand">True</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> + </object> + </child> + </object> +</interface>