main_window.ui 37.3 KB
Newer Older
Daniel Garcia Moreno's avatar
Daniel Garcia Moreno committed
1 2 3 4
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.22.1 -->
<interface>
  <requires lib="gtk+" version="3.20"/>
Diego Gangl's avatar
Diego Gangl committed
5 6 7 8 9
  <requires lib="libhandy" version="0.0"/>
  <object class="GtkMenu">
    <property name="visible">True</property>
    <property name="can_focus">False</property>
  </object>
10 11 12 13 14 15
  <object class="GtkPopover" id="calendar-popover">
    <property name="can_focus">False</property>
    <child>
      <object class="GtkBox">
        <property name="visible">True</property>
        <property name="can_focus">False</property>
16 17 18 19
        <property name="margin_left">12</property>
        <property name="margin_right">12</property>
        <property name="margin_top">12</property>
        <property name="margin_bottom">12</property>
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
        <property name="orientation">vertical</property>
        <property name="spacing">6</property>
        <child>
          <object class="GtkButton" id="today-button">
            <property name="label" translatable="yes">Today</property>
            <property name="visible">True</property>
            <property name="can_focus">True</property>
            <property name="receives_default">True</property>
            <property name="action_name">app.report-today</property>
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="fill">True</property>
            <property name="position">0</property>
          </packing>
        </child>
        <child>
          <object class="GtkCalendar" id="report-calendar">
            <property name="visible">True</property>
            <property name="can_focus">True</property>
            <property name="year">2019</property>
            <property name="day">22</property>
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="fill">True</property>
            <property name="position">1</property>
          </packing>
        </child>
      </object>
    </child>
  </object>
52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78
  <object class="GtkStack" id="main-stack">
    <property name="can_focus">False</property>
    <child>
      <object class="GtkBox" id="main-box">
        <property name="visible">True</property>
        <property name="can_focus">False</property>
        <property name="orientation">vertical</property>
        <child>
          <object class="GtkLabel" id="timer">
            <property name="visible">True</property>
            <property name="can_focus">False</property>
            <property name="label" translatable="yes">00:00:00</property>
            <style>
              <class name="timer"/>
            </style>
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="fill">True</property>
            <property name="position">0</property>
          </packing>
        </child>
        <child>
          <object class="GtkScrolledWindow">
            <property name="width_request">310</property>
            <property name="visible">True</property>
            <property name="can_focus">True</property>
Daniel Garcia Moreno's avatar
Daniel Garcia Moreno committed
79
            <property name="margin_bottom">6</property>
80 81 82 83 84 85 86 87 88 89
            <property name="shadow_type">in</property>
            <child>
              <object class="GtkViewport">
                <property name="width_request">300</property>
                <property name="visible">True</property>
                <property name="can_focus">False</property>
                <property name="hexpand">True</property>
                <property name="vexpand">True</property>
                <property name="border_width">0</property>
                <child>
90
                  <object class="HdyColumn">
91
                    <property name="visible">True</property>
Diego Gangl's avatar
Diego Gangl committed
92
                    <property name="can_focus">False</property>
93
                    <property name="maximum_width">800</property>
Diego Gangl's avatar
Diego Gangl committed
94
                    <property name="linear_growth_width">400</property>
95 96 97 98 99 100 101 102 103
                    <child>
                      <object class="GtkListBox" id="activity-list">
                        <property name="width_request">300</property>
                        <property name="visible">True</property>
                        <property name="can_focus">False</property>
                        <property name="hexpand">True</property>
                        <property name="vexpand">True</property>
                      </object>
                    </child>
104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121
                  </object>
                </child>
              </object>
            </child>
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="fill">True</property>
            <property name="position">1</property>
          </packing>
        </child>
      </object>
      <packing>
        <property name="name">main</property>
        <property name="title" translatable="yes">page0</property>
      </packing>
    </child>
    <child>
122
      <object class="GtkBox" id="report-box">
123 124
        <property name="visible">True</property>
        <property name="can_focus">False</property>
Daniel Garcia Moreno's avatar
Daniel Garcia Moreno committed
125 126
        <property name="margin_top">6</property>
        <property name="margin_bottom">6</property>
127
        <property name="orientation">vertical</property>
Daniel Garcia Moreno's avatar
Daniel Garcia Moreno committed
128
        <property name="spacing">6</property>
129
        <child>
130 131
          <object class="GtkBox" id="report-navigation-bar">
            <property name="width_request">300</property>
132 133
            <property name="visible">True</property>
            <property name="can_focus">False</property>
134 135
            <property name="halign">center</property>
            <property name="hexpand">True</property>
136
            <child>
137
              <object class="GtkButton" id="report-left">
138
                <property name="visible">True</property>
139 140 141 142 143 144 145 146 147 148
                <property name="can_focus">True</property>
                <property name="receives_default">True</property>
                <property name="action_name">app.report-left</property>
                <child>
                  <object class="GtkImage">
                    <property name="visible">True</property>
                    <property name="can_focus">False</property>
                    <property name="icon_name">go-previous-symbolic</property>
                  </object>
                </child>
149 150 151 152 153 154 155
              </object>
              <packing>
                <property name="expand">False</property>
                <property name="fill">True</property>
                <property name="position">0</property>
              </packing>
            </child>
Daniel Garcia Moreno's avatar
Daniel Garcia Moreno committed
156
            <child>
157
              <object class="GtkMenuButton" id="report-date-button">
Daniel Garcia Moreno's avatar
Daniel Garcia Moreno committed
158 159
                <property name="visible">True</property>
                <property name="can_focus">True</property>
160 161 162
                <property name="receives_default">True</property>
                <property name="halign">center</property>
                <property name="popover">calendar-popover</property>
Daniel Garcia Moreno's avatar
Daniel Garcia Moreno committed
163
                <child>
164
                  <object class="GtkLabel" id="report-date">
Daniel Garcia Moreno's avatar
Daniel Garcia Moreno committed
165 166 167 168 169 170
                    <property name="visible">True</property>
                    <property name="can_focus">False</property>
                  </object>
                </child>
              </object>
              <packing>
171
                <property name="expand">True</property>
Daniel Garcia Moreno's avatar
Daniel Garcia Moreno committed
172 173 174 175
                <property name="fill">True</property>
                <property name="position">1</property>
              </packing>
            </child>
176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195
            <child>
              <object class="GtkButton" id="report-right">
                <property name="visible">True</property>
                <property name="can_focus">True</property>
                <property name="receives_default">True</property>
                <property name="action_name">app.report-right</property>
                <child>
                  <object class="GtkImage">
                    <property name="visible">True</property>
                    <property name="can_focus">False</property>
                    <property name="icon_name">go-next-symbolic</property>
                  </object>
                </child>
              </object>
              <packing>
                <property name="expand">False</property>
                <property name="fill">True</property>
                <property name="position">2</property>
              </packing>
            </child>
196 197
          </object>
          <packing>
198 199 200
            <property name="expand">False</property>
            <property name="fill">True</property>
            <property name="position">0</property>
201 202
          </packing>
        </child>
Daniel Garcia Moreno's avatar
Daniel Garcia Moreno committed
203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219
        <child>
          <object class="GtkSearchEntry" id="report-filter">
            <property name="width_request">300</property>
            <property name="visible">True</property>
            <property name="can_focus">True</property>
            <property name="halign">center</property>
            <property name="hexpand">False</property>
            <property name="primary_icon_name">edit-find-symbolic</property>
            <property name="primary_icon_activatable">False</property>
            <property name="primary_icon_sensitive">False</property>
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="fill">True</property>
            <property name="position">1</property>
          </packing>
        </child>
220
        <child>
221
          <object class="GtkStack" id="report-stack">
222 223 224
            <property name="visible">True</property>
            <property name="can_focus">False</property>
            <child>
225
              <object class="GtkBox">
226 227
                <property name="visible">True</property>
                <property name="can_focus">False</property>
228 229 230 231 232 233 234 235 236 237 238 239
                <property name="orientation">vertical</property>
                <child>
                  <object class="GtkScrolledWindow">
                    <property name="visible">True</property>
                    <property name="can_focus">True</property>
                    <property name="vexpand">True</property>
                    <property name="shadow_type">in</property>
                    <child>
                      <object class="GtkViewport">
                        <property name="visible">True</property>
                        <property name="can_focus">False</property>
                        <child>
240
                          <object class="HdyColumn">
241
                            <property name="visible">True</property>
Diego Gangl's avatar
Diego Gangl committed
242
                            <property name="can_focus">False</property>
243
                            <property name="maximum_width">800</property>
Diego Gangl's avatar
Diego Gangl committed
244
                            <property name="linear_growth_width">400</property>
245 246 247 248 249 250 251 252 253
                            <child>
                              <object class="GtkListBox" id="report-day-list">
                                <property name="width_request">300</property>
                                <property name="visible">True</property>
                                <property name="can_focus">False</property>
                                <property name="hexpand">True</property>
                                <property name="vexpand">True</property>
                              </object>
                            </child>
254 255 256 257 258 259 260 261 262 263 264
                          </object>
                        </child>
                      </object>
                    </child>
                  </object>
                  <packing>
                    <property name="expand">False</property>
                    <property name="fill">True</property>
                    <property name="position">1</property>
                  </packing>
                </child>
265
              </object>
Daniel Garcia Moreno's avatar
Daniel Garcia Moreno committed
266
              <packing>
267 268
                <property name="name">day</property>
                <property name="title" translatable="yes">Day</property>
Daniel Garcia Moreno's avatar
Daniel Garcia Moreno committed
269 270 271
              </packing>
            </child>
            <child>
272
              <object class="GtkBox">
Daniel Garcia Moreno's avatar
Daniel Garcia Moreno committed
273
                <property name="visible">True</property>
274 275
                <property name="can_focus">False</property>
                <property name="orientation">vertical</property>
Daniel Garcia Moreno's avatar
Daniel Garcia Moreno committed
276
                <child>
277
                  <object class="GtkScrolledWindow">
Daniel Garcia Moreno's avatar
Daniel Garcia Moreno committed
278
                    <property name="visible">True</property>
279 280 281
                    <property name="can_focus">True</property>
                    <property name="vexpand">True</property>
                    <property name="shadow_type">in</property>
Daniel Garcia Moreno's avatar
Daniel Garcia Moreno committed
282
                    <child>
283
                      <object class="GtkViewport">
Daniel Garcia Moreno's avatar
Daniel Garcia Moreno committed
284 285
                        <property name="visible">True</property>
                        <property name="can_focus">False</property>
286
                        <child>
287
                          <object class="HdyColumn">
288
                            <property name="visible">True</property>
Diego Gangl's avatar
Diego Gangl committed
289
                            <property name="can_focus">False</property>
290
                            <property name="maximum_width">800</property>
Diego Gangl's avatar
Diego Gangl committed
291
                            <property name="linear_growth_width">400</property>
292 293 294 295 296 297 298 299 300
                            <child>
                              <object class="GtkListBox" id="report-week-list">
                                <property name="width_request">300</property>
                                <property name="visible">True</property>
                                <property name="can_focus">False</property>
                                <property name="hexpand">True</property>
                                <property name="vexpand">True</property>
                              </object>
                            </child>
301 302
                          </object>
                        </child>
Daniel Garcia Moreno's avatar
Daniel Garcia Moreno committed
303 304 305
                      </object>
                    </child>
                  </object>
306 307 308 309 310
                  <packing>
                    <property name="expand">False</property>
                    <property name="fill">True</property>
                    <property name="position">1</property>
                  </packing>
Daniel Garcia Moreno's avatar
Daniel Garcia Moreno committed
311 312
                </child>
              </object>
313
              <packing>
314 315
                <property name="name">week</property>
                <property name="title" translatable="yes">Week</property>
316 317 318 319
                <property name="position">1</property>
              </packing>
            </child>
            <child>
320
              <object class="GtkBox">
321 322
                <property name="visible">True</property>
                <property name="can_focus">False</property>
323
                <property name="orientation">vertical</property>
Daniel Garcia Moreno's avatar
Daniel Garcia Moreno committed
324
                <child>
325
                  <object class="GtkScrolledWindow">
Daniel Garcia Moreno's avatar
Daniel Garcia Moreno committed
326
                    <property name="visible">True</property>
327 328 329
                    <property name="can_focus">True</property>
                    <property name="vexpand">True</property>
                    <property name="shadow_type">in</property>
Daniel Garcia Moreno's avatar
Daniel Garcia Moreno committed
330
                    <child>
331
                      <object class="GtkViewport">
Daniel Garcia Moreno's avatar
Daniel Garcia Moreno committed
332 333
                        <property name="visible">True</property>
                        <property name="can_focus">False</property>
334
                        <child>
335
                          <object class="HdyColumn">
336
                            <property name="visible">True</property>
Diego Gangl's avatar
Diego Gangl committed
337
                            <property name="can_focus">False</property>
338
                            <property name="maximum_width">800</property>
Diego Gangl's avatar
Diego Gangl committed
339
                            <property name="linear_growth_width">400</property>
340 341 342 343 344 345 346 347 348
                            <child>
                              <object class="GtkListBox" id="report-month-list">
                                <property name="width_request">300</property>
                                <property name="visible">True</property>
                                <property name="can_focus">False</property>
                                <property name="hexpand">True</property>
                                <property name="vexpand">True</property>
                              </object>
                            </child>
349 350
                          </object>
                        </child>
Daniel Garcia Moreno's avatar
Daniel Garcia Moreno committed
351 352 353
                      </object>
                    </child>
                  </object>
354 355 356 357 358
                  <packing>
                    <property name="expand">False</property>
                    <property name="fill">True</property>
                    <property name="position">1</property>
                  </packing>
Daniel Garcia Moreno's avatar
Daniel Garcia Moreno committed
359 360 361
                </child>
              </object>
              <packing>
362 363 364
                <property name="name">month</property>
                <property name="title" translatable="yes">Month</property>
                <property name="position">2</property>
Daniel Garcia Moreno's avatar
Daniel Garcia Moreno committed
365 366
              </packing>
            </child>
367 368
          </object>
          <packing>
369
            <property name="expand">True</property>
370
            <property name="fill">True</property>
Daniel Garcia Moreno's avatar
Daniel Garcia Moreno committed
371
            <property name="position">2</property>
372
          </packing>
373 374 375 376 377 378 379 380 381 382 383 384 385
        </child>
        <child>
          <object class="GtkBox">
            <property name="width_request">300</property>
            <property name="visible">True</property>
            <property name="can_focus">False</property>
            <property name="halign">center</property>
            <property name="hexpand">False</property>
            <property name="homogeneous">True</property>
            <child>
              <object class="GtkLabel">
                <property name="visible">True</property>
                <property name="can_focus">False</property>
386
                <property name="label" translatable="yes">Total Time</property>
387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415
                <property name="xalign">0</property>
              </object>
              <packing>
                <property name="expand">False</property>
                <property name="fill">True</property>
                <property name="position">0</property>
              </packing>
            </child>
            <child>
              <object class="GtkLabel" id="report-total">
                <property name="visible">True</property>
                <property name="can_focus">False</property>
                <attributes>
                  <attribute name="weight" value="bold"/>
                  <attribute name="scale" value="1"/>
                </attributes>
              </object>
              <packing>
                <property name="expand">False</property>
                <property name="fill">True</property>
                <property name="position">1</property>
              </packing>
            </child>
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="fill">True</property>
            <property name="position">3</property>
          </packing>
416 417 418 419
        </child>
      </object>
      <packing>
        <property name="name">report</property>
420
        <property name="title" translatable="yes">Report</property>
421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450
        <property name="position">1</property>
      </packing>
    </child>
  </object>
  <object class="GtkHeaderBar" id="reportbar">
    <property name="visible">True</property>
    <property name="can_focus">False</property>
    <property name="show_close_button">True</property>
    <child>
      <object class="GtkButton" id="back-button">
        <property name="visible">True</property>
        <property name="can_focus">True</property>
        <property name="receives_default">True</property>
        <property name="action_name">app.list</property>
        <child>
          <object class="GtkImage">
            <property name="visible">True</property>
            <property name="can_focus">False</property>
            <property name="icon_name">go-previous-symbolic</property>
          </object>
        </child>
      </object>
    </child>
    <child type="title">
      <object class="GtkStackSwitcher" id="report-stack-switcher">
        <property name="visible">True</property>
        <property name="can_focus">False</property>
        <property name="stack">report-stack</property>
      </object>
    </child>
Diego Gangl's avatar
Diego Gangl committed
451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471
    <child>
      <object class="GtkButton" id="report-export">
        <property name="visible">True</property>
        <property name="can_focus">True</property>
        <property name="receives_default">True</property>
        <property name="tooltip_text" translatable="yes">Export actvity report data</property>
        <property name="action_name">app.report-export</property>
        <property name="image_position">bottom</property>
        <child>
          <object class="GtkImage">
            <property name="visible">True</property>
            <property name="can_focus">False</property>
            <property name="icon_name">document-save-symbolic</property>
          </object>
        </child>
      </object>
      <packing>
        <property name="pack_type">end</property>
        <property name="position">1</property>
      </packing>
    </child>
472
  </object>
473 474 475
  <object class="GtkAdjustment" id="current-hour-adj">
    <property name="upper">24</property>
    <property name="step_increment">1</property>
476
    <property name="page_increment">1</property>
477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567
  </object>
  <object class="GtkAdjustment" id="current-minute-adj">
    <property name="upper">60</property>
    <property name="step_increment">1</property>
    <property name="page_increment">10</property>
  </object>
  <object class="GtkPopover" id="current-activity-popover">
    <property name="can_focus">False</property>
    <child>
      <object class="GtkBox">
        <property name="visible">True</property>
        <property name="can_focus">False</property>
        <property name="margin_left">12</property>
        <property name="margin_right">12</property>
        <property name="margin_top">12</property>
        <property name="margin_bottom">12</property>
        <property name="orientation">vertical</property>
        <property name="spacing">6</property>
        <child>
          <object class="GtkEntry" id="current-name">
            <property name="visible">True</property>
            <property name="can_focus">True</property>
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="fill">True</property>
            <property name="position">0</property>
          </packing>
        </child>
        <child>
          <object class="GtkLabel">
            <property name="visible">True</property>
            <property name="can_focus">False</property>
            <property name="label" translatable="yes">Start</property>
            <property name="xalign">0</property>
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="fill">True</property>
            <property name="position">1</property>
          </packing>
        </child>
        <child>
          <object class="GtkBox">
            <property name="visible">True</property>
            <property name="can_focus">False</property>
            <property name="spacing">6</property>
            <child>
              <object class="GtkSpinButton" id="current-hour">
                <property name="visible">True</property>
                <property name="can_focus">True</property>
                <property name="adjustment">current-hour-adj</property>
              </object>
              <packing>
                <property name="expand">False</property>
                <property name="fill">True</property>
                <property name="position">0</property>
              </packing>
            </child>
            <child>
              <object class="GtkSpinButton" id="current-minute">
                <property name="visible">True</property>
                <property name="can_focus">True</property>
                <property name="adjustment">current-minute-adj</property>
              </object>
              <packing>
                <property name="expand">False</property>
                <property name="fill">True</property>
                <property name="position">1</property>
              </packing>
            </child>
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="fill">True</property>
            <property name="position">2</property>
          </packing>
        </child>
        <child>
          <object class="GtkCalendar" id="current-day">
            <property name="visible">True</property>
            <property name="can_focus">True</property>
            <property name="year">2019</property>
            <property name="day">26</property>
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="fill">True</property>
            <property name="position">3</property>
          </packing>
        </child>
568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593
        <child>
          <object class="GtkFrame">
            <property name="visible">True</property>
            <property name="can_focus">False</property>
            <property name="label_xalign">0</property>
            <property name="shadow_type">none</property>
            <child>
              <object class="GtkScrolledWindow">
                <property name="visible">True</property>
                <property name="can_focus">True</property>
                <property name="shadow_type">in</property>
                <child>
                  <object class="GtkTextView" id="current-comments">
                    <property name="visible">True</property>
                    <property name="can_focus">True</property>
                    <property name="tooltip_text" translatable="yes">Comments about this activity</property>
                    <property name="left_margin">5</property>
                    <property name="right_margin">5</property>
                    <property name="top_margin">5</property>
                    <property name="bottom_margin">5</property>
                    <property name="input_hints">GTK_INPUT_HINT_SPELLCHECK | GTK_INPUT_HINT_NONE</property>
                    <style>
                      <class name="comments"/>
                    </style>
                  </object>
                </child>
Diego Gangl's avatar
Diego Gangl committed
594 595 596
                <style>
                  <class name="comments-frame"/>
                </style>
597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612
              </object>
            </child>
            <child type="label">
              <object class="GtkLabel">
                <property name="visible">True</property>
                <property name="can_focus">False</property>
                <property name="label" translatable="yes">Comments</property>
              </object>
            </child>
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="fill">True</property>
            <property name="position">4</property>
          </packing>
        </child>
613 614 615 616 617 618 619 620 621 622 623 624
        <child>
          <object class="GtkLabel" id="current-timer">
            <property name="visible">True</property>
            <property name="can_focus">False</property>
            <property name="label" translatable="yes">00:00:00</property>
            <style>
              <class name="timer"/>
            </style>
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="fill">True</property>
625
            <property name="position">5</property>
626 627 628 629 630
          </packing>
        </child>
      </object>
    </child>
  </object>
Daniel Garcia Moreno's avatar
Daniel Garcia Moreno committed
631 632 633 634 635 636 637
  <object class="GtkPopover" id="menubutton_popover">
    <property name="can_focus">False</property>
    <child>
      <object class="GtkBox" id="menubutton_popover_box">
        <property name="visible">True</property>
        <property name="can_focus">False</property>
        <property name="orientation">vertical</property>
Daniel Garcia Moreno's avatar
Daniel Garcia Moreno committed
638
        <property name="margin">12</property>
639 640 641 642 643 644
        <child>
          <object class="GtkModelButton" id="menubutton_popover_report_button">
            <property name="visible">True</property>
            <property name="can_focus">True</property>
            <property name="receives_default">True</property>
            <property name="action_name">app.report</property>
645
            <property name="text" translatable="yes">Activity Report</property>
646 647 648 649 650 651 652
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="fill">True</property>
            <property name="position">0</property>
          </packing>
        </child>
Daniel Garcia Moreno's avatar
Daniel Garcia Moreno committed
653 654 655 656 657 658
        <child>
          <object class="GtkModelButton" id="menubutton_popover_new_button">
            <property name="visible">True</property>
            <property name="can_focus">True</property>
            <property name="receives_default">True</property>
            <property name="action_name">app.new</property>
659
            <property name="text" translatable="yes">New Activity</property>
Daniel Garcia Moreno's avatar
Daniel Garcia Moreno committed
660 661 662 663 664 665 666 667 668 669 670 671 672
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="fill">True</property>
            <property name="position">1</property>
          </packing>
        </child>
        <child>
          <object class="GtkModelButton" id="menubutton_popover_edit_button">
            <property name="visible">True</property>
            <property name="can_focus">True</property>
            <property name="receives_default">True</property>
            <property name="action_name">app.edit</property>
673
            <property name="text" translatable="yes">Edit Activity</property>
Daniel Garcia Moreno's avatar
Daniel Garcia Moreno committed
674 675 676 677 678 679 680 681 682 683 684 685 686
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="fill">True</property>
            <property name="position">2</property>
          </packing>
        </child>
        <child>
          <object class="GtkModelButton" id="menubutton_popover_remove_button">
            <property name="visible">True</property>
            <property name="can_focus">True</property>
            <property name="receives_default">True</property>
            <property name="action_name">app.remove</property>
687
            <property name="text" translatable="yes">Remove Activity</property>
Daniel Garcia Moreno's avatar
Daniel Garcia Moreno committed
688 689 690 691 692 693 694
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="fill">True</property>
            <property name="position">3</property>
          </packing>
        </child>
695 696 697 698 699 700 701 702
        <child>
          <object class="GtkSeparator">
            <property name="visible">True</property>
            <property name="can_focus">False</property>
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="fill">True</property>
Daniel Garcia Moreno's avatar
Daniel Garcia Moreno committed
703
            <property name="position">4</property>
704 705
          </packing>
        </child>
Daniel Garcia Moreno's avatar
Daniel Garcia Moreno committed
706 707 708 709 710 711 712 713 714 715 716
        <child>
          <object class="GtkModelButton" id="menubutton_popover_shortcuts_button">
            <property name="visible">True</property>
            <property name="can_focus">True</property>
            <property name="receives_default">True</property>
            <property name="action_name">app.shortcuts</property>
            <property name="text" translatable="yes">Keyboard Shortcuts</property>
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="fill">True</property>
Daniel Garcia Moreno's avatar
Daniel Garcia Moreno committed
717
            <property name="position">6</property>
Daniel Garcia Moreno's avatar
Daniel Garcia Moreno committed
718 719 720 721 722 723 724 725
          </packing>
        </child>
        <child>
          <object class="GtkModelButton" id="menubutton_popover_about_button">
            <property name="visible">True</property>
            <property name="can_focus">True</property>
            <property name="receives_default">True</property>
            <property name="action_name">app.about</property>
726
            <property name="text" translatable="yes" comments="&quot;Timetrack&quot; is the application name">About Timetrack</property>
Daniel Garcia Moreno's avatar
Daniel Garcia Moreno committed
727 728 729 730
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="fill">True</property>
Daniel Garcia Moreno's avatar
Daniel Garcia Moreno committed
731
            <property name="position">7</property>
Daniel Garcia Moreno's avatar
Daniel Garcia Moreno committed
732 733 734 735 736 737 738 739 740 741
          </packing>
        </child>
      </object>
    </child>
  </object>
  <object class="GtkHeaderBar" id="headerbar">
    <property name="visible">True</property>
    <property name="can_focus">False</property>
    <property name="show_close_button">True</property>
    <child>
Daniel Garcia Moreno's avatar
Daniel Garcia Moreno committed
742
      <object class="GtkStack" id="button-stack">
Daniel Garcia Moreno's avatar
Daniel Garcia Moreno committed
743 744 745
        <property name="visible">True</property>
        <property name="can_focus">False</property>
        <child>
Daniel Garcia Moreno's avatar
Daniel Garcia Moreno committed
746
          <object class="GtkButton" id="start-button">
747
            <property name="label" translatable="yes">Start Activity</property>
Daniel Garcia Moreno's avatar
Daniel Garcia Moreno committed
748
            <property name="visible">True</property>
Daniel Garcia Moreno's avatar
Daniel Garcia Moreno committed
749 750 751
            <property name="can_focus">True</property>
            <property name="receives_default">True</property>
            <property name="action_name">app.activity.start</property>
752 753 754
            <style>
              <class name="suggested-action"/>
            </style>
Daniel Garcia Moreno's avatar
Daniel Garcia Moreno committed
755 756
          </object>
          <packing>
Daniel Garcia Moreno's avatar
Daniel Garcia Moreno committed
757 758 759 760 761 762
            <property name="name">waiting</property>
            <property name="title" translatable="yes">page0</property>
          </packing>
        </child>
        <child>
          <object class="GtkButton" id="stop-button">
763
            <property name="label" translatable="yes">Stop Activity</property>
Daniel Garcia Moreno's avatar
Daniel Garcia Moreno committed
764 765 766 767 768 769 770 771 772 773 774 775
            <property name="visible">True</property>
            <property name="can_focus">True</property>
            <property name="receives_default">True</property>
            <property name="action_name">app.activity.stop</property>
            <style>
              <class name="destructive-action"/>
            </style>
          </object>
          <packing>
            <property name="name">working</property>
            <property name="title" translatable="yes">page1</property>
            <property name="position">1</property>
Daniel Garcia Moreno's avatar
Daniel Garcia Moreno committed
776 777 778
          </packing>
        </child>
      </object>
Daniel Garcia Moreno's avatar
Daniel Garcia Moreno committed
779 780 781
      <packing>
        <property name="position">1</property>
      </packing>
Daniel Garcia Moreno's avatar
Daniel Garcia Moreno committed
782 783 784 785 786 787 788 789 790 791 792 793
    </child>
    <child type="title">
      <object class="GtkStack" id="activity-stack">
        <property name="visible">True</property>
        <property name="can_focus">False</property>
        <child>
          <object class="GtkEntry" id="activity-entry">
            <property name="visible">True</property>
            <property name="can_focus">True</property>
            <property name="placeholder_text" translatable="yes">Activity</property>
          </object>
          <packing>
Daniel Garcia Moreno's avatar
Daniel Garcia Moreno committed
794
            <property name="name">waiting</property>
Daniel Garcia Moreno's avatar
Daniel Garcia Moreno committed
795 796 797 798
            <property name="title" translatable="yes">page1</property>
          </packing>
        </child>
        <child>
799
          <object class="GtkMenuButton" id="activity-toggle">
Daniel Garcia Moreno's avatar
Daniel Garcia Moreno committed
800
            <property name="visible">True</property>
801 802 803 804 805 806 807 808 809 810 811 812
            <property name="can_focus">True</property>
            <property name="receives_default">True</property>
            <property name="popover">current-activity-popover</property>
            <child>
              <object class="GtkBox">
                <property name="visible">True</property>
                <property name="can_focus">False</property>
                <property name="spacing">6</property>
                <child>
                  <object class="GtkLabel" id="activity-label">
                    <property name="visible">True</property>
                    <property name="can_focus">False</property>
813
                    <property name="ellipsize">end</property>
814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834
                  </object>
                  <packing>
                    <property name="expand">True</property>
                    <property name="fill">True</property>
                    <property name="position">0</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkImage">
                    <property name="visible">True</property>
                    <property name="can_focus">False</property>
                    <property name="icon_name">pan-down-symbolic</property>
                  </object>
                  <packing>
                    <property name="expand">False</property>
                    <property name="fill">True</property>
                    <property name="position">1</property>
                  </packing>
                </child>
              </object>
            </child>
835 836 837 838
            <style>
              <class name="flat"/>
              <class name="sources-button"/>
            </style>
Daniel Garcia Moreno's avatar
Daniel Garcia Moreno committed
839 840
          </object>
          <packing>
Daniel Garcia Moreno's avatar
Daniel Garcia Moreno committed
841
            <property name="name">working</property>
Daniel Garcia Moreno's avatar
Daniel Garcia Moreno committed
842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880
            <property name="title" translatable="yes">page0</property>
            <property name="position">1</property>
          </packing>
        </child>
      </object>
    </child>
    <child>
      <object class="GtkBox" id="menubuttonbox">
        <property name="visible">True</property>
        <property name="can_focus">False</property>
        <property name="orientation">vertical</property>
        <child>
          <object class="GtkMenuButton" id="menupopover_button">
            <property name="visible">True</property>
            <property name="can_focus">True</property>
            <property name="receives_default">True</property>
            <property name="popover">menubutton_popover</property>
            <child>
              <object class="GtkImage">
                <property name="visible">True</property>
                <property name="can_focus">False</property>
                <property name="icon_name">open-menu-symbolic</property>
              </object>
            </child>
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="fill">True</property>
            <property name="position">0</property>
          </packing>
        </child>
      </object>
      <packing>
        <property name="pack_type">end</property>
        <property name="position">1</property>
      </packing>
    </child>
  </object>
</interface>