From 8a8e47611fdbef59137a5c45e0ccbc206dee63d4 Mon Sep 17 00:00:00 2001 From: Dvlv Date: Tue, 26 Mar 2024 18:15:13 +0000 Subject: [PATCH] add xfce terminal support --- io.github.dvlv.boxbuddyrs.metainfo.xml | 5 +++++ src/main.rs | 2 +- src/utils.rs | 5 +++++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/io.github.dvlv.boxbuddyrs.metainfo.xml b/io.github.dvlv.boxbuddyrs.metainfo.xml index 3ce0e6d..fcf89da 100644 --- a/io.github.dvlv.boxbuddyrs.metainfo.xml +++ b/io.github.dvlv.boxbuddyrs.metainfo.xml @@ -40,6 +40,11 @@ https://dvlv.github.io/BoxBuddyRS + + +

Added support for Xfce4 Terminal

+
+

Fix View Applications pop-up for newer versions of Distrobox

diff --git a/src/main.rs b/src/main.rs index dca5e0e..d6eb9cc 100644 --- a/src/main.rs +++ b/src/main.rs @@ -819,7 +819,7 @@ fn show_about_popup(window: &ApplicationWindow) { let d = adw::AboutWindow::new(); d.set_transient_for(Some(window)); d.set_application_name("BoxBuddy"); - d.set_version("2.1.4"); + d.set_version("2.1.5"); d.set_developer_name("Dvlv"); d.set_license_type(gtk::License::MitX11); d.set_comments( diff --git a/src/utils.rs b/src/utils.rs index b0a0c9f..458dda7 100644 --- a/src/utils.rs +++ b/src/utils.rs @@ -209,6 +209,11 @@ pub fn get_supported_terminals() -> Vec { executable_name: String::from("konsole"), separator_arg: String::from("-e"), }, + TerminalOption { + name: String::from("Xfce Terminal"), + executable_name: String::from("xfce4-terminal"), + separator_arg: String::from("-x"), + }, TerminalOption { name: String::from("Tilix"), executable_name: String::from("tilix"),