You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tde-packaging/opensuse/tdebase/hide-only-showin-entries.diff

15 lines
541 B

Index: konqueror/konq_mainwindow.cc
===================================================================
--- konqueror/konq_mainwindow.cc.orig
+++ konqueror/konq_mainwindow.cc
@@ -4926,6 +4926,9 @@ void KonqMainWindow::updateOpenWithActio
KTrader::OfferList::ConstIterator end = services.end();
for (; it != end; ++it )
{
+ if ( (*it)->noDisplay() )
+ continue;
+
KAction *action = new KAction( i18n( "Open with %1" ).arg( (*it)->name() ), 0, 0, (*it)->desktopEntryName().latin1() );
action->setIcon( (*it)->icon() );