File: CleaningWarningDialog.ui

package info (click to toggle)
metadata-cleaner 2.4.0%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 4,808 kB
  • sloc: python: 1,682; xml: 343; makefile: 3
file content (41 lines) | stat: -rw-r--r-- 1,624 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
40
41
<?xml version="1.0" encoding="UTF-8"?>
<!--
SPDX-FileCopyrightText: 2020, 2021 Romain Vigier <contact AT romainvigier.fr>
SPDX-License-Identifier: GPL-3.0-or-later
-->
<interface>
  <template class="CleaningWarningDialog" parent="GtkMessageDialog">
    <property name="modal">True</property>
    <property name="text" translatable="yes">Make sure you backed up your files!</property>
    <property name="secondary-text" translatable="yes">Once the files are cleaned, there's no going back.</property>
    <property name="message-type">warning</property>
    <signal name="notify::settings" handler="_on_settings_changed"/>
    <child internal-child="message_area">
      <object class="GtkBox">
        <child>
          <object class="GtkCheckButton" id="_checkbutton">
            <property name="label" translatable="yes">Don't tell me again</property>
            <property name="halign">center</property>
          </object>
        </child>
      </object>
    </child>
    <child type="action">
      <object class="GtkButton" id="_button_cancel">
        <property name="label" translatable="yes">Cancel</property>
      </object>
    </child>
    <child type="action">
      <object class="GtkButton" id="_button_clean">
        <property name="label" translatable="yes">Clean</property>
        <style>
          <class name="destructive-action"/>
        </style>
      </object>
    </child>
    <action-widgets>
      <action-widget response="cancel">_button_cancel</action-widget>
      <action-widget response="ok" default="true">_button_clean</action-widget>
    </action-widgets>
  </template>
</interface>