2022-09-26 21:33:06 +00:00
|
|
|
using Gtk 4.0;
|
|
|
|
using Adw 1;
|
|
|
|
|
|
|
|
template GradienceNoPluginPrefWindow: Adw.Window {
|
2022-09-28 13:02:19 +00:00
|
|
|
title: _("Plugin Preferences");
|
2022-09-26 21:33:06 +00:00
|
|
|
modal: true;
|
2022-09-28 13:08:39 +00:00
|
|
|
default-width: 400;
|
|
|
|
default-height: 400;
|
2022-09-28 13:02:19 +00:00
|
|
|
resizable: true;
|
|
|
|
deletable: true;
|
2022-09-26 21:33:06 +00:00
|
|
|
|
|
|
|
|
|
|
|
Adw.Leaflet leaflet {
|
|
|
|
can-unfold: false;
|
|
|
|
|
|
|
|
Gtk.Box main_view {
|
|
|
|
orientation: vertical;
|
|
|
|
|
|
|
|
Adw.HeaderBar titlebar {
|
|
|
|
styles ["flat"]
|
|
|
|
}
|
|
|
|
|
2022-09-28 13:02:19 +00:00
|
|
|
|
2022-09-26 21:33:06 +00:00
|
|
|
Adw.StatusPage {
|
|
|
|
name: "empty";
|
|
|
|
title: _("No preferences");
|
2022-09-26 22:20:24 +00:00
|
|
|
icon-name: "action-unavailable-symbolic";
|
2022-09-26 21:33:06 +00:00
|
|
|
|
|
|
|
description: _("This plugin doesn't have any settings");
|
|
|
|
}
|
2022-09-28 13:02:19 +00:00
|
|
|
|
2022-09-26 21:33:06 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|