scripts/update-bookmarks
branchrelease-1-12-maintained
changeset 62 85683324f94a
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/scripts/update-bookmarks	Thu Mar 19 11:48:33 2009 +0000
     1.3 @@ -0,0 +1,9 @@
     1.4 +#!/bin/bash
     1.5 +
     1.6 +# Look for running konquerors and notify them of changed bookmarks file
     1.7 +dcop | grep konqueror- |  xargs -iKONQUI dcop KONQUI KBookmarkManager-$HOME/.kde/share/apps/konqueror/bookmarks.xml notifyCompleteChange "dcop"
     1.8 +
     1.9 +
    1.10 +# And now the same using QDBUS in KDE 4:
    1.11 +
    1.12 +qdbus| grep konqueror- |  xargs -iOBJECT qdbus OBJECT /KBookmarkManager/konqueror org.kde.KIO.KBookmarkManager.notifyCompleteChange