Description: <added pearl-menu>
 TODO: Put a short summary on the line above and replace this paragraph
 with a longer explanation of this change. Complete the meta-information
 with other relevant fields (see below for details). To make it easier, the
 information below has been extracted from the changelog. Adjust it or drop
 it.
 .
 mate-tweak (21.10.0-0pearl11) UNRELEASED; urgency=medium
 .
   * Initial Pearl Build
Author: Scott Vandergrift <scottvandergrift@gmail.com>

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: https://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: 2022-01-19

--- mate-tweak-21.10.0.orig/mate-tweak
+++ mate-tweak-21.10.0/mate-tweak
@@ -1063,6 +1063,7 @@ class MateTweak:
         self.mate_menu_available = False
         self.maximus_available = False
         self.mint_menu_available = False
+        self.pearl_menu_available = False
         self.volume_applet_enabled = False
         self.brisk_menu_available = False
         self.appmenu_applet_available = False
@@ -1094,6 +1095,9 @@ class MateTweak:
            os.path.exists('/usr/lib/mate-netbook/mate-window-picker-applet'):
             self.maximus_available = True
 
+        if os.path.exists('/usr/lib/pearllinux/pearlMenu/pearlMenu.py'):
+            self.pearl_menu_available = True
+
         if os.path.exists('/usr/lib/linuxmint/mintMenu/mintMenu.py'):
             self.mint_menu_available = True
 
@@ -1168,6 +1172,10 @@ class MateTweak:
            not self.indicators_available:
             self.add_to_panel_list(panels, "GNOME2", "default")
 
+        if self.panel_layout_exists('pearllinux') and \
+           self.pearl_menu_available:
+            self.add_to_panel_list(panels, "Pearl Linux", "pearllinux")
+
         if self.panel_layout_exists('linuxmint') and \
            self.mint_menu_available:
             self.add_to_panel_list(panels, "Linux Mint", "linuxmint")
