Skip to content

Commit

Permalink
fix: czkawka-gui window icon under Wayland (#1400)
Browse files Browse the repository at this point in the history
Currently, when running czkawka-gui under Wayland, the window icon
will fallback to default Wayland icon. Set application ID to fix
this problem.
  • Loading branch information
Integral-Tech authored Jan 20, 2025
1 parent 490f65d commit 28767e9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions czkawka_gui/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ mod tests;

fn main() {
let application = Application::new(None::<String>, ApplicationFlags::HANDLES_OPEN | ApplicationFlags::HANDLES_COMMAND_LINE);

#[cfg(target_os = "linux")]
glib::set_prgname(Some("com.github.qarmin.czkawka"));

application.connect_command_line(move |app, cmdline| {
setup_logger(false);
print_version_mode();
Expand Down

0 comments on commit 28767e9

Please sign in to comment.