add Abdullah Al-Baroty to artists; update the logo; fix bug when close the application without record show error message

This commit is contained in:
Salem Yaslem 2021-03-27 18:17:24 +03:00
parent fe7920c6e8
commit 1cca628280
4 changed files with 3 additions and 4 deletions

BIN
data/blue-recorder@x96.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 4.0 KiB

View File

@ -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"

View File

@ -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();
}