File: ConfigFolderRow.blp

package info (click to toggle)
deja-dup 49.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 9,332 kB
  • sloc: python: 1,218; sh: 161; xml: 48; makefile: 15
file content (39 lines) | stat: -rw-r--r-- 689 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/* -*- Mode: Blueprint; indent-tabs-mode: nil; tab-width: 2 -*-
 *
 * SPDX-License-Identifier: CC-BY-SA-4.0
 * SPDX-FileCopyrightText: Michael Terry
 */

using Gtk 4.0;
using Adw 1;

template $ConfigFolderRow: Adw.ActionRow {
  activatable: false;
  use-markup: false;

  $HelpButton warning_button {
    icon-name: "exclamation-mark-symbolic";
    valign: "center";
    visible: "false";

    Label warning_label {
      max-width-chars: 35;
      wrap: true;
      xalign: 0;
    }
  }

  Button {
    icon-name: "edit-delete-symbolic";
    valign: center;
    clicked => $on_remove_clicked();

    styles [
      "flat",
    ]

    accessibility {
      label: _("Remove");
    }
  }
}