summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlukefromdc <[email protected]>2022-11-09 21:53:28 -0500
committerLuke from DC <[email protected]>2022-12-23 05:57:56 +0000
commit45575725d197ade8c1bad0fb4df0dd492f1b3a93 (patch)
tree2eb7df62fb49f93e3d61eef4cfb63c7451724b30
parentcb47731b39b63c54740e78c46aefdd3c01b33261 (diff)
downloadmate-panel-45575725d197ade8c1bad0fb4df0dd492f1b3a93.tar.bz2
mate-panel-45575725d197ade8c1bad0fb4df0dd492f1b3a93.tar.xz
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
-rw-r--r--mate-panel/panel-menu-button.c10
1 files changed, 6 insertions, 4 deletions
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;
}