fix: fix system tray not displaying anything (#1181)
* fix: update snw's default path * docs: document changes to autogenerated files
This commit is contained in:
parent
4a53c12006
commit
52d3669881
2 changed files with 10 additions and 1 deletions
|
@ -12,7 +12,11 @@
|
||||||
//! [Writing a client proxy]: https://dbus2.github.io/zbus/client.html
|
//! [Writing a client proxy]: https://dbus2.github.io/zbus/client.html
|
||||||
//! [D-Bus standard interfaces]: https://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces,
|
//! [D-Bus standard interfaces]: https://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces,
|
||||||
use zbus::proxy;
|
use zbus::proxy;
|
||||||
#[proxy(interface = "org.kde.StatusNotifierWatcher", assume_defaults = true)]
|
#[proxy(
|
||||||
|
default_service = "org.kde.StatusNotifierWatcher",
|
||||||
|
interface = "org.kde.StatusNotifierWatcher",
|
||||||
|
default_path = "/StatusNotifierWatcher"
|
||||||
|
)]
|
||||||
trait StatusNotifierWatcher {
|
trait StatusNotifierWatcher {
|
||||||
/// RegisterStatusNotifierHost method
|
/// RegisterStatusNotifierHost method
|
||||||
fn register_status_notifier_host(&self, service: &str) -> zbus::Result<()>;
|
fn register_status_notifier_host(&self, service: &str) -> zbus::Result<()>;
|
||||||
|
|
|
@ -5,6 +5,11 @@
|
||||||
//! generated with [zbus-xmlgen](https://docs.rs/crate/zbus_xmlgen/latest) by running
|
//! generated with [zbus-xmlgen](https://docs.rs/crate/zbus_xmlgen/latest) by running
|
||||||
//! `zbus-xmlgen file crates/notifier_host/src/proxy/dbus_status_notifier_item.xml` and
|
//! `zbus-xmlgen file crates/notifier_host/src/proxy/dbus_status_notifier_item.xml` and
|
||||||
//! `zbus-xmlgen file crates/notifier_host/src/proxy/dbus_status_notifier_watcher.xml`.
|
//! `zbus-xmlgen file crates/notifier_host/src/proxy/dbus_status_notifier_watcher.xml`.
|
||||||
|
//!
|
||||||
|
//! Note that the `dbus_status_notifier_watcher.rs` file has been slightly adjusted, the
|
||||||
|
//! default arguments to the [proxy](https://docs.rs/zbus/4.4.0/zbus/attr.proxy.html)
|
||||||
|
//! macro need some adjusting.
|
||||||
|
//!
|
||||||
//! At the moment, `dbus_menu.xml` isn't used.
|
//! At the moment, `dbus_menu.xml` isn't used.
|
||||||
//!
|
//!
|
||||||
//! For more information, see ["Writing a client proxy" in the zbus
|
//! For more information, see ["Writing a client proxy" in the zbus
|
||||||
|
|
Loading…
Add table
Reference in a new issue