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="prioritystore">
106 <!-- column-name priority -->
107 <column type="gchararray"/>
111 <col id="0" translatable="yes">None</col>
114 <col id="0" translatable="yes">Low</col>
117 <col id="0" translatable="yes">Medium</col>
120 <col id="0" translatable="yes">High</col>
124 <object class="GtkListStore" id="statusstore">
126 <!-- column-name gchararray1 -->
127 <column type="gchararray"/>
131 <col id="0" translatable="yes">pending</col>
134 <col id="0" translatable="yes">completed</col>
138 <object class="GtkListStore" id="taskstore">
140 <!-- column-name id -->
141 <column type="gint"/>
142 <!-- column-name description -->
143 <column type="gchararray"/>
144 <!-- column-name project -->
145 <column type="gchararray"/>
146 <!-- column-name uuid -->
147 <column type="gchararray"/>
148 <!-- column-name priority -->
149 <column type="gchararray"/>
152 <object class="GtkWindow" id="window">
153 <property name="can_focus">False</property>
154 <property name="title" translatable="yes">ptask</property>
155 <property name="default_width">640</property>
156 <property name="default_height">480</property>
158 <object class="GtkBox" id="box1">
159 <property name="visible">True</property>
160 <property name="can_focus">False</property>
161 <property name="margin_left">4</property>
162 <property name="margin_right">4</property>
163 <property name="margin_top">4</property>
164 <property name="margin_bottom">4</property>
165 <property name="orientation">vertical</property>
167 <object class="GtkBox" id="box4">
168 <property name="visible">True</property>
169 <property name="can_focus">False</property>
171 <object class="GtkButtonBox" id="buttonbox1">
172 <property name="visible">True</property>
173 <property name="can_focus">False</property>
174 <property name="layout_style">start</property>
176 <object class="GtkButton" id="refresh">
177 <property name="label">gtk-refresh</property>
178 <property name="visible">True</property>
179 <property name="can_focus">True</property>
180 <property name="receives_default">True</property>
181 <property name="use_stock">True</property>
182 <signal name="clicked" handler="refresh_clicked_cbk" swapped="no"/>
185 <property name="expand">False</property>
186 <property name="fill">False</property>
187 <property name="position">0</property>
191 <object class="GtkButton" id="newtask">
192 <property name="label">gtk-new</property>
193 <property name="visible">True</property>
194 <property name="can_focus">True</property>
195 <property name="receives_default">True</property>
196 <property name="use_stock">True</property>
197 <signal name="clicked" handler="newtask_clicked_cbk" swapped="no"/>
200 <property name="expand">False</property>
201 <property name="fill">False</property>
202 <property name="position">1</property>
207 <property name="expand">False</property>
208 <property name="fill">True</property>
209 <property name="position">0</property>
213 <object class="GtkBox" id="box5">
214 <property name="visible">True</property>
215 <property name="can_focus">False</property>
217 <object class="GtkLabel" id="label4">
218 <property name="visible">True</property>
219 <property name="can_focus">False</property>
220 <property name="margin_left">4</property>
221 <property name="margin_right">4</property>
222 <property name="label" translatable="yes">Status:</property>
225 <property name="expand">False</property>
226 <property name="fill">False</property>
227 <property name="position">0</property>
231 <object class="GtkComboBox" id="status">
232 <property name="visible">True</property>
233 <property name="can_focus">False</property>
234 <property name="model">statusstore</property>
235 <property name="active">0</property>
237 <object class="GtkCellRendererText" id="cellrenderertext4"/>
239 <attribute name="text">0</attribute>
244 <property name="expand">False</property>
245 <property name="fill">False</property>
246 <property name="position">1</property>
251 <property name="expand">False</property>
252 <property name="fill">False</property>
253 <property name="position">2</property>
258 <property name="expand">False</property>
259 <property name="fill">False</property>
260 <property name="position">0</property>
264 <object class="GtkPaned" id="paned1">
265 <property name="visible">True</property>
266 <property name="can_focus">True</property>
267 <property name="orientation">vertical</property>
268 <property name="position">200</property>
269 <property name="position_set">True</property>
271 <object class="GtkScrolledWindow" id="scrolledwindow2">
272 <property name="visible">True</property>
273 <property name="can_focus">True</property>
274 <property name="margin_bottom">4</property>
275 <property name="shadow_type">in</property>
277 <object class="GtkTreeView" id="treeview">
278 <property name="visible">True</property>
279 <property name="can_focus">True</property>
280 <property name="margin_left">4</property>
281 <property name="margin_right">4</property>
282 <property name="margin_top">4</property>
283 <property name="margin_bottom">4</property>
284 <property name="model">taskstore</property>
285 <property name="headers_clickable">False</property>
286 <property name="search_column">1</property>
287 <property name="enable_grid_lines">both</property>
288 <property name="enable_tree_lines">True</property>
289 <child internal-child="selection">
290 <object class="GtkTreeSelection" id="treeview-selection"/>
293 <object class="GtkTreeViewColumn" id="priority">
294 <property name="title" translatable="yes">Priority</property>
295 <property name="sort_column_id">4</property>
297 <object class="GtkCellRendererText" id="cellrenderertext5"/>
299 <attribute name="text">4</attribute>
305 <object class="GtkTreeViewColumn" id="project">
306 <property name="min_width">10</property>
307 <property name="title" translatable="yes">Project</property>
308 <property name="clickable">True</property>
309 <property name="reorderable">True</property>
310 <property name="sort_indicator">True</property>
311 <property name="sort_column_id">2</property>
313 <object class="GtkCellRendererText" id="cellrenderertext3"/>
315 <attribute name="text">2</attribute>
321 <object class="GtkTreeViewColumn" id="description">
322 <property name="fixed_width">10</property>
323 <property name="min_width">30</property>
324 <property name="title" translatable="yes">Description</property>
325 <property name="expand">True</property>
326 <property name="clickable">True</property>
327 <property name="reorderable">True</property>
328 <property name="sort_indicator">True</property>
329 <property name="sort_column_id">1</property>
331 <object class="GtkCellRendererText" id="cellrenderertext2"/>
333 <attribute name="text">1</attribute>
342 <property name="resize">False</property>
343 <property name="shrink">True</property>
347 <object class="GtkBox" id="box2">
348 <property name="visible">True</property>
349 <property name="can_focus">False</property>
350 <property name="orientation">vertical</property>
352 <object class="GtkGrid" id="grid2">
353 <property name="visible">True</property>
354 <property name="can_focus">False</property>
355 <property name="margin_left">4</property>
356 <property name="margin_right">4</property>
357 <property name="margin_top">4</property>
358 <property name="margin_bottom">4</property>
360 <object class="GtkLabel" id="label1">
361 <property name="visible">True</property>
362 <property name="can_focus">False</property>
363 <property name="margin_left">4</property>
364 <property name="margin_right">4</property>
365 <property name="margin_top">4</property>
366 <property name="margin_bottom">4</property>
367 <property name="label" translatable="yes">Description:</property>
370 <property name="left_attach">0</property>
371 <property name="top_attach">1</property>
372 <property name="width">1</property>
373 <property name="height">1</property>
377 <object class="GtkLabel" id="label2">
378 <property name="visible">True</property>
379 <property name="can_focus">False</property>
380 <property name="halign">start</property>
381 <property name="valign">center</property>
382 <property name="margin_left">4</property>
383 <property name="margin_right">4</property>
384 <property name="margin_top">4</property>
385 <property name="label" translatable="yes">Note:</property>
388 <property name="left_attach">0</property>
389 <property name="top_attach">4</property>
390 <property name="width">1</property>
391 <property name="height">1</property>
395 <object class="GtkScrolledWindow" id="scrolledwindow1">
396 <property name="visible">True</property>
397 <property name="can_focus">True</property>
398 <property name="margin_left">4</property>
399 <property name="margin_right">4</property>
400 <property name="margin_top">4</property>
401 <property name="hexpand">True</property>
402 <property name="vexpand">True</property>
403 <property name="shadow_type">in</property>
405 <object class="GtkTextView" id="tasknote">
406 <property name="visible">True</property>
407 <property name="can_focus">True</property>
412 <property name="left_attach">1</property>
413 <property name="top_attach">4</property>
414 <property name="width">1</property>
415 <property name="height">1</property>
419 <object class="GtkEntry" id="taskdescription">
420 <property name="visible">True</property>
421 <property name="can_focus">True</property>
422 <property name="margin_left">4</property>
423 <property name="margin_right">4</property>
424 <property name="margin_top">4</property>
425 <property name="margin_bottom">4</property>
426 <property name="invisible_char">•</property>
427 <property name="invisible_char_set">True</property>
430 <property name="left_attach">1</property>
431 <property name="top_attach">1</property>
432 <property name="width">1</property>
433 <property name="height">1</property>
437 <object class="GtkLabel" id="label3">
438 <property name="visible">True</property>
439 <property name="can_focus">False</property>
440 <property name="halign">start</property>
441 <property name="margin_left">4</property>
442 <property name="margin_right">4</property>
443 <property name="margin_top">4</property>
444 <property name="margin_bottom">4</property>
445 <property name="label" translatable="yes">Project:</property>
448 <property name="left_attach">0</property>
449 <property name="top_attach">3</property>
450 <property name="width">1</property>
451 <property name="height">1</property>
455 <object class="GtkEntry" id="taskproject">
456 <property name="visible">True</property>
457 <property name="can_focus">True</property>
458 <property name="margin_left">4</property>
459 <property name="margin_right">4</property>
460 <property name="margin_top">4</property>
461 <property name="invisible_char">•</property>
464 <property name="left_attach">1</property>
465 <property name="top_attach">3</property>
466 <property name="width">1</property>
467 <property name="height">1</property>
471 <object class="GtkLabel" id="label6">
472 <property name="visible">True</property>
473 <property name="can_focus">False</property>
474 <property name="halign">start</property>
475 <property name="margin_left">4</property>
476 <property name="margin_right">4</property>
477 <property name="margin_top">4</property>
478 <property name="margin_bottom">4</property>
479 <property name="label" translatable="yes">Priority:</property>
482 <property name="left_attach">0</property>
483 <property name="top_attach">2</property>
484 <property name="width">1</property>
485 <property name="height">1</property>
489 <object class="GtkComboBox" id="taskpriority">
490 <property name="visible">True</property>
491 <property name="can_focus">False</property>
492 <property name="margin_left">4</property>
493 <property name="margin_right">4</property>
494 <property name="margin_top">4</property>
495 <property name="margin_bottom">4</property>
496 <property name="model">prioritystore</property>
497 <property name="active">0</property>
499 <object class="GtkCellRendererText" id="cellrenderertext6"/>
501 <attribute name="text">0</attribute>
506 <property name="left_attach">1</property>
507 <property name="top_attach">2</property>
508 <property name="width">1</property>
509 <property name="height">1</property>
513 <object class="GtkButtonBox" id="buttonbox2">
514 <property name="visible">True</property>
515 <property name="can_focus">False</property>
516 <property name="layout_style">start</property>
518 <object class="GtkButton" id="taskdone">
519 <property name="label" translatable="yes">Mark Done</property>
520 <property name="visible">True</property>
521 <property name="can_focus">True</property>
522 <property name="receives_default">True</property>
523 <signal name="clicked" handler="taskdone_clicked_cbk" swapped="no"/>
526 <property name="expand">False</property>
527 <property name="fill">True</property>
528 <property name="position">0</property>
533 <property name="left_attach">0</property>
534 <property name="top_attach">0</property>
535 <property name="width">2</property>
536 <property name="height">1</property>
541 <property name="expand">True</property>
542 <property name="fill">True</property>
543 <property name="position">1</property>
547 <object class="GtkBox" id="box3">
548 <property name="visible">True</property>
549 <property name="can_focus">False</property>
550 <property name="margin_left">4</property>
551 <property name="margin_right">4</property>
552 <property name="margin_top">4</property>
553 <property name="margin_bottom">4</property>
555 <object class="GtkButton" id="tasksave">
556 <property name="label" translatable="yes">Save</property>
557 <property name="visible">True</property>
558 <property name="can_focus">True</property>
559 <property name="receives_default">True</property>
560 <property name="image_position">top</property>
563 <property name="expand">False</property>
564 <property name="fill">True</property>
565 <property name="position">0</property>
569 <object class="GtkButton" id="taskcancel">
570 <property name="label" translatable="yes">Cancel</property>
571 <property name="visible">True</property>
572 <property name="can_focus">True</property>
573 <property name="receives_default">True</property>
576 <property name="expand">False</property>
577 <property name="fill">True</property>
578 <property name="position">2</property>
583 <property name="expand">False</property>
584 <property name="fill">False</property>
585 <property name="position">2</property>
590 <property name="resize">True</property>
591 <property name="shrink">True</property>
596 <property name="expand">True</property>
597 <property name="fill">True</property>
598 <property name="position">1</property>