summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonsta <[email protected]>2020-02-21 16:13:12 +0300
committermonsta <[email protected]>2020-02-21 16:13:12 +0300
commit571f8a7c5c2788f4f7f5e8c2c9d52a0a2e2e7e5c (patch)
treebcda9d9cccc4ef5a35d80ca5a578e8f4acf3ac86
parent8aa77585103ced8ce09bb2542fa80440579e1d98 (diff)
downloadmate-panel-571f8a7c5c2788f4f7f5e8c2c9d52a0a2e2e7e5c.tar.bz2
mate-panel-571f8a7c5c2788f4f7f5e8c2c9d52a0a2e2e7e5c.tar.xz
Revert "Enable applications in addto menu (fixes 1055) (#1056)"
this is not needed for 1.22 and breaks the build This reverts commit 8aa77585103ced8ce09bb2542fa80440579e1d98.
-rw-r--r--mate-panel/panel-addto.c2
1 files changed, 0 insertions, 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);