Skip to content

Commit

Permalink
prefs.js button with css_classes: ['destructive-action']
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisLauinger77 committed Mar 7, 2024
1 parent e12aac4 commit 83e7765
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [email protected]/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
"uuid": "[email protected]",
"settings-schema": "org.gnome.shell.extensions.SettingsCenter",
"donations": { "github": "ChrisLauinger77","paypal": "ChrisLauinger" },
"version-name": "46.0"
"version-name": "46.1"
}
1 change: 1 addition & 0 deletions [email protected]/prefs.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ export default class AdwPrefs extends ExtensionPreferences {
let buttonDel = null;
if (itemslen > 1) {
buttonDel = new Gtk.Button({
css_classes: ["destructive-action"],
label: _("Del"),
valign: Gtk.Align.CENTER,
margin_start: 10,
Expand Down

0 comments on commit 83e7765

Please sign in to comment.