Read system name from MSVSPHERE_PRETTY_NAME

i9ce changed/i9/gnome-shell-extension-arcmenu-27-9.el9
Arkady L. Shane 1 year ago
parent 04891897bd
commit dc16b4bc83
Signed by: tigro
GPG Key ID: 9C7900103E1C4F8B

@ -0,0 +1,25 @@
From 5e5077142a0cfd7a18621275010c0682b02e20cf Mon Sep 17 00:00:00 2001
From: tigro <arkadiy.sheyn@softline.com>
Date: Fri, 27 Oct 2023 11:55:33 +0300
Subject: [PATCH 5/5] Read system name from MSVSPHERE_PRETTY_NAME
---
prefs.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/prefs.js b/prefs.js
index 916491b..07de5ea 100644
--- a/prefs.js
+++ b/prefs.js
@@ -6364,7 +6364,7 @@ var AboutPage = GObject.registerClass(
});
let osInfoText;
let name = GLib.get_os_info("NAME");
- let prettyName = GLib.get_os_info("PRETTY_NAME");
+ let prettyName = GLib.get_os_info("MSVSPHERE_PRETTY_NAME");
if(prettyName)
osInfoText = prettyName;
else
--
2.41.0

@ -5,7 +5,7 @@
Summary: Gnome shell extension designed to replace the standard menu Summary: Gnome shell extension designed to replace the standard menu
Name: gnome-shell-extension-arcmenu Name: gnome-shell-extension-arcmenu
Version: 27 Version: 27
Release: 8%{dist} Release: 9%{dist}
License: GPLv2 License: GPLv2
URL: https://gitlab.com/arcmenu/ArcMenu/ URL: https://gitlab.com/arcmenu/ArcMenu/
@ -14,6 +14,7 @@ Patch0: 0001-Customize-Arc-Menu.patch
Patch1: 0002-Display-on-all-monitors.patch Patch1: 0002-Display-on-all-monitors.patch
Patch2: 0003-set-a-hotkey-Super-X-to-open-ArcMenu.patch Patch2: 0003-set-a-hotkey-Super-X-to-open-ArcMenu.patch
Patch4: 0004-Added-MSVSphere-symbolic-icon.patch Patch4: 0004-Added-MSVSphere-symbolic-icon.patch
Patch5: 0005-Read-system-name-from-MSVSPHERE_PRETTY_NAME.patch
BuildArch: noarch BuildArch: noarch
@ -65,6 +66,9 @@ mkdir -p %{buildroot}%{_datadir}/pixmaps/
%{_datadir}/gnome-shell/extensions/%{uuid}/searchProviders %{_datadir}/gnome-shell/extensions/%{uuid}/searchProviders
%changelog %changelog
* Fri Oct 27 2023 Arkady L. Shane <tigro@msvsphere-os.ru> - 27-9
- Read system name from MSVSPHERE_PRETTY_NAME
* Thu Sep 7 2023 Arkady L. Shane <ashejn@msvsphere.ru> - 27-8 * Thu Sep 7 2023 Arkady L. Shane <ashejn@msvsphere.ru> - 27-8
- Added MSVSphere symbolic icon - Added MSVSphere symbolic icon
- Use main icon from sphere-logos - Use main icon from sphere-logos

Loading…
Cancel
Save