From 0b81b76cb7117f537c33f70557dabe9867221a35 Mon Sep 17 00:00:00 2001 From: Nils Pukropp Date: Sun, 27 Sep 2026 23:11:49 +0200 Subject: [PATCH] feat(gui): branded app icon in the sidebar header and login The sidebar header and the login page used the generic folder-remote-symbolic icon. Ship the app icon from packaging/ in the GUI resources and use it in both places, so the in-app brand matches the launcher even when the app runs uninstalled. --- crates/pdfs-gui/build.rs | 1 + crates/pdfs-gui/resources/pdfs.gresource.xml | 3 +++ crates/pdfs-gui/resources/style.css | 1 - crates/pdfs-gui/src/app/main.rs | 4 ++-- crates/pdfs-gui/src/app/pages/login.rs | 5 ++--- 5 files changed, 8 insertions(+), 6 deletions(-) diff --git a/crates/pdfs-gui/build.rs b/crates/pdfs-gui/build.rs index 7bb028f..299e75d 100644 --- a/crates/pdfs-gui/build.rs +++ b/crates/pdfs-gui/build.rs @@ -26,4 +26,5 @@ fn main() { println!("cargo:rerun-if-changed=resources/pdfs.gresource.xml"); println!("cargo:rerun-if-changed=resources/icons"); println!("cargo:rerun-if-changed=resources/style.css"); + println!("cargo:rerun-if-changed=../../packaging/io.narl.proton-drive-linux.svg"); } diff --git a/crates/pdfs-gui/resources/pdfs.gresource.xml b/crates/pdfs-gui/resources/pdfs.gresource.xml index 79929c6..52b9c7d 100644 --- a/crates/pdfs-gui/resources/pdfs.gresource.xml +++ b/crates/pdfs-gui/resources/pdfs.gresource.xml @@ -9,6 +9,9 @@ scalable/actions/pdfs-upload-symbolic.svg scalable/actions/pdfs-offline-symbolic.svg scalable/actions/pdfs-online-only-symbolic.svg + + ../../../packaging/io.narl.proton-drive-linux.svg