Commit 965c9594 authored by Andre Miranda's avatar Andre Miranda

Remove "Properties..." entry from desktop context menu (#59)

Still keeping it for icons though.
parent d6e97bcb
Pipeline #1207 passed with stages
in 1 minute and 51 seconds
......@@ -1877,7 +1877,8 @@ xfdesktop_file_icon_manager_populate_context_menu(XfceDesktop *desktop,
gtk_menu_shell_append(GTK_MENU_SHELL(menu), mi);
}
/* Properties - applies to desktop window or an icon on the desktop */
/* Properties - applies only to icons on the desktop */
if(file_icon != fmanager->priv->desktop_icon) {
img = gtk_image_new_from_icon_name("document-properties", GTK_ICON_SIZE_MENU);
mi = xfdesktop_menu_create_menu_item_with_mnemonic(_("P_roperties..."), img);
gtk_widget_show(mi);
......@@ -1892,6 +1893,7 @@ xfdesktop_file_icon_manager_populate_context_menu(XfceDesktop *desktop,
fmanager);
}
}
}
/* don't free |selected|. the menu deactivated handler does that */
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment