summaryrefslogtreecommitdiffstats
path: root/opensuse/tdebase/hide-only-showin-entries.diff
diff options
context:
space:
mode:
Diffstat (limited to 'opensuse/tdebase/hide-only-showin-entries.diff')
-rw-r--r--opensuse/tdebase/hide-only-showin-entries.diff14
1 files changed, 14 insertions, 0 deletions
diff --git a/opensuse/tdebase/hide-only-showin-entries.diff b/opensuse/tdebase/hide-only-showin-entries.diff
new file mode 100644
index 000000000..f403d38c5
--- /dev/null
+++ b/opensuse/tdebase/hide-only-showin-entries.diff
@@ -0,0 +1,14 @@
+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() );
+