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