From 86562df6ea2610079d4037343b4fc18a3eb0b2b2 Mon Sep 17 00:00:00 2001 From: tangjie02 Date: Tue, 21 Dec 2021 20:32:16 +0800 Subject: [PATCH 1/2] Hide the search file tool on start menu Signed-off-by: tangjie02 --- ...e-the-search-file-tool-on-start-menu.patch | 30 +++++++++++++++++++ kiran-menu.spec | 16 ++++++---- 2 files changed, 41 insertions(+), 5 deletions(-) create mode 100644 0001-feature-menu-Hide-the-search-file-tool-on-start-menu.patch diff --git a/0001-feature-menu-Hide-the-search-file-tool-on-start-menu.patch b/0001-feature-menu-Hide-the-search-file-tool-on-start-menu.patch new file mode 100644 index 0000000..225f97c --- /dev/null +++ b/0001-feature-menu-Hide-the-search-file-tool-on-start-menu.patch @@ -0,0 +1,30 @@ +From a9a2a59927d204f83efa9666272a88fbc6e91b92 Mon Sep 17 00:00:00 2001 +From: tangjie02 +Date: Tue, 21 Dec 2021 20:01:41 +0800 +Subject: [PATCH] feature(menu): Hide the search file tool on start menu. + +Signed-off-by: tangjie02 +--- + src/menu/menu-applet-window.cpp | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/menu/menu-applet-window.cpp b/src/menu/menu-applet-window.cpp +index 89e0887..a89fc1b 100644 +--- a/src/menu/menu-applet-window.cpp ++++ b/src/menu/menu-applet-window.cpp +@@ -629,10 +629,10 @@ void MenuAppletWindow::add_sidebar_buttons() + "mate-panel --run-dialog"); + side_box->add(*launcher_btn); + +- launcher_btn = create_launcher_button("/kiran-menu/sidebar/search-files", ++ /*launcher_btn = create_launcher_button("/kiran-menu/sidebar/search-files", + _("Search Files"), + "mate-search-tool"); +- side_box->add(*launcher_btn); ++ side_box->add(*launcher_btn);*/ + + launcher_btn = create_launcher_button("/kiran-menu/sidebar/home-dir", + _("Home Directory"), +-- +2.27.0 + diff --git a/kiran-menu.spec b/kiran-menu.spec index 46561dc..e0f7504 100644 --- a/kiran-menu.spec +++ b/kiran-menu.spec @@ -1,11 +1,13 @@ Name: kiran-menu Version: 2.2.5 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Applets for mate panel from Kiran Desktop License: Mulan PSL v2 Source0: %{name}-%{version}.tar.gz +Patch0001: 0001-feature-menu-Hide-the-search-file-tool-on-start-menu.patch + BuildRequires: cmake > 3.0 BuildRequires: gcc-c++ @@ -27,7 +29,6 @@ BuildRequires: kiran-panel-libs BuildRequires: kiran-panel-devel Requires: libwnck3 -Requires: mate-screensaver Requires: kiran-system-daemon Requires: kiran-session-manager Requires: glib2 @@ -35,14 +36,16 @@ Requires: gtk-update-icon-cache Requires: mate-control-center Requires: caja Requires: yelp -Requires: mate-system-monitor %description Redesigned start menu for Mate Desktop %package -n kiran-applets Summary: mate panel applets for Kiran Desktop -Obsoletes: kiran-menu >= 2.0 +Requires: mate-screensaver +Requires: mate-system-monitor +Requires: mate-session-manager +Obsoletes: kiran-menu %description -n kiran-applets Redesigned panel applets for Mate Desktop @@ -81,6 +84,9 @@ gtk-update-icon-cache -f /usr/share/icons/hicolor/ %changelog +* Tue Dec 21 2021 tangjie02 2.2.5-9.ky3 +- KYOS-F: Hide the search file tool on start menu. + * Fri Dec 03 2021 tangjie02 2.2.5-8.ky3 - KYOS-F: Modify the dependency mate-session-manager to kiran-session-manager. @@ -123,7 +129,7 @@ gtk-update-icon-cache -f /usr/share/icons/hicolor/ * Tue Jul 20 2021 tangjie02 2.2.3-5.ky3 - KYOS-B: Check whether system can shutdown when show power buttons.(#39572 #40713) -* Thu Jul 16 2021 wangxiaoqing 2.2.3-4.ky3.kb1 +* Fri Jul 16 2021 wangxiaoqing 2.2.3-4.ky3.kb1 - KYOS-B: add the About menu translator.(#39692) * Wed Jul 14 2021 tangjie02 2.2.3-4.ky3 From c0b371a06d1c060f2c97c086634d95f16e7e93ab Mon Sep 17 00:00:00 2001 From: tangjie02 Date: Tue, 21 Dec 2021 21:54:55 +0800 Subject: [PATCH 2/2] feature(tray): Add Fcitx to bottom panel. Signed-off-by: tangjie02 --- ...ature-tray-Add-fcitx-to-bottom-panel.patch | 31 +++++++++++++++++++ kiran-menu.spec | 6 +++- 2 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 0002-feature-tray-Add-fcitx-to-bottom-panel.patch diff --git a/0002-feature-tray-Add-fcitx-to-bottom-panel.patch b/0002-feature-tray-Add-fcitx-to-bottom-panel.patch new file mode 100644 index 0000000..669fe25 --- /dev/null +++ b/0002-feature-tray-Add-fcitx-to-bottom-panel.patch @@ -0,0 +1,31 @@ +From 9f8ff27ee3f8aa000fa005ccb6268ff1425a2033 Mon Sep 17 00:00:00 2001 +From: tangjie02 +Date: Tue, 21 Dec 2021 21:40:58 +0800 +Subject: [PATCH 2/2] feature(tray): Add fcitx to bottom panel. +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +- 添加Fcitx到底部面板 + +Signed-off-by: tangjie02 +--- + data/com.kylinsec.kiran.tray.gschema.xml.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/data/com.kylinsec.kiran.tray.gschema.xml.in b/data/com.kylinsec.kiran.tray.gschema.xml.in +index 04c5163..d31bbfe 100644 +--- a/data/com.kylinsec.kiran.tray.gschema.xml.in ++++ b/data/com.kylinsec.kiran.tray.gschema.xml.in +@@ -2,7 +2,7 @@ + + + +- ['~01-keyboard', '~02-volume', '~04-network', '~05-battery', 'kiran-flameshot'] ++ ['~01-keyboard', '~02-volume', '~04-network', '~05-battery', 'kiran-flameshot', 'Fcitx'] + The notify icon which show in the panel + The notify icon show which in the panel. + +-- +2.27.0 + diff --git a/kiran-menu.spec b/kiran-menu.spec index e0f7504..68bb772 100644 --- a/kiran-menu.spec +++ b/kiran-menu.spec @@ -1,12 +1,13 @@ Name: kiran-menu Version: 2.2.5 -Release: 9%{?dist} +Release: 10%{?dist} Summary: Applets for mate panel from Kiran Desktop License: Mulan PSL v2 Source0: %{name}-%{version}.tar.gz Patch0001: 0001-feature-menu-Hide-the-search-file-tool-on-start-menu.patch +Patch0002: 0002-feature-tray-Add-fcitx-to-bottom-panel.patch BuildRequires: cmake > 3.0 @@ -84,6 +85,9 @@ gtk-update-icon-cache -f /usr/share/icons/hicolor/ %changelog +* Wed Dec 22 2021 tangjie02 2.2.5-10.ky3 +- KYOS-F: Add Fcitx to bottom panel. + * Tue Dec 21 2021 tangjie02 2.2.5-9.ky3 - KYOS-F: Hide the search file tool on start menu.