Index: libxfce4panel/xfce-panel-plugin-iface.c =================================================================== --- libxfce4panel/xfce-panel-plugin-iface.c (revision 25107) +++ libxfce4panel/xfce-panel-plugin-iface.c (working copy) @@ -759,13 +759,13 @@ GtkWidget *menu, *mi, *img; int insert_position; int configure_position; - gboolean allow_customization; gchar *name; - + /* just quit when the user is not allowed to edit the menu */ g_return_if_fail (XFCE_IS_PANEL_PLUGIN (plugin)); - allow_customization = xfce_allow_panel_customization (); + if (G_UNLIKELY (xfce_allow_panel_customization () == FALSE)) + return; xfce_textdomain (GETTEXT_PACKAGE, LOCALEDIR, "UTF-8"); @@ -814,8 +814,6 @@ plugin); /* move */ - if (allow_customization) - { mi = gtk_image_menu_item_new_with_label (_("Move")); gtk_widget_show (mi); gtk_menu_shell_append (GTK_MENU_SHELL (menu), mi); @@ -876,12 +874,6 @@ g_signal_connect_swapped (mi, "activate", G_CALLBACK (xfce_panel_plugin_customize_panel), plugin); - } - else - { - /* insert custom items after about */ - insert_position = 4; - } g_object_set_data (G_OBJECT (plugin), "xfce-panel-plugin-insert-position", GINT_TO_POINTER (insert_position)); Index: NEWS =================================================================== --- NEWS (revision 25107) +++ NEWS (working copy) @@ -1,6 +1,10 @@ NEWS for xfce4-panel ==================== +4.4.1 +===== +- Completely hide the right-click menu when kiosk mode is enabled (Bug #2984). + 4.4.0 ===== - Many fixes when using the panel in a multiscreen setup (Jasper, Nick)