Merge pull request #4210 from stkth/feat/display-systemd-system-state

Feat/display systemd system state
This commit is contained in:
Alexis Rouillard
2025-06-22 08:24:04 +01:00
committed by GitHub
3 changed files with 63 additions and 22 deletions

View File

@ -19,12 +19,15 @@ class SystemdFailedUnits : public ALabel {
std::string format_ok;
bool update_pending;
uint32_t nr_failed_system, nr_failed_user;
std::string system_state, user_state, overall_state;
uint32_t nr_failed_system, nr_failed_user, nr_failed;
std::string last_status;
Glib::RefPtr<Gio::DBus::Proxy> system_proxy, user_proxy;
void notify_cb(const Glib::ustring &sender_name, const Glib::ustring &signal_name,
const Glib::VariantContainerBase &arguments);
void RequestFailedUnits();
void RequestSystemState();
void updateData();
};