From 45575725d197ade8c1bad0fb4df0dd492f1b3a93 Mon Sep 17 00:00:00 2001 From: lukefromdc Date: Wed, 9 Nov 2022 21:53:28 -0500 Subject: panel-menu-button: comment out wayland debugging message leave the code in place so it can be uncommented and used for further work on wayland --- mate-panel/panel-menu-button.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'mate-panel') diff --git a/mate-panel/panel-menu-button.c b/mate-panel/panel-menu-button.c index 51807b0f..793425b7 100644 --- a/mate-panel/panel-menu-button.c +++ b/mate-panel/panel-menu-button.c @@ -459,19 +459,21 @@ panel_menu_button_popup_menu (PanelMenuButton *button, switch (panel_toplevel_get_orientation (button->priv->toplevel)) { case PANEL_ORIENTATION_TOP: widget_anchor = GDK_GRAVITY_SOUTH_WEST; - g_message ("PANEL_ORIENTATION_TOP"); + /*g_message ("PANEL_ORIENTATION_TOP"); comment this out by default, + *it is useful in debugging menu issues in wayland so don't remove it + */ break; case PANEL_ORIENTATION_BOTTOM: menu_anchor = GDK_GRAVITY_SOUTH_WEST; - g_message ("PANEL_ORIENTATION_BOTTOM"); + /*g_message ("PANEL_ORIENTATION_BOTTOM");*/ break; case PANEL_ORIENTATION_LEFT: widget_anchor = GDK_GRAVITY_NORTH_EAST; - g_message ("PANEL_ORIENTATION_LEFT"); + /*g_message ("PANEL_ORIENTATION_LEFT");*/ break; case PANEL_ORIENTATION_RIGHT: menu_anchor = GDK_GRAVITY_NORTH_EAST; - g_message ("PANEL_ORIENTATION_RIGHT"); + /*g_message ("PANEL_ORIENTATION_RIGHT");*/ break; } -- cgit v1.2.1