message: Make the new "set as wallpaper" menu option enabled/disabled instead of visible/invisible
diff: @@ -558,11 +558,13 @@ void DirWidget::UpdateContextMenu(){
  //contextMenu->addAction(LXDG::findIcon("system-run-with",""), tr("Open With..."), this, SLOT(runWithFiles()) );
  contextMenu->addMenu(cOpenWithMenu);
  bool ok = (QString(getenv("XDG_CURRENT_DESKTOP"))=="Lumina");
  + if(ok){
  static QStringList imageformats = LUtils::imageExtensions();
  for(int i=0; i<sel.length() && ok; i++){
  ok = imageformats.contains(sel[i].section(".",-1));
  }
  - if(ok){ contextMenu->addAction(LXDG::findIcon("preferences-desktop-wallpaper","preferences-desktop"), tr("Set as Wallpaper"), this, SLOT(setAsWallpaper()) ); }
  + contextMenu->addAction(LXDG::findIcon("preferences-desktop-wallpaper","preferences-desktop"), tr("Set as Wallpaper"), this, SLOT(setAsWallpaper()) )->setEnabled(ok);
  + }
  }
  contextMenu->addSection(LXDG::findIcon("unknown",""), tr("File Operations"));
  // contextMenu->addMenu(cFModMenu);
  