You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gnome-shell-extension-arcmenu/SOURCES/0003-Read-system-name-from-...

26 lines
812 B

From 04ebf78369c0b0be24f7572a9574d01d3908092d Mon Sep 17 00:00:00 2001
From: tigro <tigro@msvsphere-os.ru>
Date: Mon, 23 Dec 2024 14:15:23 +0300
Subject: [PATCH 3/3] Read system name from MSVSPHERE_PRETTY_NAME
---
settings/AboutPage.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/settings/AboutPage.js b/settings/AboutPage.js
index f82c44f..3bff65e 100644
--- a/settings/AboutPage.js
+++ b/settings/AboutPage.js
@@ -95,7 +95,7 @@ class ArcMenuAboutPage extends Adw.PreferencesPage {
});
const name = GLib.get_os_info('NAME');
- const prettyName = GLib.get_os_info('PRETTY_NAME');
+ const prettyName = GLib.get_os_info('MSVSPHERE_PRETTY_NAME');
osRow.add_suffix(new Gtk.Label({
label: prettyName ? prettyName : name,
--
2.47.1