Update
This commit is contained in:
parent
4c2ec04d4a
commit
b2e285bff6
|
@ -4,9 +4,9 @@ use subprocess;
|
||||||
fn main() {
|
fn main() {
|
||||||
gtk::init().unwrap();
|
gtk::init().unwrap();
|
||||||
|
|
||||||
let mut tray = TrayItem::new("Melawy Arch Linux Update Tray Icon", IconSource::Resource("software-store")).unwrap();
|
let mut tray = TrayItem::new("Melawy Arch Linux Updater Tray Icon", IconSource::Resource("software-store")).unwrap();
|
||||||
|
|
||||||
tray.add_label("Melawy Arch Linux Update Tray Icon").unwrap();
|
tray.add_label("Melawy Arch Linux Updater Tray Icon").unwrap();
|
||||||
|
|
||||||
tray.add_menu_item("Update system", || {
|
tray.add_menu_item("Update system", || {
|
||||||
println!("Update system");
|
println!("Update system");
|
||||||
|
|
Loading…
Reference in New Issue