diff --git a/data/blue-recorder@x96.png b/data/blue-recorder@x96.png new file mode 100644 index 0000000..e75670d Binary files /dev/null and b/data/blue-recorder@x96.png differ diff --git a/snap/gui/blue-recorder.png b/snap/gui/blue-recorder.png index 1a42de6..38d0bd2 100644 Binary files a/snap/gui/blue-recorder.png and b/snap/gui/blue-recorder.png differ diff --git a/src/ffmpeg_interface.rs b/src/ffmpeg_interface.rs index b2353e2..551f9da 100644 --- a/src/ffmpeg_interface.rs +++ b/src/ffmpeg_interface.rs @@ -48,6 +48,7 @@ impl ProgressWidget { pub fn show(&self) { self.progress.set_fraction(0.0); self.dialog.show_all(); + self.dialog.show(); } pub fn hide(&self) { @@ -55,8 +56,6 @@ impl ProgressWidget { } } -trait GnomeScreencastResult {} - #[dbus_proxy( interface = "org.gnome.Shell.Screencast", default_path = "/org/gnome/Shell/Screencast" diff --git a/src/main.rs b/src/main.rs index d719ac8..68b8590 100644 --- a/src/main.rs +++ b/src/main.rs @@ -302,13 +302,13 @@ fn main() { current_exec_dir.pop(); current_exec_dir } - .join(Path::new("data/blue-recorder.png")); + .join(Path::new("data/blue-recorder@x96.png")); if !indicator_icon_path.exists() { indicator_icon_path = std::fs::canonicalize(Path::new( &std::env::var("DATA_DIR") .unwrap_or(String::from("data/")) - .add("blue-recorder.png"), + .add("blue-recorder@x96.png"), )) .unwrap(); }