Closed donadigo closed 4 years ago
Currently, the "empty the trash" button uses a custom redbutton class. Instead it could use a built-in destructive-action class and be consistent with the rest of the "red" buttons that are present in other apps. You can do it like so:
redbutton
destructive-action
empty_trash.get_style_context().add_class (Gtk.STYLE_CLASS_DESTRUCTIVE_ACTION);
Nice! I didn't know the built-in class 👍🏻
Currently, the "empty the trash" button uses a custom
redbutton
class. Instead it could use a built-indestructive-action
class and be consistent with the rest of the "red" buttons that are present in other apps. You can do it like so: