From 571f8a7c5c2788f4f7f5e8c2c9d52a0a2e2e7e5c Mon Sep 17 00:00:00 2001 From: monsta Date: Fri, 21 Feb 2020 16:13:12 +0300 Subject: Revert "Enable applications in addto menu (fixes 1055) (#1056)" this is not needed for 1.22 and breaks the build This reverts commit 8aa77585103ced8ce09bb2542fa80440579e1d98. --- mate-panel/panel-addto.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/mate-panel/panel-addto.c b/mate-panel/panel-addto.c index 0319e051..dfebba26 100644 --- a/mate-panel/panel-addto.c +++ b/mate-panel/panel-addto.c @@ -528,7 +528,6 @@ panel_addto_prepend_directory (GSList **parent_list, data->item_info.icon = gicon ? g_icon_to_string(gicon) : g_strdup(PANEL_ICON_UNKNOWN); data->item_info.menu_filename = g_strdup (filename); data->item_info.menu_path = matemenu_tree_directory_make_path (directory, NULL); - data->item_info.enabled = TRUE; data->item_info.static_data = FALSE; /* We should set the iid here to something and do @@ -563,7 +562,6 @@ panel_addto_prepend_entry (GSList **parent_list, data->item_info.description = g_strdup (g_app_info_get_description(G_APP_INFO(ginfo))); data->item_info.icon = gicon ? g_icon_to_string(gicon) : g_strdup(PANEL_ICON_UNKNOWN); data->item_info.launcher_path = g_strdup (matemenu_tree_entry_get_desktop_file_path (entry)); - data->item_info.enabled = TRUE; data->item_info.static_data = FALSE; *parent_list = g_slist_prepend (*parent_list, data); -- cgit v1.2.1