Skip to content

Commit

Permalink
fix(namespace): change dbus interface name
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanabx committed May 7, 2024
1 parent 9d6d1d8 commit 3e40d5c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
10 changes: 5 additions & 5 deletions src/desktop_entry.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//! # D-Bus interface proxy for: `org.desktopintegration.DesktopEntry`
//! # D-Bus interface proxy for: `io.ryanabx.DesktopEntry`
//!
//! This code was generated by `zbus-xmlgen` `4.1.0` from D-Bus introspection data.
//! Source: `Interface '/org/desktopintegration/DesktopEntry' from service 'org.desktopintegration.DesktopEntry' on system bus`.
//! Source: `Interface '/io/ryanabx/DesktopEntry' from service 'io.ryanabx.DesktopEntry' on system bus`.
//!
//! You may prefer to adapt it, instead of using it verbatim.
//!
Expand All @@ -21,9 +21,9 @@
//! [D-Bus standard interfaces]: https://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces,
use zbus::proxy;
#[proxy(
interface = "org.desktopintegration.DesktopEntry",
default_service = "org.desktopintegration.DesktopEntry",
default_path = "/org/desktopintegration/DesktopEntry"
interface = "io.ryanabx.DesktopEntry",
default_service = "io.ryanabx.DesktopEntry",
default_path = "/io/ryanabx/DesktopEntry"
)]
trait DesktopEntry {
/// NewPersistentEntry method
Expand Down
6 changes: 4 additions & 2 deletions systemd/container-desktop-entries.service
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[Unit]
Description=Container desktop entries server service
Description=Provides desktop entries for container apps
WantedBy=desktop-entry-daemon.service
Requires=desktop-entry-daemon.service
After=desktop-entry-daemon.service
Expand All @@ -9,4 +9,6 @@ Type=simple
Environment="RUST_LOG=debug"
ExecStart=container-desktop-entries
RuntimeDirectory=container-desktop-entries
Slice=session.slice

[Install]
WantedBy=desktop-entry-daemon.service

0 comments on commit 3e40d5c

Please sign in to comment.