update mate-panel
This commit is contained in:
parent
fa1b0e5eec
commit
b428fe9c00
24
mate-panel-delete-shutdown-action.patch
Normal file
24
mate-panel-delete-shutdown-action.patch
Normal file
@ -0,0 +1,24 @@
|
||||
diff -Naur mate-panel-bak/mate-panel/panel-menu-items.c mate-panel-1.22.2/mate-panel/panel-menu-items.c
|
||||
--- mate-panel-bak/mate-panel/panel-menu-items.c 2020-04-09 12:20:30.480838558 +0800
|
||||
+++ mate-panel-1.22.2/mate-panel/panel-menu-items.c 2020-04-09 13:04:21.475963657 +0800
|
||||
@@ -1644,13 +1644,13 @@
|
||||
gtk_menu_shell_append (GTK_MENU_SHELL (menu), item);
|
||||
}
|
||||
|
||||
- item = panel_menu_items_create_action_item (PANEL_ACTION_SHUTDOWN);
|
||||
- if (item != NULL) {
|
||||
- if (!separator_inserted)
|
||||
- add_menu_separator (menu);
|
||||
-
|
||||
- gtk_menu_shell_append (GTK_MENU_SHELL (menu), item);
|
||||
- }
|
||||
+// item = panel_menu_items_create_action_item (PANEL_ACTION_SHUTDOWN);
|
||||
+// if (item != NULL) {
|
||||
+// if (!separator_inserted)
|
||||
+// add_menu_separator (menu);
|
||||
+//
|
||||
+// gtk_menu_shell_append (GTK_MENU_SHELL (menu), item);
|
||||
+// }
|
||||
}
|
||||
|
||||
void
|
||||
@ -39,6 +39,7 @@ Source4: background.png
|
||||
Patch1: mate-panel_0001-struts-Create-struts-for-panels-on-inside-edges-of-m.patch
|
||||
Patch2: mate-panel_0002-struts-Use-inside-edge-panels-only-on-Marco-and-Meta.patch
|
||||
Patch3: 0001-change-panel-background.patch
|
||||
Patch4: mate-panel-delete-shutdown-action.patch
|
||||
|
||||
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||
#for fish
|
||||
@ -167,6 +168,9 @@ install -D -m 0644 %{SOURCE4} %{buildroot}%{_datadir}/mate-panel/background.png
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon May 24 2021 xianzhao Yang <isoft@openeuler.org> - 1.22.2-5
|
||||
- Rebuild
|
||||
|
||||
* Tue Dec 31 2019 Wolfgang Ulbrich <fedora@raveit.de> - 1.22.2-2
|
||||
- change Source3
|
||||
- update to 1.22.2
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user