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="GtkGrid" id="grid3">
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="left_attach">0</property>
70 <property name="top_attach">0</property>
71 <property name="width">1</property>
72 <property name="height">1</property>
76 <object class="GtkEntry" id="diag_tasknew_description">
77 <property name="visible">True</property>
78 <property name="can_focus">True</property>
79 <property name="margin_left">4</property>
80 <property name="margin_right">4</property>
81 <property name="margin_top">4</property>
82 <property name="margin_bottom">4</property>
83 <property name="invisible_char">•</property>
84 <property name="invisible_char_set">True</property>
87 <property name="left_attach">1</property>
88 <property name="top_attach">0</property>
89 <property name="width">1</property>
90 <property name="height">1</property>
94 <object class="GtkLabel" id="label7">
95 <property name="visible">True</property>
96 <property name="can_focus">False</property>
97 <property name="margin_left">4</property>
98 <property name="margin_right">4</property>
99 <property name="margin_top">4</property>
100 <property name="margin_bottom">4</property>
101 <property name="label" translatable="yes">Project:</property>
104 <property name="left_attach">0</property>
105 <property name="top_attach">1</property>
106 <property name="width">1</property>
107 <property name="height">1</property>
111 <object class="GtkEntry" id="diag_tasknew_project">
112 <property name="visible">True</property>
113 <property name="can_focus">True</property>
114 <property name="margin_left">4</property>
115 <property name="margin_right">4</property>
116 <property name="margin_top">4</property>
117 <property name="margin_bottom">4</property>
118 <property name="invisible_char">•</property>
119 <property name="invisible_char_set">True</property>
122 <property name="left_attach">1</property>
123 <property name="top_attach">1</property>
124 <property name="width">1</property>
125 <property name="height">1</property>
129 <object class="GtkLabel" id="label8">
130 <property name="visible">True</property>
131 <property name="can_focus">False</property>
132 <property name="margin_left">4</property>
133 <property name="margin_right">4</property>
134 <property name="margin_top">4</property>
135 <property name="margin_bottom">4</property>
136 <property name="label" translatable="yes">Priority:</property>
139 <property name="left_attach">0</property>
140 <property name="top_attach">2</property>
141 <property name="width">1</property>
142 <property name="height">1</property>
146 <object class="GtkComboBox" id="diag_tasknew_priority">
147 <property name="visible">True</property>
148 <property name="can_focus">False</property>
149 <property name="margin_left">4</property>
150 <property name="margin_right">4</property>
151 <property name="margin_top">4</property>
152 <property name="margin_bottom">4</property>
153 <property name="model">prioritystore</property>
154 <property name="active">0</property>
156 <object class="GtkCellRendererText" id="cellrenderertext1"/>
158 <attribute name="text">0</attribute>
163 <property name="left_attach">1</property>
164 <property name="top_attach">2</property>
165 <property name="width">1</property>
166 <property name="height">1</property>
171 <property name="expand">False</property>
172 <property name="fill">True</property>
173 <property name="position">1</property>
179 <action-widget response="-3">button1</action-widget>
180 <action-widget response="0">button2</action-widget>
183 <object class="GtkListStore" id="prioritystore">
185 <!-- column-name priority -->
186 <column type="gchararray"/>
190 <col id="0" translatable="yes">None</col>
193 <col id="0" translatable="yes">Low</col>
196 <col id="0" translatable="yes">Medium</col>
199 <col id="0" translatable="yes">High</col>
203 <object class="GtkListStore" id="statusstore">
205 <!-- column-name gchararray1 -->
206 <column type="gchararray"/>
210 <col id="0" translatable="yes">pending</col>
213 <col id="0" translatable="yes">completed</col>
217 <object class="GtkListStore" id="taskstore">
219 <!-- column-name id -->
220 <column type="gint"/>
221 <!-- column-name description -->
222 <column type="gchararray"/>
223 <!-- column-name project -->
224 <column type="gchararray"/>
225 <!-- column-name uuid -->
226 <column type="gchararray"/>
227 <!-- column-name priority -->
228 <column type="gchararray"/>
231 <object class="GtkWindow" id="window">
232 <property name="can_focus">False</property>
233 <property name="title" translatable="yes">ptask</property>
234 <property name="default_width">640</property>
235 <property name="default_height">480</property>
237 <object class="GtkBox" id="box1">
238 <property name="visible">True</property>
239 <property name="can_focus">False</property>
240 <property name="margin_left">4</property>
241 <property name="margin_right">4</property>
242 <property name="margin_top">4</property>
243 <property name="margin_bottom">4</property>
244 <property name="orientation">vertical</property>
246 <object class="GtkBox" id="box4">
247 <property name="visible">True</property>
248 <property name="can_focus">False</property>
250 <object class="GtkButtonBox" id="buttonbox1">
251 <property name="visible">True</property>
252 <property name="can_focus">False</property>
253 <property name="layout_style">start</property>
255 <object class="GtkButton" id="refresh">
256 <property name="label">gtk-refresh</property>
257 <property name="visible">True</property>
258 <property name="can_focus">True</property>
259 <property name="receives_default">True</property>
260 <property name="use_stock">True</property>
261 <signal name="clicked" handler="refresh_clicked_cbk" swapped="no"/>
264 <property name="expand">False</property>
265 <property name="fill">False</property>
266 <property name="position">0</property>
270 <object class="GtkButton" id="newtask">
271 <property name="label">gtk-new</property>
272 <property name="visible">True</property>
273 <property name="can_focus">True</property>
274 <property name="receives_default">True</property>
275 <property name="use_stock">True</property>
276 <signal name="clicked" handler="newtask_clicked_cbk" swapped="no"/>
279 <property name="expand">False</property>
280 <property name="fill">False</property>
281 <property name="position">1</property>
286 <property name="expand">False</property>
287 <property name="fill">True</property>
288 <property name="position">0</property>
292 <object class="GtkBox" id="box5">
293 <property name="visible">True</property>
294 <property name="can_focus">False</property>
296 <object class="GtkLabel" id="label4">
297 <property name="visible">True</property>
298 <property name="can_focus">False</property>
299 <property name="margin_left">4</property>
300 <property name="margin_right">4</property>
301 <property name="label" translatable="yes">Status:</property>
304 <property name="expand">False</property>
305 <property name="fill">False</property>
306 <property name="position">0</property>
310 <object class="GtkComboBox" id="status">
311 <property name="visible">True</property>
312 <property name="can_focus">False</property>
313 <property name="model">statusstore</property>
314 <property name="active">0</property>
316 <object class="GtkCellRendererText" id="cellrenderertext4"/>
318 <attribute name="text">0</attribute>
323 <property name="expand">False</property>
324 <property name="fill">False</property>
325 <property name="position">1</property>
330 <property name="expand">False</property>
331 <property name="fill">False</property>
332 <property name="position">2</property>
337 <property name="expand">False</property>
338 <property name="fill">False</property>
339 <property name="position">0</property>
343 <object class="GtkPaned" id="paned1">
344 <property name="visible">True</property>
345 <property name="can_focus">True</property>
346 <property name="orientation">vertical</property>
347 <property name="position">200</property>
348 <property name="position_set">True</property>
350 <object class="GtkScrolledWindow" id="scrolledwindow2">
351 <property name="visible">True</property>
352 <property name="can_focus">True</property>
353 <property name="margin_bottom">4</property>
354 <property name="shadow_type">in</property>
356 <object class="GtkTreeView" id="treeview">
357 <property name="visible">True</property>
358 <property name="can_focus">True</property>
359 <property name="margin_left">4</property>
360 <property name="margin_right">4</property>
361 <property name="margin_top">4</property>
362 <property name="margin_bottom">4</property>
363 <property name="model">taskstore</property>
364 <property name="headers_clickable">False</property>
365 <property name="search_column">1</property>
366 <property name="enable_grid_lines">both</property>
367 <property name="enable_tree_lines">True</property>
368 <child internal-child="selection">
369 <object class="GtkTreeSelection" id="treeview-selection"/>
372 <object class="GtkTreeViewColumn" id="priority">
373 <property name="title" translatable="yes">Priority</property>
374 <property name="sort_column_id">4</property>
376 <object class="GtkCellRendererText" id="cellrenderertext5"/>
378 <attribute name="text">4</attribute>
384 <object class="GtkTreeViewColumn" id="project">
385 <property name="min_width">10</property>
386 <property name="title" translatable="yes">Project</property>
387 <property name="clickable">True</property>
388 <property name="reorderable">True</property>
389 <property name="sort_indicator">True</property>
390 <property name="sort_column_id">2</property>
392 <object class="GtkCellRendererText" id="cellrenderertext3"/>
394 <attribute name="text">2</attribute>
400 <object class="GtkTreeViewColumn" id="description">
401 <property name="fixed_width">10</property>
402 <property name="min_width">30</property>
403 <property name="title" translatable="yes">Description</property>
404 <property name="expand">True</property>
405 <property name="clickable">True</property>
406 <property name="reorderable">True</property>
407 <property name="sort_indicator">True</property>
408 <property name="sort_column_id">1</property>
410 <object class="GtkCellRendererText" id="cellrenderertext2"/>
412 <attribute name="text">1</attribute>
421 <property name="resize">False</property>
422 <property name="shrink">True</property>
426 <object class="GtkBox" id="box2">
427 <property name="visible">True</property>
428 <property name="can_focus">False</property>
429 <property name="orientation">vertical</property>
431 <object class="GtkGrid" id="grid2">
432 <property name="visible">True</property>
433 <property name="can_focus">False</property>
434 <property name="margin_left">4</property>
435 <property name="margin_right">4</property>
436 <property name="margin_top">4</property>
437 <property name="margin_bottom">4</property>
439 <object class="GtkLabel" id="label1">
440 <property name="visible">True</property>
441 <property name="can_focus">False</property>
442 <property name="margin_left">4</property>
443 <property name="margin_right">4</property>
444 <property name="margin_top">4</property>
445 <property name="margin_bottom">4</property>
446 <property name="label" translatable="yes">Description:</property>
449 <property name="left_attach">0</property>
450 <property name="top_attach">1</property>
451 <property name="width">1</property>
452 <property name="height">1</property>
456 <object class="GtkLabel" id="label2">
457 <property name="visible">True</property>
458 <property name="can_focus">False</property>
459 <property name="halign">start</property>
460 <property name="valign">center</property>
461 <property name="margin_left">4</property>
462 <property name="margin_right">4</property>
463 <property name="margin_top">4</property>
464 <property name="label" translatable="yes">Note:</property>
467 <property name="left_attach">0</property>
468 <property name="top_attach">4</property>
469 <property name="width">1</property>
470 <property name="height">1</property>
474 <object class="GtkScrolledWindow" id="scrolledwindow1">
475 <property name="visible">True</property>
476 <property name="can_focus">True</property>
477 <property name="margin_left">4</property>
478 <property name="margin_right">4</property>
479 <property name="margin_top">4</property>
480 <property name="hexpand">True</property>
481 <property name="vexpand">True</property>
482 <property name="shadow_type">in</property>
484 <object class="GtkTextView" id="tasknote">
485 <property name="visible">True</property>
486 <property name="can_focus">True</property>
491 <property name="left_attach">1</property>
492 <property name="top_attach">4</property>
493 <property name="width">1</property>
494 <property name="height">1</property>
498 <object class="GtkEntry" id="taskdescription">
499 <property name="visible">True</property>
500 <property name="can_focus">True</property>
501 <property name="margin_left">4</property>
502 <property name="margin_right">4</property>
503 <property name="margin_top">4</property>
504 <property name="margin_bottom">4</property>
505 <property name="invisible_char">•</property>
506 <property name="invisible_char_set">True</property>
509 <property name="left_attach">1</property>
510 <property name="top_attach">1</property>
511 <property name="width">1</property>
512 <property name="height">1</property>
516 <object class="GtkLabel" id="label3">
517 <property name="visible">True</property>
518 <property name="can_focus">False</property>
519 <property name="halign">start</property>
520 <property name="margin_left">4</property>
521 <property name="margin_right">4</property>
522 <property name="margin_top">4</property>
523 <property name="margin_bottom">4</property>
524 <property name="label" translatable="yes">Project:</property>
527 <property name="left_attach">0</property>
528 <property name="top_attach">3</property>
529 <property name="width">1</property>
530 <property name="height">1</property>
534 <object class="GtkEntry" id="taskproject">
535 <property name="visible">True</property>
536 <property name="can_focus">True</property>
537 <property name="margin_left">4</property>
538 <property name="margin_right">4</property>
539 <property name="margin_top">4</property>
540 <property name="invisible_char">•</property>
543 <property name="left_attach">1</property>
544 <property name="top_attach">3</property>
545 <property name="width">1</property>
546 <property name="height">1</property>
550 <object class="GtkLabel" id="label6">
551 <property name="visible">True</property>
552 <property name="can_focus">False</property>
553 <property name="halign">start</property>
554 <property name="margin_left">4</property>
555 <property name="margin_right">4</property>
556 <property name="margin_top">4</property>
557 <property name="margin_bottom">4</property>
558 <property name="label" translatable="yes">Priority:</property>
561 <property name="left_attach">0</property>
562 <property name="top_attach">2</property>
563 <property name="width">1</property>
564 <property name="height">1</property>
568 <object class="GtkComboBox" id="taskpriority">
569 <property name="visible">True</property>
570 <property name="can_focus">False</property>
571 <property name="margin_left">4</property>
572 <property name="margin_right">4</property>
573 <property name="margin_top">4</property>
574 <property name="margin_bottom">4</property>
575 <property name="model">prioritystore</property>
576 <property name="active">0</property>
578 <object class="GtkCellRendererText" id="cellrenderertext6"/>
580 <attribute name="text">0</attribute>
585 <property name="left_attach">1</property>
586 <property name="top_attach">2</property>
587 <property name="width">1</property>
588 <property name="height">1</property>
592 <object class="GtkButtonBox" id="buttonbox2">
593 <property name="visible">True</property>
594 <property name="can_focus">False</property>
595 <property name="layout_style">start</property>
597 <object class="GtkButton" id="taskdone">
598 <property name="label" translatable="yes">Mark Done</property>
599 <property name="visible">True</property>
600 <property name="can_focus">True</property>
601 <property name="receives_default">True</property>
602 <signal name="clicked" handler="taskdone_clicked_cbk" swapped="no"/>
605 <property name="expand">False</property>
606 <property name="fill">True</property>
607 <property name="position">0</property>
612 <property name="left_attach">0</property>
613 <property name="top_attach">0</property>
614 <property name="width">2</property>
615 <property name="height">1</property>
620 <property name="expand">True</property>
621 <property name="fill">True</property>
622 <property name="position">1</property>
626 <object class="GtkBox" id="box3">
627 <property name="visible">True</property>
628 <property name="can_focus">False</property>
629 <property name="margin_left">4</property>
630 <property name="margin_right">4</property>
631 <property name="margin_top">4</property>
632 <property name="margin_bottom">4</property>
634 <object class="GtkButton" id="tasksave">
635 <property name="label" translatable="yes">Save</property>
636 <property name="visible">True</property>
637 <property name="can_focus">True</property>
638 <property name="receives_default">True</property>
639 <property name="image_position">top</property>
642 <property name="expand">False</property>
643 <property name="fill">True</property>
644 <property name="position">0</property>
648 <object class="GtkButton" id="taskcancel">
649 <property name="label" translatable="yes">Cancel</property>
650 <property name="visible">True</property>
651 <property name="can_focus">True</property>
652 <property name="receives_default">True</property>
655 <property name="expand">False</property>
656 <property name="fill">True</property>
657 <property name="position">2</property>
662 <property name="expand">False</property>
663 <property name="fill">False</property>
664 <property name="position">2</property>
669 <property name="resize">True</property>
670 <property name="shrink">True</property>
675 <property name="expand">True</property>
676 <property name="fill">True</property>
677 <property name="position">1</property>