mirror of
https://github.com/narrrl/proton-drive-linux.git
synced 2026-11-03 16:41:26 +01:00
- Move Google Takeout import out of Settings; Photos owns it, and the
Takeout page's back button returns there.
- Trash from the file browser is Undo-only (no confirm); F2 on a
multi-selection explains why it does nothing.
- Ask before sign-out, rejecting an invitation, removing someone's access,
removing a public link, and switching a folder to on-demand.
- Clearer offline wording ("Make available offline" / "Make online only")
with dedicated offline, online-only and upload symbolic icons; the pin row
is hidden for folders.
- Search hits report whether a file is cached, so search results show the
offline badge.
- Activity log: readable Empty Trash / link entries, distinct icons, and
error/warning styling for failures and conflicts.
- Proper singular/plural counts instead of "item(s)" / "archive(s)".
- Name earlier versions by save time instead of revision id; capitalise
the public link role; stop-syncing uses a stop icon, not a trash can.
- Label the Photos Upload and "Show on map" buttons; toast when a
thumbnail build finishes; the versions button follows the mount state.
- Mode switches and device mutations reload both sync pages.
27 lines
723 B
Rust
27 lines
723 B
Rust
use std::env;
|
|
use std::process::Command;
|
|
|
|
fn main() {
|
|
let out_dir = env::var("OUT_DIR").unwrap();
|
|
let status = Command::new("glib-compile-resources")
|
|
.args([
|
|
"--target",
|
|
&format!("{}/pdfs.gresource", out_dir),
|
|
"--sourcedir",
|
|
"resources/icons",
|
|
"resources/pdfs.gresource.xml",
|
|
])
|
|
.status()
|
|
.expect("Failed to execute glib-compile-resources");
|
|
|
|
if !status.success() {
|
|
panic!(
|
|
"glib-compile-resources failed with exit code: {:?}",
|
|
status.code()
|
|
);
|
|
}
|
|
|
|
println!("cargo:rerun-if-changed=resources/pdfs.gresource.xml");
|
|
println!("cargo:rerun-if-changed=resources/icons");
|
|
}
|