Package: release.debian.org
Severity: normal
User: release.debian....@packages.debian.org
Usertags: unblock

Please unblock package mate-terminal

[ Reason ]

+  [ Martin Wimpress ]
+  * debian/patches:
+    + Add 1002_fix_context_menu_font.patch (LP: #1955505, closes: #998856,
+      #1001793).

-> context menus in MATE Terminal are currently rendered with a monospace
font, but they should be rendered with the font that is configured for
menu items. The above patch (cherry-picked from upstream) fixes that.

[ Impact ]
Context menu fonts in mate-terminal fixed.

[ Tests ]
Manually, runtime test.

[ Risks ]
MATE Terminal could break.

[ Checklist ]
  [x] all changes are documented in the d/changelog
  [x] I reviewed all changes and I approve them
  [x] attach debdiff against the package in testing

[ Other info ]
None

unblock mate-terminal/1.26.0-2
diff -Nru mate-terminal-1.26.0/debian/changelog 
mate-terminal-1.26.0/debian/changelog
--- mate-terminal-1.26.0/debian/changelog       2021-12-13 01:28:05.000000000 
+0100
+++ mate-terminal-1.26.0/debian/changelog       2023-04-25 16:19:04.000000000 
+0200
@@ -1,3 +1,12 @@
+mate-terminal (1.26.0-2) unstable; urgency=medium
+
+  [ Martin Wimpress ]
+  * debian/patches:
+    + Add 1002_fix_context_menu_font.patch (LP: #1955505, closes: #998856,
+      #1001793).
+
+ -- Mike Gabriel <sunwea...@debian.org>  Tue, 25 Apr 2023 16:19:04 +0200
+
 mate-terminal (1.26.0-1) unstable; urgency=medium
 
   [ Martin Wimpress ]
diff -Nru mate-terminal-1.26.0/debian/patches/1002_fix_context_menu_font.patch 
mate-terminal-1.26.0/debian/patches/1002_fix_context_menu_font.patch
--- mate-terminal-1.26.0/debian/patches/1002_fix_context_menu_font.patch        
1970-01-01 01:00:00.000000000 +0100
+++ mate-terminal-1.26.0/debian/patches/1002_fix_context_menu_font.patch        
2023-04-25 16:18:32.000000000 +0200
@@ -0,0 +1,14 @@
+Description: Add GTK Style Class to context menu
+Author: grover92000
+
+--- a/src/terminal-window.c    2021-08-05 12:25:06.000000000 -0400
++++ b/src/terminal-window.c    2022-02-10 12:52:40.388572997 -0500
+@@ -1554,6 +1554,8 @@ popup_clipboard_targets_received_cb (Gtk
+                     NULL, NULL,
+                     info->button,
+                     info->timestamp);
++    gtk_style_context_add_class(gtk_widget_get_style_context (popup_menu),
++                                GTK_STYLE_CLASS_CONTEXT_MENU);
+ }
+ 
+ static void
diff -Nru mate-terminal-1.26.0/debian/patches/series 
mate-terminal-1.26.0/debian/patches/series
--- mate-terminal-1.26.0/debian/patches/series  2021-12-13 01:28:05.000000000 
+0100
+++ mate-terminal-1.26.0/debian/patches/series  2023-04-25 16:18:32.000000000 
+0200
@@ -1 +1,2 @@
 1001_desktop-file-lacks-keywords-entry.patch
+1002_fix_context_menu_font.patch

Reply via email to