scripts/update-bookmarks
author insilmaril
Tue, 18 Aug 2009 12:39:07 +0000
changeset 788 78ba80b54bc4
parent 781 6cbf3c9cbd21
permissions -rwxr-xr-x
Fix for segfault when deleting MCO (invalid QModelIndex needs to be returned in index(TreeItem*) )
     1 #!/bin/bash
     2 
     3 # Look for running konquerors and notify them of changed bookmarks file
     4 dcop | grep konqueror- |  xargs -iKONQUI dcop KONQUI KBookmarkManager-$HOME/.kde/share/apps/konqueror/bookmarks.xml notifyCompleteChange "dcop"
     5 
     6 
     7 # And now the same using QDBUS in KDE 4:
     8 
     9 qdbus| grep konqueror- |  xargs -iOBJECT qdbus OBJECT /KBookmarkManager/konqueror org.kde.KIO.KBookmarkManager.notifyCompleteChange