From dc16b4bc8380aa7514bf7207211213a1f940e91c Mon Sep 17 00:00:00 2001 From: tigro Date: Fri, 27 Oct 2023 11:57:30 +0300 Subject: [PATCH] Read system name from MSVSPHERE_PRETTY_NAME --- ...stem-name-from-MSVSPHERE_PRETTY_NAME.patch | 25 +++++++++++++++++++ SPECS/gnome-shell-extension-arcmenu.spec | 6 ++++- 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 SOURCES/0005-Read-system-name-from-MSVSPHERE_PRETTY_NAME.patch diff --git a/SOURCES/0005-Read-system-name-from-MSVSPHERE_PRETTY_NAME.patch b/SOURCES/0005-Read-system-name-from-MSVSPHERE_PRETTY_NAME.patch new file mode 100644 index 0000000..82b73f9 --- /dev/null +++ b/SOURCES/0005-Read-system-name-from-MSVSPHERE_PRETTY_NAME.patch @@ -0,0 +1,25 @@ +From 5e5077142a0cfd7a18621275010c0682b02e20cf Mon Sep 17 00:00:00 2001 +From: tigro +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 + diff --git a/SPECS/gnome-shell-extension-arcmenu.spec b/SPECS/gnome-shell-extension-arcmenu.spec index f43cbd1..6376150 100644 --- a/SPECS/gnome-shell-extension-arcmenu.spec +++ b/SPECS/gnome-shell-extension-arcmenu.spec @@ -5,7 +5,7 @@ Summary: Gnome shell extension designed to replace the standard menu Name: gnome-shell-extension-arcmenu Version: 27 -Release: 8%{dist} +Release: 9%{dist} License: GPLv2 URL: https://gitlab.com/arcmenu/ArcMenu/ @@ -14,6 +14,7 @@ Patch0: 0001-Customize-Arc-Menu.patch Patch1: 0002-Display-on-all-monitors.patch Patch2: 0003-set-a-hotkey-Super-X-to-open-ArcMenu.patch Patch4: 0004-Added-MSVSphere-symbolic-icon.patch +Patch5: 0005-Read-system-name-from-MSVSPHERE_PRETTY_NAME.patch BuildArch: noarch @@ -65,6 +66,9 @@ mkdir -p %{buildroot}%{_datadir}/pixmaps/ %{_datadir}/gnome-shell/extensions/%{uuid}/searchProviders %changelog +* Fri Oct 27 2023 Arkady L. Shane - 27-9 +- Read system name from MSVSPHERE_PRETTY_NAME + * Thu Sep 7 2023 Arkady L. Shane - 27-8 - Added MSVSphere symbolic icon - Use main icon from sphere-logos