summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Wold <[email protected]>2020-02-19 16:59:18 -0500
committerGitHub <[email protected]>2020-02-19 21:59:18 +0000
commit6c0cf0dab7ff811c5e60c31fdbca3986a986baad (patch)
treeb4792a25ea96467f355dfca79e3dbf5592798956
parentd8da4cf285fd43e24793e7a58876020ac7dbe12f (diff)
downloadmate-panel-6c0cf0dab7ff811c5e60c31fdbca3986a986baad.tar.bz2
mate-panel-6c0cf0dab7ff811c5e60c31fdbca3986a986baad.tar.xz
Enable applications in addto menu (fixes 1055) (#1056)
-rw-r--r--mate-panel/panel-addto.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mate-panel/panel-addto.c b/mate-panel/panel-addto.c
index fbf5c52f..cfc9c715 100644
--- a/mate-panel/panel-addto.c
+++ b/mate-panel/panel-addto.c
@@ -564,6 +564,7 @@ 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
@@ -598,6 +599,7 @@ 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);