projects/package-update-indicator

view pui-prefs-window.ui @ 52:707e9e3deeac

Do not hardcode pkg-config

Using a macro allows passing a different executable in case of
cross-compilation.
author Helmut Grohne <helmut@subdivi.de>
date Sat Dec 12 01:08:21 2020 -0500 (11 months ago)
parents 2f04ec9e0506
children
line source
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- Generated with glade 3.20.0 -->
3 <interface>
4 <requires lib="gtk+" version="3.20"/>
5 <object class="GtkListStore" id="refresh-interval-list">
6 <columns>
7 <!-- column-name id -->
8 <column type="gchararray"/>
9 <!-- column-name title -->
10 <column type="gchararray"/>
11 <!-- column-name interval -->
12 <column type="guint"/>
13 </columns>
14 <data>
15 <row>
16 <col id="0">always</col>
17 <col id="1" translatable="yes">always</col>
18 <col id="2">0</col>
19 </row>
20 <row>
21 <col id="0">one-hour</col>
22 <col id="1" translatable="yes">every hour</col>
23 <col id="2">3600</col>
24 </row>
25 <row>
26 <col id="0">eight-hours</col>
27 <col id="1" translatable="yes">every 8 hours</col>
28 <col id="2">28800</col>
29 </row>
30 <row>
31 <col id="0">twelve-hours</col>
32 <col id="1" translatable="yes">twice a day</col>
33 <col id="2">43200</col>
34 </row>
35 <row>
36 <col id="0">one-day</col>
37 <col id="1" translatable="yes">daily</col>
38 <col id="2">86400</col>
39 </row>
40 <row>
41 <col id="0">one-week</col>
42 <col id="1" translatable="yes">weekly</col>
43 <col id="2">604800</col>
44 </row>
45 <row>
46 <col id="0">never</col>
47 <col id="1" translatable="yes">never</col>
48 <col id="2">4294967295</col>
49 </row>
50 </data>
51 </object>
52 <object class="GtkWindow" id="window">
53 <property name="can_focus">False</property>
54 <property name="resizable">False</property>
55 <child>
56 <object class="GtkBox">
57 <property name="visible">True</property>
58 <property name="can_focus">False</property>
59 <property name="margin_left">18</property>
60 <property name="margin_right">18</property>
61 <property name="margin_top">18</property>
62 <property name="margin_bottom">18</property>
63 <property name="orientation">vertical</property>
64 <property name="spacing">18</property>
65 <child>
66 <object class="GtkGrid">
67 <property name="visible">True</property>
68 <property name="can_focus">False</property>
69 <property name="row_spacing">18</property>
70 <property name="column_spacing">12</property>
71 <child>
72 <object class="GtkLabel">
73 <property name="visible">True</property>
74 <property name="can_focus">False</property>
75 <property name="halign">end</property>
76 <property name="label" translatable="yes">_Refresh cache:</property>
77 <property name="use_underline">True</property>
78 </object>
79 <packing>
80 <property name="left_attach">0</property>
81 <property name="top_attach">0</property>
82 </packing>
83 </child>
84 <child>
85 <object class="GtkLabel">
86 <property name="visible">True</property>
87 <property name="can_focus">False</property>
88 <property name="halign">end</property>
89 <property name="label" translatable="yes">_Command for installing updates:</property>
90 <property name="use_underline">True</property>
91 <property name="mnemonic_widget">update-command</property>
92 </object>
93 <packing>
94 <property name="left_attach">0</property>
95 <property name="top_attach">1</property>
96 </packing>
97 </child>
98 <child>
99 <object class="GtkEntry" id="update-command">
100 <property name="visible">True</property>
101 <property name="can_focus">True</property>
102 <property name="width_chars">32</property>
103 <signal name="changed" handler="on_command_changed" swapped="no"/>
104 </object>
105 <packing>
106 <property name="left_attach">1</property>
107 <property name="top_attach">1</property>
108 </packing>
109 </child>
110 <child>
111 <object class="GtkComboBox" id="refresh-interval">
112 <property name="visible">True</property>
113 <property name="can_focus">False</property>
114 <property name="model">refresh-interval-list</property>
115 <property name="id_column">0</property>
116 <child>
117 <object class="GtkCellRendererText"/>
118 <attributes>
119 <attribute name="text">1</attribute>
120 </attributes>
121 </child>
122 </object>
123 <packing>
124 <property name="left_attach">1</property>
125 <property name="top_attach">0</property>
126 </packing>
127 </child>
128 <child>
129 <object class="GtkCheckButton" id="use-mobile-connection">
130 <property name="label" translatable="yes">Use _mobile connection</property>
131 <property name="visible">True</property>
132 <property name="can_focus">True</property>
133 <property name="receives_default">False</property>
134 <property name="use_underline">True</property>
135 <property name="draw_indicator">True</property>
136 </object>
137 <packing>
138 <property name="left_attach">0</property>
139 <property name="top_attach">2</property>
140 <property name="width">2</property>
141 </packing>
142 </child>
143 </object>
144 <packing>
145 <property name="expand">True</property>
146 <property name="fill">True</property>
147 <property name="position">0</property>
148 </packing>
149 </child>
150 <child>
151 <object class="GtkButtonBox">
152 <property name="visible">True</property>
153 <property name="can_focus">False</property>
154 <property name="layout_style">end</property>
155 <child>
156 <object class="GtkButton">
157 <property name="label">gtk-close</property>
158 <property name="visible">True</property>
159 <property name="can_focus">True</property>
160 <property name="receives_default">True</property>
161 <property name="action_name">app.quit</property>
162 <property name="use_stock">True</property>
163 </object>
164 <packing>
165 <property name="expand">True</property>
166 <property name="fill">True</property>
167 <property name="position">0</property>
168 </packing>
169 </child>
170 </object>
171 <packing>
172 <property name="expand">False</property>
173 <property name="fill">True</property>
174 <property name="position">1</property>
175 </packing>
176 </child>
177 </object>
178 </child>
179 </object>
180 </interface>