File: RestoreTargetWarningButton.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 (37 lines) | stat: -rw-r--r-- 817 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
/* -*- 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;

template $RestoreTargetWarningButton: $HelpButton {
  icon-name: "exclamation-mark-symbolic";

  ScrolledWindow {
    max-content-height: 300;
    max-content-width: 300;
    propagate-natural-height: true;
    propagate-natural-width: true;

    child: Box {
      orientation: vertical;

      Label {
        label: _("Backups does not have permission to restore the following files:");
        max-width-chars: 35;
        wrap: true;
        xalign: 0;
      }

      Label {
        ellipsize: start;
        label: bind template.label no-sync-create;
        max-width-chars: 35;
        wrap: true;
        xalign: 0;
      }
    };
  }
}