mirror of
https://github.com/xlmnxp/blue-recorder.git
synced 2024-11-23 17:13:11 +03:00
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:
parent
fe7920c6e8
commit
1cca628280
BIN
data/blue-recorder@x96.png
Normal file
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 |
@ -48,6 +48,7 @@ impl ProgressWidget {
|
|||||||
pub fn show(&self) {
|
pub fn show(&self) {
|
||||||
self.progress.set_fraction(0.0);
|
self.progress.set_fraction(0.0);
|
||||||
self.dialog.show_all();
|
self.dialog.show_all();
|
||||||
|
self.dialog.show();
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn hide(&self) {
|
pub fn hide(&self) {
|
||||||
@ -55,8 +56,6 @@ impl ProgressWidget {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
trait GnomeScreencastResult {}
|
|
||||||
|
|
||||||
#[dbus_proxy(
|
#[dbus_proxy(
|
||||||
interface = "org.gnome.Shell.Screencast",
|
interface = "org.gnome.Shell.Screencast",
|
||||||
default_path = "/org/gnome/Shell/Screencast"
|
default_path = "/org/gnome/Shell/Screencast"
|
||||||
|
@ -302,13 +302,13 @@ fn main() {
|
|||||||
current_exec_dir.pop();
|
current_exec_dir.pop();
|
||||||
current_exec_dir
|
current_exec_dir
|
||||||
}
|
}
|
||||||
.join(Path::new("data/blue-recorder.png"));
|
.join(Path::new("data/blue-recorder@x96.png"));
|
||||||
|
|
||||||
if !indicator_icon_path.exists() {
|
if !indicator_icon_path.exists() {
|
||||||
indicator_icon_path = std::fs::canonicalize(Path::new(
|
indicator_icon_path = std::fs::canonicalize(Path::new(
|
||||||
&std::env::var("DATA_DIR")
|
&std::env::var("DATA_DIR")
|
||||||
.unwrap_or(String::from("data/"))
|
.unwrap_or(String::from("data/"))
|
||||||
.add("blue-recorder.png"),
|
.add("blue-recorder@x96.png"),
|
||||||
))
|
))
|
||||||
.unwrap();
|
.unwrap();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user