1 <?xml version="1.0" encoding="UTF-8"?>
3 <!-- interface-requires gtk+ 3.0 -->
4 <object class="GtkDialog" id="diag_tasknew">
5 <property name="can_focus">False</property>
6 <property name="border_width">5</property>
7 <property name="title" translatable="yes">New Task</property>
8 <property name="type_hint">dialog</property>
9 <child internal-child="vbox">
10 <object class="GtkBox" id="dialog-vbox1">
11 <property name="can_focus">False</property>
12 <property name="orientation">vertical</property>
13 <property name="spacing">2</property>
14 <child internal-child="action_area">
15 <object class="GtkButtonBox" id="dialog-action_area1">
16 <property name="can_focus">False</property>
17 <property name="layout_style">end</property>
19 <object class="GtkButton" id="button1">
20 <property name="label">gtk-ok</property>
21 <property name="visible">True</property>
22 <property name="can_focus">True</property>
23 <property name="receives_default">True</property>
24 <property name="use_stock">True</property>
27 <property name="expand">False</property>
28 <property name="fill">True</property>
29 <property name="position">0</property>
33 <object class="GtkButton" id="button2">
34 <property name="label">gtk-cancel</property>
35 <property name="visible">True</property>
36 <property name="can_focus">True</property>
37 <property name="receives_default">True</property>
38 <property name="use_stock">True</property>
41 <property name="expand">False</property>
42 <property name="fill">True</property>
43 <property name="position">1</property>
48 <property name="expand">False</property>
49 <property name="fill">True</property>
50 <property name="pack_type">end</property>
51 <property name="position">0</property>
55 <object class="GtkBox" id="box6">
56 <property name="visible">True</property>
57 <property name="can_focus">False</property>
59 <object class="GtkLabel" id="label5">
60 <property name="visible">True</property>
61 <property name="can_focus">False</property>
62 <property name="margin_left">4</property>
63 <property name="margin_right">4</property>
64 <property name="margin_top">4</property>
65 <property name="margin_bottom">4</property>
66 <property name="label" translatable="yes">Description:</property>
69 <property name="expand">False</property>
70 <property name="fill">True</property>
71 <property name="position">0</property>
75 <object class="GtkEntry" id="diag_tasknew_description">
76 <property name="visible">True</property>
77 <property name="can_focus">True</property>
78 <property name="margin_left">4</property>
79 <property name="margin_right">4</property>
80 <property name="margin_top">4</property>
81 <property name="margin_bottom">4</property>
82 <property name="invisible_char">•</property>
85 <property name="expand">False</property>
86 <property name="fill">True</property>
87 <property name="position">1</property>
92 <property name="expand">False</property>
93 <property name="fill">True</property>
94 <property name="position">1</property>
100 <action-widget response="-3">button1</action-widget>
101 <action-widget response="0">button2</action-widget>
104 <object class="GtkListStore" id="statusstore">
106 <!-- column-name gchararray1 -->
107 <column type="gchararray"/>
111 <col id="0" translatable="yes">pending</col>
114 <col id="0" translatable="yes">completed</col>
118 <object class="GtkListStore" id="taskstore">
120 <!-- column-name id -->
121 <column type="gint"/>
122 <!-- column-name description -->
123 <column type="gchararray"/>
124 <!-- column-name project -->
125 <column type="gchararray"/>
126 <!-- column-name uuid -->
127 <column type="gchararray"/>
130 <object class="GtkWindow" id="window">
131 <property name="can_focus">False</property>
132 <property name="title" translatable="yes">gtask</property>
133 <property name="default_width">640</property>
134 <property name="default_height">480</property>
136 <object class="GtkBox" id="box1">
137 <property name="visible">True</property>
138 <property name="can_focus">False</property>
139 <property name="margin_left">4</property>
140 <property name="margin_right">4</property>
141 <property name="margin_top">4</property>
142 <property name="margin_bottom">4</property>
143 <property name="orientation">vertical</property>
145 <object class="GtkBox" id="box4">
146 <property name="visible">True</property>
147 <property name="can_focus">False</property>
149 <object class="GtkButtonBox" id="buttonbox1">
150 <property name="visible">True</property>
151 <property name="can_focus">False</property>
152 <property name="layout_style">start</property>
154 <object class="GtkButton" id="refresh">
155 <property name="label" translatable="yes">Refresh</property>
156 <property name="visible">True</property>
157 <property name="can_focus">True</property>
158 <property name="receives_default">True</property>
159 <signal name="clicked" handler="refresh_clicked_cbk" swapped="no"/>
162 <property name="expand">False</property>
163 <property name="fill">False</property>
164 <property name="position">0</property>
168 <object class="GtkButton" id="newtask">
169 <property name="label" translatable="yes">New Task</property>
170 <property name="visible">True</property>
171 <property name="can_focus">True</property>
172 <property name="receives_default">True</property>
173 <signal name="clicked" handler="newtask_clicked_cbk" swapped="no"/>
176 <property name="expand">False</property>
177 <property name="fill">False</property>
178 <property name="position">1</property>
183 <property name="expand">False</property>
184 <property name="fill">True</property>
185 <property name="position">0</property>
189 <object class="GtkBox" id="box5">
190 <property name="visible">True</property>
191 <property name="can_focus">False</property>
193 <object class="GtkLabel" id="label4">
194 <property name="visible">True</property>
195 <property name="can_focus">False</property>
196 <property name="margin_left">4</property>
197 <property name="margin_right">4</property>
198 <property name="label" translatable="yes">Status:</property>
201 <property name="expand">False</property>
202 <property name="fill">False</property>
203 <property name="position">0</property>
207 <object class="GtkComboBox" id="status">
208 <property name="visible">True</property>
209 <property name="can_focus">False</property>
210 <property name="model">statusstore</property>
211 <property name="active">0</property>
213 <object class="GtkCellRendererText" id="cellrenderertext4"/>
215 <attribute name="text">0</attribute>
220 <property name="expand">False</property>
221 <property name="fill">False</property>
222 <property name="position">1</property>
227 <property name="expand">False</property>
228 <property name="fill">False</property>
229 <property name="position">2</property>
234 <property name="expand">False</property>
235 <property name="fill">False</property>
236 <property name="position">0</property>
240 <object class="GtkPaned" id="paned1">
241 <property name="visible">True</property>
242 <property name="can_focus">True</property>
243 <property name="orientation">vertical</property>
244 <property name="position">144</property>
245 <property name="position_set">True</property>
247 <object class="GtkScrolledWindow" id="scrolledwindow2">
248 <property name="visible">True</property>
249 <property name="can_focus">True</property>
250 <property name="margin_bottom">4</property>
251 <property name="shadow_type">in</property>
253 <object class="GtkTreeView" id="treeview">
254 <property name="visible">True</property>
255 <property name="can_focus">True</property>
256 <property name="margin_left">4</property>
257 <property name="margin_right">4</property>
258 <property name="margin_top">4</property>
259 <property name="margin_bottom">4</property>
260 <property name="model">taskstore</property>
261 <property name="headers_clickable">False</property>
262 <property name="expander_column">treeviewcolumn1</property>
263 <property name="search_column">1</property>
264 <property name="enable_grid_lines">both</property>
265 <property name="enable_tree_lines">True</property>
266 <child internal-child="selection">
267 <object class="GtkTreeSelection" id="treeview-selection"/>
270 <object class="GtkTreeViewColumn" id="treeviewcolumn1">
271 <property name="sizing">autosize</property>
272 <property name="min_width">10</property>
273 <property name="title" translatable="yes">Id</property>
275 <object class="GtkCellRendererText" id="cellrenderertext1"/>
277 <attribute name="text">0</attribute>
283 <object class="GtkTreeViewColumn" id="treeviewcolumn3">
284 <property name="min_width">10</property>
285 <property name="title" translatable="yes">Project</property>
286 <property name="clickable">True</property>
287 <property name="reorderable">True</property>
288 <property name="sort_indicator">True</property>
289 <property name="sort_column_id">2</property>
291 <object class="GtkCellRendererText" id="cellrenderertext3"/>
293 <attribute name="text">2</attribute>
299 <object class="GtkTreeViewColumn" id="treeviewcolumn2">
300 <property name="sizing">autosize</property>
301 <property name="fixed_width">10</property>
302 <property name="min_width">30</property>
303 <property name="title" translatable="yes">Description</property>
304 <property name="expand">True</property>
305 <property name="clickable">True</property>
306 <property name="reorderable">True</property>
307 <property name="sort_indicator">True</property>
308 <property name="sort_column_id">1</property>
310 <object class="GtkCellRendererText" id="cellrenderertext2"/>
312 <attribute name="text">1</attribute>
321 <property name="resize">False</property>
322 <property name="shrink">True</property>
326 <object class="GtkBox" id="box2">
327 <property name="visible">True</property>
328 <property name="can_focus">False</property>
329 <property name="orientation">vertical</property>
331 <object class="GtkGrid" id="grid2">
332 <property name="visible">True</property>
333 <property name="can_focus">False</property>
334 <property name="margin_left">4</property>
335 <property name="margin_right">4</property>
336 <property name="margin_top">4</property>
337 <property name="margin_bottom">4</property>
339 <object class="GtkLabel" id="label1">
340 <property name="visible">True</property>
341 <property name="can_focus">False</property>
342 <property name="margin_left">4</property>
343 <property name="margin_right">4</property>
344 <property name="margin_top">4</property>
345 <property name="margin_bottom">4</property>
346 <property name="label" translatable="yes">Description:</property>
349 <property name="left_attach">0</property>
350 <property name="top_attach">0</property>
351 <property name="width">1</property>
352 <property name="height">1</property>
356 <object class="GtkLabel" id="label2">
357 <property name="visible">True</property>
358 <property name="can_focus">False</property>
359 <property name="halign">start</property>
360 <property name="valign">center</property>
361 <property name="margin_left">4</property>
362 <property name="margin_right">4</property>
363 <property name="margin_top">4</property>
364 <property name="label" translatable="yes">Note:</property>
367 <property name="left_attach">0</property>
368 <property name="top_attach">2</property>
369 <property name="width">1</property>
370 <property name="height">1</property>
374 <object class="GtkScrolledWindow" id="scrolledwindow1">
375 <property name="visible">True</property>
376 <property name="can_focus">True</property>
377 <property name="margin_left">4</property>
378 <property name="margin_right">4</property>
379 <property name="margin_top">4</property>
380 <property name="hexpand">True</property>
381 <property name="vexpand">True</property>
382 <property name="shadow_type">in</property>
384 <object class="GtkTextView" id="tasknote">
385 <property name="visible">True</property>
386 <property name="can_focus">True</property>
391 <property name="left_attach">1</property>
392 <property name="top_attach">2</property>
393 <property name="width">1</property>
394 <property name="height">1</property>
398 <object class="GtkEntry" id="taskdescription">
399 <property name="visible">True</property>
400 <property name="can_focus">True</property>
401 <property name="margin_left">4</property>
402 <property name="margin_right">4</property>
403 <property name="margin_top">4</property>
404 <property name="margin_bottom">4</property>
405 <property name="invisible_char">•</property>
406 <property name="invisible_char_set">True</property>
409 <property name="left_attach">1</property>
410 <property name="top_attach">0</property>
411 <property name="width">1</property>
412 <property name="height">1</property>
416 <object class="GtkLabel" id="label3">
417 <property name="visible">True</property>
418 <property name="can_focus">False</property>
419 <property name="halign">start</property>
420 <property name="margin_left">4</property>
421 <property name="margin_right">4</property>
422 <property name="margin_top">4</property>
423 <property name="margin_bottom">4</property>
424 <property name="label" translatable="yes">Project:</property>
427 <property name="left_attach">0</property>
428 <property name="top_attach">1</property>
429 <property name="width">1</property>
430 <property name="height">1</property>
434 <object class="GtkEntry" id="taskproject">
435 <property name="visible">True</property>
436 <property name="can_focus">True</property>
437 <property name="margin_left">4</property>
438 <property name="margin_right">4</property>
439 <property name="margin_top">4</property>
440 <property name="invisible_char">•</property>
443 <property name="left_attach">1</property>
444 <property name="top_attach">1</property>
445 <property name="width">1</property>
446 <property name="height">1</property>
451 <property name="expand">True</property>
452 <property name="fill">True</property>
453 <property name="position">1</property>
457 <object class="GtkBox" id="box3">
458 <property name="visible">True</property>
459 <property name="can_focus">False</property>
460 <property name="margin_left">4</property>
461 <property name="margin_right">4</property>
462 <property name="margin_top">4</property>
463 <property name="margin_bottom">4</property>
465 <object class="GtkButton" id="tasksave">
466 <property name="label" translatable="yes">Save</property>
467 <property name="visible">True</property>
468 <property name="can_focus">True</property>
469 <property name="receives_default">True</property>
470 <property name="image_position">top</property>
473 <property name="expand">False</property>
474 <property name="fill">True</property>
475 <property name="position">0</property>
479 <object class="GtkButton" id="taskcancel">
480 <property name="label" translatable="yes">Cancel</property>
481 <property name="visible">True</property>
482 <property name="can_focus">True</property>
483 <property name="receives_default">True</property>
486 <property name="expand">False</property>
487 <property name="fill">True</property>
488 <property name="position">2</property>
493 <property name="expand">False</property>
494 <property name="fill">False</property>
495 <property name="position">2</property>
500 <property name="resize">True</property>
501 <property name="shrink">True</property>
506 <property name="expand">True</property>
507 <property name="fill">True</property>
508 <property name="position">1</property>